Re: [libvirt] KVM root mac address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/19/2009 06:52 AM, Daniel P. Berrange wrote:
> 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

I've fixed the mistake in virt-install:

http://hg.et.redhat.com/cgi-bin/hg-virt.cgi/applications/virtinst--devel/rev/a3334a88986f

- Cole

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]