I tried copying the same network settings as the original device and renaming eth0 to eth1 but when I boot the container there is no second network.
Furthermore even when I comment out the first one, leaving only the second, with the only difference being that the name is
eth1 rather than
eth0 there is no ip assigned when booted up.
What is going on? It doesn’t seem to like changing the name from anything but
Here are the config settings which work for
eth0 but fail as soon as the setting is changed to
lxc.net.0.type = veth lxc.net.0.link = lxcbr0 lxc.net.0.flags = up lxc.net.0.name = eth0 lxc.net.0.hwaddr = 00:16:3e:77:68:67