Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Network bridge not working under Debian
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Network bridge not working under Debian

tmn29atmn29a Member
edited June 2012 in Help

Hello,
although I don't like to post off topic stuff on LET, I have to be one of the increasing people that post something irrelevant to LEB. But it has to do something with virtuallization, so I hope you forgive me.
I have a problem with a bridge on a remote server. I posted the question on serverfault, but the responses were meager to say the least. I hope some of you can help me.

http://serverfault.com/questions/396963/cant-ping-ip-over-bridge

Feel free to comment either here or on SF. Thanks a lot !

Comments

  • miTgiBmiTgiB Member

    Well, I was going to suggedt NEIGHBOUR_DEVS=all in your vz.conf file, but you are using vnet and looks like you solved it already

  • Flush FTW!

  • tmn29atmn29a Member

    @taipres said: Flush FTW!

    I assume you refer to iptables :

    iptables --list
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    

    But just to be sure I flushed again and still the same...

  • tmn29atmn29a Member

    @miTgiB said: Well, I was going to suggedt NEIGHBOUR_DEVS=all in your vz.conf file, but you are using vnet and looks like you solved it already

    I'm not sure what you mean, but a quick google makes me think you're talking about OpenVZ - I'm using KVM :)

  • @tmn29a said: I assume you refer to iptables

    was referring to

    "Found the answer! Linux ethernet bridge consults ebtables to decide which packets to forward and which to drop. Flushing ebtables solved my problem."

  • tmn29atmn29a Member

    @taipres said: was referring to

    "Found the answer! Linux ethernet bridge consults ebtables to decide which packets to forward and which to drop. Flushing ebtables solved my problem."

    Ok, huge personal fail - Copy/pasted the wrong link. Sorry -.-
    It's fixed now !

  • CoreyCorey Member

    On a side note I don't see how this is offtopic since it's about virtualization.

  • miTgiBmiTgiB Member

    @tmn29a said: I'm using KVM :)

    Here is a working config from my home KVM box, should be very similar to what you are trying to do

    
    $ sudo cat /etc/network/interfaces
    auto lo
    iface lo inet loopback
    
    ###Adapter bonding for eth0 and eth1 and eth2
    auto bond0
    iface bond0 inet manual
            bond-slaves none
            bond-mode 802.3ad
            bond-miimon 100
    
    auto eth0
    iface eth0 inet manual
            bond-master bond0
    
    auto eth3
    iface eth3 inet manual
            bond-master bond0
    
    auto eth4
    iface eth4 inet manual
            bond-master bond0
    
    auto br0
    iface br0 inet static
            address 192.168.2.2
            netmask 255.255.255.0
            gateway 192.168.2.1
            bridge-ports bond0
            bridge-fd 9
            bridge-hello 2
            bridge-maxage 12
            bridge-stp off
    
  • tmn29atmn29a Member

    @Corey said: On a side note I don't see how this is offtopic since it's about virtualization.

    Wasn't sure - for me LET is about LEB and I'm not a big fan of posting random stuff in this forum, but you have a point. Will remove the tag.

    @miTgiB

    It is very similar, but with the exception, that I want the bonding interface to have its own IP.

  • miTgiBmiTgiB Member

    @tmn29a said: I want the bonding interface to have its own IP.

    That is where you are probably having the problem, you know my config works, start there and get your system working, then move on from there with custom things you wish to do.

  • tmn29atmn29a Member
    edited June 2012

    As I wrote on SF the bond0 has to keep it's IP since a lot of scripts/services rely on it. But non the less thanks for posting your config :)

Sign In or Register to comment.