[Lxc-users] hwaddr and vlan networking?

Stuart Yoder b08248 at gmail.com
Tue Oct 9 20:55:00 UTC 2012


I've found that I can get vlan networking working, using the example
config file _if_ I comment out/delete the hwaddr:

diff --git a/doc/examples/lxc-vlan.conf.in b/doc/examples/lxc-vlan.conf.in
index 4404439..231d618 100644
--- a/doc/examples/lxc-vlan.conf.in
+++ b/doc/examples/lxc-vlan.conf.in
@@ -4,6 +4,5 @@ lxc.network.type = vlan
 lxc.network.vlan.id = 1234
 lxc.network.flags = up
 lxc.network.link = eth0
-lxc.network.hwaddr = 4a:49:43:49:79:bd
 lxc.network.ipv4 = 1.2.3.4/24
 lxc.network.ipv6 = 2003:db8:1:0:214:1234:fe0b:3596

I'm not a networking guru... anyone know why that is there in the
example and whether/when it is needed?    Am I masking some issue
by removing it?

Stuart




More information about the lxc-users mailing list