IP aliasing ?
Hi ,
I guess u want one network interface to have multiple address ?
if so then this how u do it :
u should use the comman ipconfig to do it ... as mentioned below:
ipconfig eth0:1 192.168.1.2
Here eth0 is ur first network interface and iam creating second alias i.e; eth0:1 with the necessary IP address.
Also if ur using RedHat there is alternate method .... u can copy the file /etc/sysconfig/network-scripts/ifcfg-eth0 into the same directory with the name ifcfg-eth0:1 and make edit it to give it another ipaddress ....... however u will need to restart the network in both the cases .
Hope this works.
Regards
Xanthium.
|