Specifications

VMware, Inc. 323
Chapter 11 Networking
To set the load balancing mode for bond1 to IP address load balancing
1Log!into!the!Service!Console!as!root.
2Edit!/etc/vmware/hwconfig.
3Define!the!load!balancing!mode!for!bond1:
nicteam.bond1.load_balance_mode = “out-ip”
If!you!previously!defined!the!option!for!this!switch,!change!the!current!mode!value!
to!out-ip.
4 Save!the!file!and!close!it.
Configuring the Bond Failure Mode
You!can!select!one!physical!adapter!to!be!the!primary!network!connection!for!a!virtual!
switch.!In!this!configuration,!ESX!Server!routes!all!traffic!through!the!primary!adapter!
and!reserves!the!other!adapters!in!case!of!connection!failure.!This!type!of!redundant!
connection!switch!is!defined!as!using!a!“failover!configuration.
To select a primary adapter by setting the home_link option for a virtual switch
1Log!into!the!Service!Console!as!root.
2Edit!/etc/vmware/hwconfig.
3Define!the!primary!adapter.!
For!example,!to!choose!vmnic2!for!bond1:
nicteam.bond1.home_link = “vmnic2”
If!you!previously!defined!the!option!for!this!switch,!change!the!current!mode!value!
to!vmnic2.
4 Save!the!file!and!close!it.
ESX!Server!monitors!the!primary!link!for!physical!connection!failures.!When!the!
primary!adapter!loses!contact,!ESX!Server!transfers!the!network!traffic!to!one!of!the!
secondary!adapters!while!
continuing!to!monitor!the!primary!adapter.!When!ESX!Server!
detects!that!the!physical!connection!of!the!primary!link!has!been!restored,!it!transfers!
the!connection!for!the!virtual!switch!back!to!the!primary.
N
OTE Designating!a!primary!link!for!a!virtual!switch!overrides!the!load!balancing!mode.!If!
you!set!the!home_link!option,!ESX!Server!ignores!the!value!of!load_balance_mode.