LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   multiple ip address for single eth interface (https://www.linuxquestions.org/questions/linux-networking-3/multiple-ip-address-for-single-eth-interface-149715/)

blackhound 02-23-2004 06:16 PM

multiple ip address for single eth interface
 
hellow
can anyoe help me about assigning multiple ip address for single ethernet interface?

slacky 02-23-2004 07:05 PM

You can just use ifconfig and append a colon and a number (eth0:0) or nickname (eth0:test) to the device name, for example:

[root@dhcppc0 root]# ifconfig eth0:test 192.168.0.175 broadcast 192.168.0.255 netmask 255.255.255.0 up

I'm not sure of the distro-specific ways to permanently save this, though.

blackhound 02-25-2004 06:02 AM

thanx slacky .tahnx a lot


All times are GMT -5. The time now is 05:26 AM.