[SOLVED] No internet in host, internet in VMs.


New Member
Jun 17, 2019
I'm trying to diagnose how/why the Proxmox VE 5.4 host does not have internet but the VMs do.
As a secondary issue, the host keeps deleting /etc/resolv.conf every time I reboot...

$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP group default qlen 1000
    link/ether 1c:69:7a:01:28:f5 brd ff:ff:ff:ff:ff:ff
3: wlp0s20f3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether da:d9:80:e7:e4:39 brd ff:ff:ff:ff:ff:ff
4: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 1c:69:7a:01:28:f5 brd ff:ff:ff:ff:ff:ff
    inet brd scope global vmbr0
       valid_lft forever preferred_lft forever
    inet6 fe80::1e69:7aff:fe01:28f5/64 scope link
       valid_lft forever preferred_lft forever

$ ls -al /etc/resolv.conf
lrwxrwxrwx 1 root root 35 Jun 17 20:36 /etc/resolv.conf -> /var/run/NetworkManager/resolv.conf
$ sudo cat /var/run/NetworkManager/resolv.conf
cat: /var/run/NetworkManager/resolv.conf: No such file or directory

If I manually create resolv.conf the internet still doesn't work:
$ ping google.com
connect: Network is unreachable

Some more debugging info, not sure if it's relevant or not...
$ ip route dev vmbr0 proto kernel scope link src
$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

auto eno1
iface eno1 inet static

auto vmbr0
iface vmbr0 inet static
        bridge_ports eno1
        bridge_stp off
        bridge_fd 0

$ traceroute
traceroute to (, 30 hops max, 60 byte packets
connect: Network is unreachable

Thankyou to any expert looking at this :)
I recommend you specify a gateway on interface vmbr0 to fix the routing issue. Personally, I don't use NetworkManager, so I would remove the symlink and create a static resolv.conf for DNS.

To anyone else reading here is what I did:

$ sudo unlink resolv.conf
Then I manually added nameservers to resolv.conf
$ sudo chmod 755 resolv.conf
$ sudo ip route add default via dev vmbr0
The default gateway didn't persist after I rebooted though, so I added "gateway" to the interface in /etc/network/interfaces.
Hi from argentina!
I've Proxmox VE 7.0 and hasn't internet on host (The VM and CT yes have internet!)

My config:

ip route
default via dev vmbr0 proto kernel onlink dev vmbr0 proto kernel scope link src

cat /etc/network/interfaces
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

auto eno2
iface eno2 inet static

iface eno1 inet manual

iface eno3 inet manual

iface eno4 inet manual

auto vmbr0
iface vmbr0 inet static
    bridge-ports eno2
    bridge-stp off
    bridge-fd 0

 ls -al /etc/resolv.conf
-rw-r--r-- 1 root root 59 Feb 10 15:00 /etc/resolv.conf

root@pve:~# cat /etc/resolv.conf
search XXXX.XXX.XX
Last edited:


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!