LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Bridging over a bonded interface on ubuntu server 10.04 (lucid) (http://www.linuxquestions.org/questions/linux-networking-3/bridging-over-a-bonded-interface-on-ubuntu-server-10-04-lucid-814365/)

chienpo 06-15-2010 06:22 PM

Bridging over a bonded interface on ubuntu server 10.04 (lucid)
 
Hi everyone.

I've got a machine with four physical interfaces (eth0-eth3) running ubuntu server 10.04 (lucid lynx). I've already managed to bond the four interfaces together (using the ifenslave package) so that I have one logical bonded interface: bond0.

Now I'd like to set up bridging on the machine for my bond0 interface. My purpose in doing so is to make it so I can host several virtual guests (using KVM) that can all appear as "first class" citizens on the same LAN that my server is physically connected to. However, this is where I'm stumped. I can easily do bridging or bonding, I just can't seem to do both.

This is where I am:
Code:

eth0 --\
eth1 ---\
        +-- bond0 (main interface)
eth2 ---/
eth3 --/

There is where I want to be:
Code:

eth0 --\
eth1 ---\
        +-- bond0 --> br0 (main interface)
eth2 ---/
eth3 --/

Does anyone have this working on a new version of ubuntu (or debian)? I've now taken many passes to no avail and wonder if it is even being done successfully by anyone. If anyone has a working configuration they'd be willing to share, please do so :).


All times are GMT -5. The time now is 07:15 PM.