I'd like to be able to bond/aggregate 2 interfaces inside a Linux network namespace.
The configuration I'm working with is the following:
- On the root linux net stack I have two physical ethernet interfaces:
- eth0
- eth1
- And then I have a network namespace that has 2 interfaces:
- ethX0 that is bridged to physical eth0
- ethX1 that is bridged to physical eth1
I'd like to bond ethX0 and ethX1 inside the network namespace, either with 802.3ad or active-backup.
But bonding on Linux works at the physical interface level and I can't seem to make this work, although I don't see why (at the frame level) it couldn't be done ? I can create a net-ns over a bond, but not a bond over a net-ns.
I can't bond the eth0 and eth1 physical interfaces, because I want to be able to adress them separately for a myriad other applications, but I'd like only ethX0 and ethX1 to be bonded.
Any idea how to do this ?