Ethernet can't connect internet

Hey luu.le,

It may seems that your issue this related to the virtual bridge vmbr0, in which there is no way to direct your internal guest network to the outside.

I would suggest to do the following:
  1. Modify the vmbr0 portion in the configuration file /etc/network/interfaces
  2. Uncomment the following lines:

    Screenshot 2023-10-20 at 17.20.34.jpg
3. At the vmbr0 portion change the bridge-ports from none to enp35s0 , then add a gateway line as following:

auto vmbr0
iface vmbr0 inet static
address <your-static-ip>/<network-mask>
gateway <your-router-ip>
bridge-ports enp35s0
bridge-stp off
bridge-fd 0
Hope this modification will work..
Peace
 
Last edited:
Hi @Muhammad Yaseen Rasheed

Thank you for your attention, I have updated as instructed
Example of the Host Configuration in Bridged Setup in the attached article,

but it doesn't work, you can see the information I shared here, because I'm new to it so I don't understand what problem I'm facing, what do I need to fix so that my Vm windows can connect to the internet via bridge


Hope you will help

Screenshot 2023-10-20 at 21.33.02.png
 
I think your main issue is that you have the server nic (enp3s0) bridged to vmbr0 - this is not correct. The hetner docs have this

auto vmbr0
iface vmbr0 inet static
address <main IPv4 address>/32
bridge-ports none
bridge-stp off
bridge-fd 0

This setup relies on routing being enabled on the pve host to direct traffic from the internal vm's attached to vmbr0 out to the internet via the physical connection on enp3s0

Also, do you really have a /26 IP allocation? that's 62 useable ip addresses so that won't be cheap
 

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!