how is the MAC for tap(4) computed?

Peter Grehan grehan at freebsd.org
Mon Nov 4 16:35:15 UTC 2013


Hi Michael,

> Peter, lost the last part of your message ...

  Doh: meant to say e.g.

    -s 5,virtio-net,tap0,mac=00:0c:29:3f:71:e2

> An alternative would be hashing the vm name with the host name and host MAC address.

  Yes, though in that case a VM will end up with a different MAC address 
if it's moved to a different host :(

  What we'll probably end up doing is to generate a UUID when a VM is 
created and hash off that.

later,

Peter.



More information about the freebsd-virtualization mailing list