My Favorites

Close

Please to see your favorites.


Bonding on SLES11SP2 Hyper-V guest fails after update to kernel 3.0.38-0.5 or later

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

Environment

SUSE Linux Enterprise Server 11 Service Pack 2

Situation

A bond configuration based on devices supported by the hv_netvsc kernel driver fails to start after updating a SLES11SP2 virtual machine, running on a Microsoft Server 2008 Hyper-V, to kernel 3.0.38-0.5 or later. The following messages can be seen in /var/log/boot.msg:

Setting up (localfs) network interfaces:
    lo      
    lo        IP address: 127.0.0.1/8 
              IP address: 127.0.0.2/8 
done    eth0      name: Virtual Ethernet Card 0
    eth0      Starting DHCP4 client. .
    eth0      IP address: 192.168.1.12/24
done    eth1      name: Virtual Ethernet Card 1
done    eth2      name: Virtual Ethernet Card 2
unused    bond0   
Could not enslave interface 'eth1'
Could not enslave interface 'eth2'
Removing bonding interface 'bond0'
    bond0   
done
Setting up service (localfs) network  .  .  .  .  .  .  .  .  .  .done

Resolution

Enable MAC spoofing in the settings of the virtual machine. To do so:
  1. Start the Hyper-V Manager
  2. Shutdown the virtual machine
  3. Open the  settings for the virtual machine
  4. Activate "enable spoofing of MAC addresses" for each involved network interface supported by the hv_netvsc driver

The legacy network controller is supported by the kernel tulip module and is not affected by this change. 

Cause

Due to a change in the driver starting with 3.0.38 the hv_netvsc driver does not only update the MAC address of the slave devices in the guest but also reports the change to the virtualization host. Because "enable spoofing of MAC addresses" is not activated, the request fails and the bond cannot be set up.

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/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:7011418
  • Creation Date:23-NOV-12
  • Modified Date:09-JUL-13
    • SUSESUSE Linux Enterprise Server

Did this document solve your problem? Provide Feedback