Need for a bridge over a bond?

Marc Lacoursière

New Member
Oct 19, 2018
1
0
1
45
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
 

ekin06

Member
Jul 15, 2014
19
1
23
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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!