[ovs-discuss] Permanent MAC on Internal Interfaces

Jesse Gross jesse at nicira.com
Thu Sep 9 21:07:41 UTC 2010

On Thu, Sep 9, 2010 at 10:22 AM, Nick Couchman <Nick.Couchman at seakr.com> wrote:
> Another question to throw out there...per my previous post, I have an internal interface (vi0) for my Linux system that actually picks up the IP address.  Right now, it seems as though the MAC address gets randomly regenerated at every boot.  Is there a way to assign a permanent MAC address?  I knew how to do it in the pre-ovsdb days, but not sure what the command is for ovs-vsctl using ovsdb.

Yes, by default the MAC of additional internal interfaces are randomly
generated.  To specify a MAC:

ovs-vsctl set interface NAME mac="XX\:XX\:XX\:XX\:XX\:XX"

Note that you'll have to escape the colons.

More information about the discuss mailing list