Ubuntu LXC Bridge connections DHCP setup
Ubuntu LXC Bridge connections DHCP setup
I attempted to read the instructions from the link you shared. It outlines steps for making containers use your host's DHCP server, mentioning that SSH connections stay active. However, after trying it, the IP was reset and the SSH session was dropped. The goal is to ensure proper configuration without losing connectivity.
I added this auto enp5s0 iface enp5s0 inet static address 192.168.1.2 auto br0 iface br0 inet dhcp bridge_ports enp5s0 bridge_stp off bridge_fd 0 bridge_maxwait 0 I found out that this made SSH not work. Tho I guess my ifconfig explain why that doesent work (since I could ping). after doing ifdown br0 ifdown enp5s0 ifup br0 ifup enp5s0 I could ssh back in, tho I still want this fixed.