[SOLVED] 4 Nic Bond Doesn't Work

fcukinyahoo

New Member
Nov 29, 2012
27
0
1
Hi All,

I have been trying to configure bond0 with 4 nics but I had no luck so far. Below is the /etc/network/interface file

auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
iface eth2 inet manual
iface eth3 inet manual

auto bond0
iface bond0 inet manual
slaves eth0 eth1 eth2 eth3
bond_miimon 100
bond_mode 802.3ad

auto vmbr0
iface vmbr0 inet static
address 10.20.1.62
netmask 255.255.255.0
gateway 10.20.1.250
bridge_ports bond0
bridge_stp off
bridge_fd 0


What could be the issue here?

Below what has worked for me 3nic bond and 1nic bridged.

auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
iface eth2 inet manual
iface eth3 inet manual

auto bond0
iface bond0 inet static
address 10.20.1.60
netmask 255.255.255.0
slaves eth1 eth2 eth3
bond_miimon 100
bond_mode 802.3ad

auto vmbr0
iface vmbr0 inet static
address 10.20.1.62
netmask 255.255.255.0
gateway 10.20.1.250
bridge_ports eth0
bridge_stp off
bridge_fd 0

auto vmbr1
iface vmbr1 inet static
address 10.20.1.63
netmask 255.255.255.0
bridge_ports bond0
bridge_stp off
bridge_fd 0


root@prod:~# pveversion -v
proxmox-ve: 4.3-66 (running kernel: 4.4.19-1-pve)
pve-manager: 4.3-1 (running version: 4.3-1/e7cdc165)
pve-kernel-4.4.19-1-pve: 4.4.19-66
lvm2: 2.02.116-pve3
corosync-pve: 2.4.0-1
libqb0: 1.0-1
pve-cluster: 4.0-46
qemu-server: 4.0-88
pve-firmware: 1.1-9
libpve-common-perl: 4.0-73
libpve-access-control: 4.0-19
libpve-storage-perl: 4.0-61
pve-libspice-server1: 0.12.8-1
vncterm: 1.2-1
pve-qemu-kvm: 2.6.1-6
pve-container: 1.0-75
pve-firewall: 2.0-29
pve-ha-manager: 1.0-35
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u2
lxc-pve: 2.0.4-1
lxcfs: 2.0.3-pve1
criu: 1.6.0-1
novnc-pve: 0.5-8
zfsutils: 0.6.5.7-pve10~bpo80

Thanks in advance
 
What is exactly not working?

When you bring up the 4 nic bond what does : cat /proc/net/bonding/bond0 show?

As your using 802.3ad are all 4 ports in the correct LACP on the switch?
 
Thanks for the reply Ashley,

It was indeed the switch which was not tagged for all the vlans. Once they were tagged and vlans were defined in the interfaces file, it all worked well with vmbr from those vlans.

Best,
 

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!