VLAN on bonded NICs with "fail_over_mac=active" not working after a failover

This document (7011417) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 10 Service Pack 4
SUSE Linux Enterprise Server 11 Service Pack 1
SUSE Linux Enterprise Server 11 Service Pack 2


Situation

A VLAN configured on top of a bond interface in an active-backup mode with the option "fail_over_mac=active" does not receive the new MAC address of the active interface after the failover operation.

Option "fail_over_mac=active" is set in the parameter BONDING_OPTS in the file /etc/sysconfig/network-scripts/ifcfg-bond0.

It indicates that the MAC address of the bond should be the same as the MAC of the currently active slave. During a failover the bond receives the new MAC address of a currently active slave interface. The MAC address of the slave is not changed. VLAN keeps the old MAC address so that it is not accessible through a new active slave.

Resolution

SUSE Linux Enterprise Server 11 SP1
SUSE Linux Enterprise Server 11 SP2

It is recommended to use "fail_over_mac=active" option only for the devices that cannot change their MAC address.

For the Ethernet devices the option "fail_over_mac=follow" should be used. At failover time the MAC address of the bond is assigned to the new active slave and its old address is assigned to the formerly active slave. VLAN configured on top of the bond retains the same address.

Using "fail_over_mac=active" on Ethernet devices has other drawbacks, e.g. if gratuitous ARP is lost or incorrectly processed after a failover, bond is not accessible until it sends a packet.


SUSE Linux Enterprise Server 10 SP4


There is no option "fail_over_mac=follow" in SLES10 SP4. The issue is resolved in the kernel 2.6.16.60-0.93, which can be installed from the update channels.

Additional Information


Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7011417
  • Creation Date: 23-Nov-2012
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center