How do I assign fixed MAC addresses to KVM guests when using SR-IOV capable NICs?

Solution Unverified - Updated -

Issue

When assigning SR-IOV (Single Root I/O Virtualization) network device Virtual Functions (VFs) to a guest it's possible that, after rebooting the system, the card allocates different MAC addresses to these devices, leading to interface configuration problems within the guest, and non-functional networking.

Environment

  • Red Hat Enterprise Linux 6.2 or earlier
  • SR-IOV capable Network Interface Card

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content