VM can't access internet.

4r7w0rk

New Member
Jan 30, 2023
1
0
1
Hello there,

i have a Proxmox with 2 interfaces. My VM can't access the internet.
Here is the configuration
One interface (eno3), with no internet access, used to managed the Proxmox from a laptop directly connected to it.
One interface (eno4), with internet access (filtered by the MAC address of the ethernet port) in DHCP (can't use static IP). This interface is only used for internet access for the VMs, by using a bridge.

Here's the network configuration of the Proxmox :

Code:
auto lo
iface lo inet loopback

auto eno3
iface eno3 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.1.23/24
        gateway 192.168.1.1
        bridge-ports eno3
        bridge-stp off
        bridge-fd 0

auto eno4
iface eno4 inet manual

auto vmbr1
iface vmbr1 inet dhcp
        bridge-ports eno4
        bridge-stp off
        bridge-fd 0

For the VMs, i've added the network device vmbr1
Any idea why my VMs can't access internet ? :(

Thank,
 
Hi,
please post the output of ip addr and ip route. I suppose you are missing the routes for your packets to be send to the internet gateway.

Edit: Remove the default gateway from vmbr0
 
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!