New answers tagged lacp
You'll need to disable spoof checking on your SR-IOV switches. When you bond the interfaces in the guests, the bond changes the interface MAC. An SR-IOV switch usually drops any frames which are not from its own PF or VFs. This is called spoof check. Other than that, this should work fine.
Like fukawi2 said, the bond is fine, the IP addressing is the problem. Do you really have 10.0.0.0/16 configured on your LAN? Is it possibly 10.0.0.0/24 instead? Or some other IP range? Don't use ifconfig and route, they are obsolete. Instead use ip address and ip route.
With your switch being configured to balance based on layers 3+4 (IP and port), you'd likely see a separate interface used for each data stream. Say you've got several connections from a single endpoint using a range of tcp ports. The switch will almost always choose a separate interface for each tcp session. I've only seen it happen once in several hundred ...
Don't test bonding link failure with commands, pull the cable. If you read ifdown, it actually unenslaves an interface from a bond before setting it down. This does nothing to test bonding failover under the conditions you want to survive a failover, this just tests the bonding driver's ability to have its active slave changed. You're lucky enough that ...
Top 50 recent answers are included