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

Re: [libvirt] KVM root mac address



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


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