ip alias after reboot

Mike Burger mburger at bubbanfriends.org
Sat Oct 2 13:14:23 UTC 2004


On Fri, 1 Oct 2004, marvin wrote:

> Mike Burger writes:
> 
> > On Fri, 1 Oct 2004, marvin wrote:
> > 
> > > 
> > > Hello.
> > > 
> > > RedHat 3.0AS
> > > 
> > > I have added an alias to lo :-
> > > 
> > > ifconfig lo:0 127.53.01 netmask 255.255.255.0
> > > 
> > > It works fine, but how do I make sure it is still there and 'up' after a
> > > reboot ?
> > 
> > You have a couple of options.
> > 
> > The easiest, actually, so that you don't have to set subinterfaces, is to 
> > use the ip addr command:
> > 
> > ip addr add 172.53.0.1 dev eth0
> > 
> > Just put it into your /etc/rc.local file.
> 
> 
> dev eth0 ???

Dang it...I started out planning to type lo.  My bad.

Please use "ip addr add 172.53.0.1 dev lo".

Doh!!!
-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit 
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a 
message to:

site-update-request at bubbanfriends.org

with a message of: 

subscribe




More information about the redhat-list mailing list