[libvirt] KVM root mac address
Daniel P. Berrange
berrange at redhat.com
Fri Jun 19 10:52:50 UTC 2009
On Thu, Jun 18, 2009 at 11:27:50AM +0200, Paul Reeves wrote:
>
> A quick question -
>
> What is the correct root for dynamically generated KVM mac addresses? The
> docs (man virt-install) say 54:52:00 and I've seen Ubuntu docs on-line that
> say 52:54:00.
>
> Has someone got these mixed up?
THe source code always wins
macaddr[0] = 0x52;
macaddr[1] = 0x54;
macaddr[2] = 0x00;
macaddr[3] = 0x12;
macaddr[4] = 0x34;
macaddr[5] = 0x56 + idx;
So 52:54:00 is the correct prefix
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the libvir-list
mailing list