hello how to access the file. /etc/network/interfaces

Go to the cli via ssh (putty) or via host console (via web-ui) and edit the file with nano /etc/network/interfaces
and after editing reload with ifreload -a
 
Here is my configuration why my vms and containers are not connected to the internet


auto lo
iface lo inet loopback

auto eno1
iface eno1 inet manual

iface eno2 inet manual

auto vmbr0
iface vmbr0 inet static
address 51.159.106.195/24
gateway 51.159.106.1
bridge-ports eno1
bridge-stp off
bridge-fd 0
hwaddress 44:a8:42:21:0b:36
 
Here is my configuration why my vms and containers are not connected to the internet


auto lo
iface lo inet loopback

auto eno1
iface eno1 inet manual

iface eno2 inet manual

auto vmbr0
iface vmbr0 inet static
address 51.159.106.195/24
gateway 51.159.106.1
bridge-ports eno1
bridge-stp off
bridge-fd 0
hwaddress 44:a8:42:21:0b:36
Are you sure eno1 is the correct cabled port? Could also be eno2 (depends on which cable is connected). I have never seen "hwaddress" in a vmbr0, you might try to remove that and see if it helps. How does the switch-configuration on the cabled port look like?
 

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!