Enabling hotplug support for bonded network cards
This document (7008625) is provided subject to the disclaimer at the end of this document.
The reasons for this are :
- By default the YaST network module creates Udev rules and
configuration files for network cards based on their MAC address.
When the physical network card for e.g. eth2 gets replaced, the
replaced card has a new MAC address. This then leads to creation of
a new interface (e.g. eth3).
Since the configuration file of the bond points to the interface name of each slave, the system does not know about this name switch and thus the replaced card does not get enslaved by the ifup script.
- The sysconfig scripts in SUSE Linux Enterprise Server (SLES) 11 Service Pack (SP) 1 do not contain code for the ifup script to detect which bond a network interface belongs to when performing a hotplug operation.
- Ensure the (updated) sysconfig package version 0.71.30-0.11.1 (or newer) is installed on the system.
- In the YaST Network Settings module (yast2 lan) switch from MAC-based to Bus ID based Udev rules for each bonded network card like this :
- Edit the selected network card
- By default YaST sets the card to use DHCP. Make sure it is set to "No IP Address (for bonding devices)".
- Select Hardware and Change to edit the Udev rules
- Change Rule by from MAC address to BusID
- Save the changes and exit the YaST module.
- Document ID:7008625
- Creation Date: 23-May-2011
- Modified Date:03-Mar-2020
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: firstname.lastname@example.org