Greetings lxc-users,<br><br>I'm running lxc 0.7.4-0ubuntu7 on an ubuntu 11.04 with kernel 2.6.38-8-generic.<br><br>There is something I don't understand with the lxc.network.hwaddr. I was expecting to have the veth MAC addr set to it, but it appears that is only setting the vm ethernet.<br>
<br>If we can not use this parameter to set the veth MAC address, how do you deal with the bridge switch to lowest MAC ? This switch implies a connectivity loss on lxc-stop<br><br>As an example, I have :<br># brctl show<br>
bridge name bridge id STP enabled interfaces<br>br0 8000.f46d04b3e02e no eth0<br><br>But when I run 'lxc-start', I get a random MAC address, and the br0 mac switch to it in most cases<br>
<br># brctl showmacs br0<br>port no mac addr is local? ageing timer<br> 2 56:82:9a:de:9c:0a yes 0.00<br> 1 f4:6d:04:b3:e0:2e yes 0.00<br><br># brctl show<br>bridge name bridge id STP enabled interfaces<br>
br0 8000.56829ade9c0a no eth0<br> vethuUyg4e<br><br>The bridge has been defined like this :<br>auto br0<br>iface br0 inet static<br> address 192.168.1.100<br> netmask 255.255.255.0<br>
gateway 192.168.1.254<br><br> bridge_ports eth0<br> bridge_stp off<br> bridge_fd 0<br> bridge_hello 0<br><br>