up vote 0 down vote favorite
share [g+] share [fb]

For the life of me I can't get this working in a static configuration... the following works but it's a bit ropey... I'd like it to be static.

I want to have 3 bridges for my VMs as follows:

  • br1 - ldap db xmmp VMs - 10.0.1.6
  • br2 - fileserver VM - 10.0.1.7 br3
  • br3 - intranet svn/git VMs - 10.0.1.8

auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
    address 10.0.1.5
    netmask 255.255.255.0
    network 10.0.1.0
    broadcast 10.0.1.255
    gateway 10.0.1.1
    dns-nameservers 10.0.1.2
    dns-search mydomain.net

auto eth1
iface eth1 inet manual

auto br1
iface br1 inet dhcp
        bridge_ports eth1
        bridge_stp off
        bridge_fd 0
    bridge_maxwait 0
    metric 1

auto eth2
iface eth2 inet manual

auto br2
iface br2 inet dhcp
        bridge_ports eth2
        bridge_stp off
        bridge_fd 0
    bridge_maxwait 0
    metric 1

auto eth3
iface eth3 inet manual

auto br3
iface br3 inet dhcp
        bridge_ports eth3
        bridge_stp off
        bridge_fd 0
    bridge_maxwait 0
    metric 1
link|improve this question
Do you get errors when you try to bring up an interface? Can you post those? – Zoredache Aug 10 '10 at 23:10
Yea, the bridge configurations seem to look okay. What is your problem specifically? – sybreon Aug 11 '10 at 1:29
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown