>Hi,
>i have tried to find an rfc about this but have failed, instead, the
>only (serious/credible) documentation i could find was
>http://wiki.xen.org/xenwiki/XenNetworking#head-d5446face7e308f577e5aee1c72cf9d156903722
> ,
>so i updated the script accordingly, here is the updated patch.
>again,

Dear Jon,

at the given link, right at the last sentence of the paragraph, you'll find:

> It's recommended to use a MAC address inside the range 00:16:3e:xx:xx:xx. 
> This address range is reserved for use by Xen.


You see, there's no only the reserved prefix 00:50:C2, but there is at least 
one more official MAC space 00:16:3e reserved by Xen. Why do you don't use this 
and follow my simple or advanced suggestions

        macaddr=$(echo -n "00:50:C2"; hexdump -n 3 -v -e '/1 ":%02X"' 
/dev/urandom)

        macaddr=$(echo -n "00:50:C2"; echo "${hostname:0:1}${hostname: -2} 
$(head -c 3 /dev/urandom) " | hexdump -n 3 -v -e '/1 ":%02X"')

Of corse, the prefix may be replaced by any of this appropriate Prefixes. 
Probably just Daniel will know, if there is already a MAC space requested by 
the LXC project.

Guido
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to