[Gllug] Multiple IPs on one interface in RedHat

Alain Williams addw at phcomp.co.uk
Fri Oct 4 08:52:43 UTC 2002


On Fri, Oct 04, 2002 at 09:30:58AM +0100, Tethys wrote:
> 
> >I've done "/sbin/ifconfig eth0:0 xx.yy.zz.tt" to create an interface
> >alias for the new IP address. This seems to work but how do I get it to
> >come up OK on reboot?
> >
> >I think I need to add:
> >/etc/sysconfig/network-scripts/ifcfg-eth0:0
> >with appropriate entries.
> 
> Correct. Make sure you have the line "ONBOOT=yes" in each ifcfg-eth*
> entry.

Something like:

# cd /etc/sysconfig/network-scripts/
# cat ifcfg-eth0:1
DEVICE=eth0:1
BOOTPROTO=static
BROADCAST=192.168.13.255
IPADDR=192.168.13.1
NETMASK=255.255.255.0
NETWORK=192.168.13.0
ONBOOT=yes


-- 
Alain Williams

#include <std_disclaimer.h>

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list