<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 09/01/2015 02:06 AM, Andrey Repin wrote:<br>
<blockquote cite="mid:206243113.20150901120631@yandex.ru"
type="cite">
<pre wrap="">Greetings, Peter Steele!
</pre>
<blockquote type="cite">
<pre wrap="">lxc.network.hwaddr = 00:xx:xx:xx:xx:xx
</pre>
</blockquote>
<pre wrap="">
Do NOT do this.
If you want completely random private MAC's, start with 02:...
Ref: <a class="moz-txt-link-freetext" href="http://www.iana.org/assignments/ethernet-numbers/ethernet-numbers.xhtml">http://www.iana.org/assignments/ethernet-numbers/ethernet-numbers.xhtml</a>
</pre>
<blockquote type="cite">
<pre wrap="">in my default.conf as well and that generated a random mac address
starting with b6:38, then 78:47, and so on. Is there a recommended
prefix for the auto-generated lxc mac addresses?
</pre>
</blockquote>
<pre wrap="">
The recommended prefix is the one that is set by default.
You MAY use private prefix, but make sure it is properly indicated.
</pre>
</blockquote>
I know I don't want arbitrarily random mac addresses, I was asking
what is the recommended lxc prefix? A previous poster suggested <br>
<pre wrap="">00:16:3e:xx:xx:xx
<font face="sans-serif">I decided to try </font>
00:xx:xx:xx:xx:xx
<font face="sans-serif">just to see if lxc would pick its own hard coded prefix but it seemed to generate something different each time. You recommended that I should use the one that is set by default, but what is that? My default.conf had no entry lxc.network.hwaddr until I put one there.
Peter
</font></pre>
</body>
</html>