VMs have no connection to the outside Internet

aiden.mitchell

New Member
Jul 29, 2020
5
0
1
50
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
 

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!