Unable to change MAC address of the interface in VM presented via SRIOV passthrough
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
MACaddress of such a interface usingigbvfdriver 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
ixgbevfdriver, the command works but communication fails.
Environment
- Red Hat Enterprise Linux 7..x
igbvfdriverIntel 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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
