On Tue, May 11, 2010 at 2:29 PM, Wilson, Eric <[email protected]> wrote: > I misspoke. There are 6 modes. From the bonding.txt documentation, > there are 6 modes: > > -balance-rr > -active-backup > -balance-xor > -broadcast > -802.3ad (aggregation) > -balance-tlb > -balance-alb > > The behavior is dependent upon the switch configuration; for example > you are doing aggregation to a single switch, or high redundancy > across two physical switches.
Ah, that's what you meant. Actually, there are seven, modes 0-6. Docs in Ubuntu here: sudo apt-get install linux-doc less -iX +/^mode /usr/share/doc/linux-doc/networking/bonding.txt.gz And if you want to play with bonding you'll want ifenslave, too: sudo apt-get install ifenslave-2.6 > In a virtual environment, to mirror a prod env, you would likely need > to also have additional virtual switches. Otherwise the virtual NICs > would not behave the same way as the physical. > > Make sense? Yes, and most hypervisors can create several virtual switches which allows you to connect one VM to another VM within the same hypervisor. In VirtualBox virtual switches are known as Internal Networks. You create one by enabling a network adapter, choosing Internal Networks, and assigning it a name. You then repeat the process for any other VMs. I don't know if VirtualBox has a limit on the number of Internal Networks. Also, it would require that the virtual switches not get confused with some of the bonding scenarios. It's those unknowns which are why I asked if anyone has played with Ethernet bonding in a virtual environment. Regards, - Robert -- Central West End Linux Users Group (via Google Groups) Main page: http://www.cwelug.org To post: [email protected] To subscribe: [email protected] To unsubscribe: [email protected] More options: http://groups.google.com/group/cwelug
