I am using bionic
lxc --version
3.0.3
I have 2 network cards. eth0 for the host and I have a br2 for all lxd. Note that br2 is assigned to lxd and eth0 is NOT used by lxd.
auto eth0
iface eth0 inet static
address 10.147.17.50
netmask 255.255.255.0
broadcast 10.147.17.255
gateway 10.147.17.254
dns-nameservers ***********************
auto br2
iface br2 inet manual
bridge_ports enxa0cec81f12bc
Now I make changes to eth0
(change ip) and restart networking.
systemctl restart networking.service
All of my lxd instances are out of network. I need to do this to bring lxd-containers to normal.
lxc exec container-name bash
reboot
Why does this happen? Note that systemctl restart networking.service
does not hang or delay or complain. Everything is clean in dmesg
.
Any ideas