Bringing up additional eth0:n interfaces at boot

John Smith netman1 at home.nl
Sun Jan 16 06:43:23 UTC 2005


On Sun, 16 Jan 2005 00:53:46 -0500
Brian Puccio <brian at brianpuccio.net> wrote:

> I currently have (in addition to lo and eth0) in
> the /etc/network/interfaces files an eth0:0 entry.  However it does not
> come up automatically on boot.  I can ssh in (through the first IP
> address I have, which is eth0) and "sudo ifup eth0:0" it and it comes up
> fine.  Any word on the "proper" way to get the interface up
> automatically on boot (I assume the same way eth0 is set to come up at
> boot)?
> 
> Thanks!
> 

Hi Brian,

	you can do it the same way as with primary addresses by adding
an 'auto <interface>' statement in your /etc/network/interfaces.
Here an example:

auto lo eth1 eth0 eth0:1 eth0:2

# bind server (ns1....)

iface eth0:1 inet static
   address 10.15.8.127
   netmask 25........

Sincerely,

Jan.




More information about the ubuntu-users mailing list