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:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!