- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ESXi 2NICs setting
Hi Support Team
Three ESXi hosts, each with two network cards connected to two Cisco switches.
The ESXi vswitch0 configured with:
load balancing: route based on IP Hash using
notity switch : yes
fallback: yes
active adapters: active/standby
However, two of the ESXi hosts are experiencing MAC flapping on the Cisco switches(standby NICs), where the MAC address of the active NIC is detected. The ESXi host with vCenter installed does not experience MAC flapping.
question2:
When the active NIC breaks down and recovers, the ESXi's network is disconnected for 30 seconds. Is this issue due to the configuration problem on the ESXi or the Cisco switches?"
How can this situation be explained and resolved?"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
it is the expected behavior. if your adapters are on active/standby mode. cisco switches will only detect MAC of active adapters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Is MAC flapping on Cisco switches considered expected behavior?
How can it be avoided?
Should it be modified to active/active with ip hash or active/standby with port id ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
depends on what you want basically and what type of load balancing you are trying to design. if you want to use both nic then set to active/active. then cisco switches will discover both MAC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@olaq Are you using Etherchannel on Cisco Switches ? IP Hash load balancing policy should be used only when Physical switches are configured in Etherchannel.
Deafult load balancing policy is Route based on Originating Virtual Port ID.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm really puzzled because out of three ESXi hosts with the same configuration, one host doesn't experience MAC flapping regardless of being set to active/active or active/standby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
@DeviVmwarehe's right, without "some form" of LAG configured on the physical switches using "IP hash" as a load balancing method, in practical terms, is of no use, certainly not with an active/standby policy. and @Bivas he's right as well given the case as presented.
Regards,
Ferdinando
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@olaq i would recommend you to modify the load balancing policy. also, check your switch security policies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @DeviVmware
I will follow your recommend
Thank you