[plug] ip alias on 2.4

Leon Brooks leon at brooks.fdns.net
Thu Jun 13 16:01:06 WST 2002


On Thu, 13 Jun 2002 15:07, Russell Steicke wrote:
> Can someone please point me to some authorative documentation on how to
> bind multiple ip addresses to one interface on a 2.4 kernel
> (specifically 2.4.18 in redhat 7.3).  I've googled and searched
> linuxdoc.org but only got a rather confusing mix of information on 2.2
> kernels and how 2.4 is going to be different.

temporary:
ifconfig eth0:0 172.17.2.172 up

permanent:
cd /etc/sysconfig/network-scripts
cat >ifcfg-eth0:0
DEVICE=eth0:0
BOOTPROTO=static
IPADDR=172.17.2.172
NETMASK=255.255.0.0
NETWORK=172.17.0,0
BROADCAST=172.17.255.255
ONBOOT=yes
^D
ifup eth0:0




More information about the plug mailing list