[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: eth0 Aliases On Boot
Ok - great. Thanks a lot.
- Jay
Bruce Smith wrote:
>
> > How does one typically start IP Aliasing on boot? I've got
> > 2 IP's configured on my interface, the second being an
> > alias for eth0:0. On reboot I lose the second one.
> >
> > Something in /etc/sysconfig/network?
>
> I put my alias at the end of /etc/rc.d/rc.local like:
>
> ifconfig eth0:0 192.168.2.21
> route add -net 192.168.2.0 netmask 255.255.255.0 dev eth0:0
>
> --------------------------------------------
> Bruce Smith bruce@armintl.com
> System Administrator / Network Administrator
> Armstrong International, Inc.
> Three Rivers, Michigan 49093 USA
> http://www.armstrong-intl.com/
> --------------------------------------------