VMs have no connection to the outside Internet

aiden.mitchell

New Member
Jul 29, 2020
5
0
1
51
I must be doing something wrong, but my VMs can't access the Internet. I'm not sure what to do, I recently re-imaged my Proxmox server and this issue appeared. I don't recall having to touch any settings for it to work.

Code:
auto lo
iface lo inet loopback

iface enp2s0 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.1.42/24
        gateway 192.168.1.1
        bridge-ports enp2s0
        bridge-stp off
        bridge-fd 0
 
Last edited:
Why do you have so many duplicate lines?
 
Verify your ip adress, netmask and gateway if it's correct, if no verify in you vm the network card if the option disconnect it's select
 
I setup a Windows VM, and it turns out the VMs aren't given a default gateway value, so they can't connect. How can I fix that?
 
Why do you have so many duplicate lines?
Sorry, that was a mistake. Corrected version:

Code:
auto lo
iface lo inet loopback

iface enp2s0 inet manual

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