ALParada wrote:
Hello,

Exactly how do you add mutiple ip addresses to the same interface? I tried
adding this under network config/interfaces:

# Configure Interface
auto eth1
iface eth1 inet static
      address 192.168.1.155
      netmask 255.255.255.0
      broadcast 192.168.1.0
      gateway 192.168.1.1

auto eth1:0
iface eth1 inet static
      address 192.168.2.155
      netmask 255.255.255.0
      broadcast 192.168.2.0

When I restarted networking I had lost all my addresses. I did an "ip addr"
and they were all gone. I commented the second address and did a:

ip addr add 192.168.2.155/24 brd 192.168.1.255 dev eth0 label eth0:0

and it worked. Since I don't want to do this everytime I reboot what am I
doing wrong and how do I fix it?


Look at http://shorewall.net/myfiles.htm#debian_interfaces -- Hopefully something will occur to you...


-Tom
--
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [EMAIL PROTECTED]
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key


------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt ------------------------------------------------------------------------ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to