Ethernet alias down at boot

Laurent Dinclaux laurent at gecka.com
Thu Apr 23 22:15:54 UTC 2009


Hello,

I use jaunty server. Here is my /etc/network/interface

# The loopback network interface
auto lo
iface lo inet loopback

/etc/network/interface

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
 address 202.x.x.26
 netmask 255.255.255.0
 network 202.x.x.0
 broadcast 202.x.x.255
 gateway 202.x.x.254
 # dns-* options are implemented by the resolvconf package, if installed
 dns-nameservers 202.x.x.28
 dns-search com

auto eth0:0
iface eth0:0 inet static
 name ns2.geckahost.com
 address 202.x.x.25
 netmask 255.255.255.0
 network 202.x.x.0
        broadcast 202.x.x.255
        gateway 202.x.x.254

After each boot I need to do "ifup eth0:0".
How can I have it automaticly up after reboot?

Regards

-- 
Laurent Dinclaux
Gérant - Gecka SARL
laurent at gecka.nc
Tel: +687 78 77 24
http://www.gecka.com

Préservez nos forêts, n’imprimez vos mails que si nécessaire.
Preserve our forests, only print your emails if necessary.




More information about the ubuntu-server mailing list