Okay I think I’ve repaired the situation now…
I have a network interface bridge called br0
that holds both my NIC’s… it is successfully feeding my host internet AND the LXD/Juju containers internet
BUT I cannot seem to disable br0’s ipv6 on startup… and I manually have to do this command to get the ipv6 to go away, despite adding what I thought was the same thing to the .conf files
sudo sysctl -w net.ipv6.conf.br0.disable_ipv6=1
Any idea if I am doing something out of date here? I realize this is not really LXD related so might take this to stackoverflow now but… any help appreciated. I need to likely document fully how I got here as well for my colleagues
$ ifconfig
br0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet6 fe80::3430:e2ff:fef4:a025 prefixlen 64 scopeid 0x20<link>
ether 24:4b:fe:df:7e:38 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5 bytes 414 (414.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
after I do that sysctl command I get
$ ifconfig
br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.108 netmask 255.255.255.0 broadcast 192.168.1.255
ether 24:4b:fe:df:7e:38 txqueuelen 1000 (Ethernet)
RX packets 1636 bytes 1232962 (1.2 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1658 bytes 353983 (353.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
My networks
$ lxc network list
+----------+----------+---------+----------------+------+-------------+---------+
| NAME | TYPE | MANAGED | IPV4 | IPV6 | DESCRIPTION | USED BY |
+----------+----------+---------+----------------+------+-------------+---------+
| br0 | bridge | NO | | | | 0 |
+----------+----------+---------+----------------+------+-------------+---------+
| enp4s0 | physical | NO | | | | 0 |
+----------+----------+---------+----------------+------+-------------+---------+
| enp5s0f1 | physical | NO | | | | 0 |
+----------+----------+---------+----------------+------+-------------+---------+
| lxdbr0 | bridge | YES | 10.22.143.1/24 | none | | 7 |
+----------+----------+---------+----------------+------+-------------+---------+
When I went to lxd init
I simply told it to reuse a pre-existing bridge br0
and all seems happy both in lxd
and juju