This is a cache of https://docs.openshift.com/rosa/virt/vm_networking/virt-using-mac-address-pool-for-vms.html. It is a snapshot of the page at 2024-09-21T03:26:28.606+0000.
Managing MAC address pools for network interfaces - Networking | Virtualization | Red Hat OpenShift <strong>service</strong> on AWS
×

The KubeMacPool component allocates MAC addresses for virtual machine (VM) network interfaces from a shared MAC address pool. This ensures that each network interface is assigned a unique MAC address.

A virtual machine instance created from that VM retains the assigned MAC address across reboots.

KubeMacPool does not handle virtual machine instances created independently from a virtual machine.

Managing KubeMacPool by using the command line

You can disable and re-enable KubeMacPool by using the command line.

KubeMacPool is enabled by default.

Procedure
  • To disable KubeMacPool in two namespaces, run the following command:

    $ oc label namespace <namespace1> <namespace2> mutatevirtualmachines.kubemacpool.io=ignore
  • To re-enable KubeMacPool in two namespaces, run the following command:

    $ oc label namespace <namespace1> <namespace2> mutatevirtualmachines.kubemacpool.io-