[Bridge] bridge and ip aliasing on Debian

Aleksey Serba lucky at rbcmail.ru
Tue Aug 17 07:28:00 PDT 2004


   Hello,

   I can't figure out how to set up several IP addresses on bridge
   interface in Debian way.

   Server - Debian GNU/Linux 2.6.7-1-k7
   Interfaces - br0 ( eth0, eth1 )

------------- /etc/network/interfaces.conf ---------------
auto br0
iface br0 inet static
    address X.X.X.X
    netmask X.X.X.X
    network X.X.X.X
    broadcast X.X.X.X
    gateway X.X.X.X
    bridge_ports eth0 eth1
----------------------------------------------------------
   It works fine.
   I need to add unroutable ip address on bridge interface.
   I doubt, adding new bridge interface - this is the right way to do it.
----------------------------------------------------------
auto br1
iface br1 inet static
    address 192.168.0.1
    netmask 255.255.255.0
    network 192.168.0.0
    broadcast 192.168.0.255
    bridge_ports eth0 eth1
----------------------------------------------------------

   Any ideas? Any help will be greatly appreciated.
   Please CC all replies, i'm not subscribed.

          Aleksey




More information about the Bridge mailing list