Thanks for all the suggestions. I seem to have magically fixed it. When
I changed the parent from lxdbr0 to br0 it now works. Lxdbr0 was a
'network' I created with 'lxc network create' and br0 was the host
bridge I configured by hand. This probably makes sense to someone who
understands how lxd works. There seems to be a conflict between static
ip addresses and the way 'lxc network create' defines a bridge. Possibly
I missed a config option for routing that is necessary when static ip is
combined with 'lxc network create'.

Did not work:

devices:
  default:
    ipv4.address: 192.168.0.36/24
    name: eth0
    nictype: bridged
    parent: lxdbr0
    type: nic

Did work:

devices:
  default:
    ipv4.address: 192.168.0.36/24
    name: eth0
    nictype: bridged
    parent: br0
    type: nic


_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to