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
MAC
address of such a interface usingigbvf
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
driverIntel 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, tools, and much more.