How do I assign fixed MAC addresses to KVM guests when using SR-IOV capable NICs?
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 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.
