Unable to change MAC address of the interface in VM presented via SRIOV passthrough

Solution Verified - Updated -

Issue

  • A VM guest has been installed, in which interfaces are actually the VFs (Virtual Function) presented via SRIOV passthrough method in it.

  • Command to change MAC address of such a interface using igbvf driver fails with below error:

# ifconfig eth1 hw ether 00:00:5E:00:01:xx
SIOCSIFHWADDR: Cannot assign requested address

# ip link set dev ens11 address 00:00:5E:00:01:xx
RTNETLINK answers: Cannot assign requested address
  • For a interface using ixgbevf driver, the command works but communication fails.

Environment

  • Red Hat Enterprise Linux 7..x
  • igbvf driver
  • Intel Corporation I350 Gigabit Network Connection (rev 01)
  • Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.