Need for a bridge over a bond?

Discussion in 'Proxmox VE: Networking and Firewall' started by Marc Lacoursière, Oct 19, 2018.

Tags:
  1. Marc Lacoursière

    Marc Lacoursière New Member

    Joined:
    Oct 19, 2018
    Messages:
    1
    Likes Received:
    0
    Hello,

    I've got a server with 4 network interfaces, bonded together with 802.3ad.

    To make that setup work, I had to remove the bridge, else every possible configuration I've tried failed. Now, my network configuration looks like this.

    network.png


    With this setup, I've reached the internet by updating all packages...

    Now, when I want to create a VM, I apparently need a bridge, which I don't have anymore.

    no-bridge.png


    Whatever config I have tried from that point has lead to either isolate the server from the network, or fail in other ways.

    I'd really like to know how to use that bond with my VMs so I can take advantage of the full bandwidth those 4 network interfaces can offer!


    Thank you very much!

    Marc
     
  2. CthulhuTastesLikeChicken

    Joined:
    Jul 17, 2017
    Messages:
    1
    Likes Received:
    0
    In the same location you added the bond, create a bridge. Use bond0 as your bridge port.
     
  3. ekin06

    ekin06 New Member

    Joined:
    Jul 15, 2014
    Messages:
    19
    Likes Received:
    1
    And do not assign IP to bond0.

    :~ ifdown bond0
    nano /etc/network/interfaces

    Code:
    auto lo
    iface lo inet loopback
    
    iface enp3s0f0 inet manual
    iface enp3s0f1 inet manual
    iface enp3s0f2 inet manual
    iface enp3s0f3 inet manual
    
    auto bond0
    iface bond0 inet manual
            slaves enp3s0f0 enp3s0f1 enp3s0f2 enp3s0f3
            bond_miimon 100
            bond_mode 802.3ad
            bond_downdelay 200
            bond_updelay 200
            bond_xmit_hash_policy layer2
            bond_lacp_rate fast
    #LACP Bond
    
    auto vmbr0
    iface vmbr0 inet static
            address 192.x.x.x/24
            gateway 192.x.x.x
            post-up echo 1 > /proc/sys/net/ipv4/ip_forward
            bridge_ports bond0
            bridge_stp off
            bridge_fd 0
    ifup vmbr0
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice