Networking works for existing containers and VMs but not newly created ones.

prox145

Member
Jun 23, 2021
19
0
6
Hi, for some reason whenever I create a new VM or Container and try to set networking up (correctly configured as far as I can see) it does not work.

The existing VMs and Containers however are able to connect just fine, if you need more information to help me solve this then please ask.
 
Please post your network configuration /etc/network/interfaces and the config for the LXC/VM.
 
Please post your network configuration /etc/network/interfaces and the config for the LXC/VM.
Hi, the /etc/network/interfaces config is the following:
Code:
auto lo
iface lo inet loopback

iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
        address 185.189.50.190
        netmask 255.255.252.0
        gateway 185.189.48.1
        bridge_ports eno1
        bridge_stp off
        bridge_fd 0

iface eno2 inet manual


Here is a container network configuration, that does not work:
XZJiFo.png


Here is from another container, that has working networking:
7KECjh.png



Do you require anything else? Thank you.
 
Only difference between the 2 screenshots is the option Firewall (On/Off).
I do not think this is the fix for your problem, but you can always try....
 
Only difference between the 2 screenshots is the option Firewall (On/Off).
I do not think this is the fix for your problem, but you can always try....
It is not a fix, if you had paid attention to my post it says the one with the Firewall has working networking, the other does not.
 
Last edited: