I’ve got a box I setup about 8 months ago, and starting to realize I never documented the full end-to-end steps to recreate (not good if I have an issue with the box)
I was trying at first to start with just a cleaner setup than my first post… but getting stuck. Once I setup the basic bridge… and modify the yaml file my VM running kubuntu 20.04 loses all internet connectivity… Should I have run the
lxd init and THEN added a bridge for my containers?
my steps so far
sudo apt update sudo apt upgrade -y sudo snap install lxd sudo apt install bridge-utils vim net-tools lxc network create mybridge sudo cp /etc/netplan/01-network-manager-all.yaml /etc/netplan/01-network-manager-all.yaml.bak ifconfig enp0s2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.108 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 blah:::blah prefixlen 64 scopeid 0x20<link> ether blah:::blah txqueuelen 1000 (Ethernet) RX packets 12931 bytes 13508096 (13.5 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 6488 bytes 1401240 (1.4 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device memory 0xfa700000-fa71ffff mybridge: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 inet6 blah:::blah prefixlen 64 scopeid 0x20<link> ether blah:::blah txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 4 bytes 304 (304.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
my netmanager looks like
network: version: 2 renderer: NetworkManager ethernets: enp0s2: dhcp4: no bridges: mybridge: dhcp4: no interfaces: - enp0s2
lxd init and chose all the defaults except I chose to use
mybridge instead of LXD’s default provided bridge… was this a mistake?
it feels like I need to re-add my ethernet to my desktop host… which I tried but still the internet is not reachable