Bonding on two different link speeds

Raymond Burns

Member
Apr 2, 2013
333
1
18
Houston, Texas, United States
I am about to deploy a new cluster using 10gb Intel NIC.
Is it possible to have a single 10gb NIC and a single 1gb NIC in active-backup bond?
I want to get full 10gb throughput on the active and fail-over to 1gb on failure of primary NIC.
I am NOT looking for a way to get 11gb/s.
I want a 10gb full duplex connection, unless it fails, at which point it will be a 1gb full duplex connection.
Is this possible?
 
Sure, got one working with linux bonding. With OVS bonding though, didn't find the way to force 10G port to be always primary.
Here's my interfaces setup:

# 1Gbit link
auto eth0
iface eth0 inet manual
bond-master bond0
bond-primary eth6
bond-mode active-backup

# 10Gbit link
auto eth6
iface eth6 inet manual
bond-master bond0
bond-primary eth6
bond-mode active-backup

auto bond0
iface bond0 inet manual
bond-slaves none
bond-primary eth6
bond-miimon 100
bond-mode active-backup
bond_downdelay 200
bond_updelay 200

auto vmbr0
iface vmbr0 inet static
address 192.168.80.62
netmask 255.255.255.0
gateway 192.168.80.1
bridge_ports bond0
bridge_stp off
bridge_fd 0
post-up ( echo 0 > /sys/class/net/$IFACE/bridge/multicast_snooping )
 

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!