Need for a bridge over a bond?

Marc Lacoursière

Active Member
Oct 19, 2018
1
0
41
49
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
 
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
 
I know its old topic, but I do have same problem.
Your solution kind of works, but how do I make VMs to use private IP pool then? When creating VM, I have to choose vmbr0 as network bridge, where is private IP pool then defined that VM can use?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, 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 yours easily in our online shop.

Buy now!