Using Single Ethernet Device How To Configure Multiple Virtual IP


How to configure Additional IP Address In Linux
In the LInux operating system using one Ethernet device we can create the multiple virtual ip
like that eth0:1,eth0:2,eth0:3,eth0:4
1)copy the file from
/etc/sysconfig/network-scripts/ifcfg-eth0 to ifcfg-eth0:1
2)change the Device name from
Device=eth0 to Device=eth0:1
3)/etc/sysconfig/network-scripts/ifcfg-eth0:1modify IPADDR
4)start the secondary interfaceifup eth0:1

No comments:
Write comments