Bond Configuration

kirelgt

Member
Nov 16, 2010
85
0
6
Hello everyone.

I have a problem with my network configuration and my switch, which is a HP 2900.

Here is the bond configuration.

auto bond0
iface bond0 inet manual
slaves eth0 eth1
bond_miimon 100
bond_mode active-backup

auto vmbr0
iface vmbr0 inet static
address 10.10.10.40
netmask 255.255.255.0
gateway 10.10.10.1
bridge_ports bond0
bridge_stp off
bridge_fd 0



My problem is that the switch is reporting eth0 as up and down, then reports eth1 as up, then as down. If the bond is configure to be active-backup, this means that the NICs are going ON and OFF. I have an idea that the "bond_miimon 100" is causing this problem.

Please Help.
 
Hi, this works fine for me.
only difference

auto bond0
iface bond0 inet manual
slaves eth0 eth1
bond_miimon 100
bond_mode active-backup
pre-up ifup eth0 eth1
post-down ifdown eth0 eth1

(to be sure to bring up eth0 and eth1 before doing the bond)
 

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!