Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Servers Support => Topic started by: mfaisalkh on June 24, 2004, 08:23:19 AM

Title: 1 NIC, 2 IPs
Post by: mfaisalkh on June 24, 2004, 08:23:19 AM
Dear Frendz,

How can i assgned 2 ip addresses on one NIC.
Title: 1 NIC, 2 IPs
Post by: Kallol on June 27, 2004, 11:44:36 AM
just use the following commands
#ifconfig <interface>:n <ip-address|name> up

#ifconfig eth0 192.168.1.1 up
#ifconfig eth0:1 192.168.1.2 up
#ifconfig eth0:2 192.168.1.3 up