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: