No connection after PV8 upgrade

eduardoll

Member
Feb 6, 2021
13
0
6
41
After upgrading from PVE7 to 8, I cant get connection to the PVE host. If I try to run the update, it gets "no route to host". I haven't changed anything related to networking from what was working on PV7

Does anyone have any ideas on how to resolve this? Thanks.

My settings are:

DNS Server: 192.168.1.1

resolv.conf :
It was being automatically generated every reboot but I found out that PVE configuration interface was misconfigured after upgrade:
Code:
nameserver 127.0.0.53
options edns0 trust-ad
search .

Current resolv.conf:
Code:
search .
nameserver 192.168.1.1
nameserver 192.168.1.11
# This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8).
# Do not edit.
#
# This file might be symlinked as /etc/resolv.conf. If you're looking at
# /etc/resolv.conf and seeing this text, you have followed the symlink.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs should typically not access this file directly, but only
# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
# different way, replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.

options edns0 trust-ad

interfaces:
Code:
auto lo
iface lo inet loopback

iface eno1 inet manual

iface enp2s0 inet manual

iface enp3s0 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.1.20/24
        gateway 192.168.1.1
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094

#auto vmbr0.10
#iface vmbr0.10 inet static
#       address 192.168.10.20/24
#       gateway 192.168.10.1

auto vmbr1
iface vmbr1 inet static
#       address 192.168.100.20/24
        bridge-ports enp3s0
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094

auto vmbr1.101
iface vmbr1.101 inet static
        address 192.168.101.20/24
        gateway 192.168.101.1

Code:
starting apt-get update
Ign:1 http://download.proxmox.com/debian/pve bookworm InRelease
Ign:2 http://ftp.debian.org/debian bookworm InRelease
Ign:3 http://ftp.debian.org/debian bookworm-updates InRelease
Ign:2 http://ftp.debian.org/debian bookworm InRelease
Ign:1 http://download.proxmox.com/debian/pve bookworm InRelease
Ign:3 http://ftp.debian.org/debian bookworm-updates InRelease
Ign:2 http://ftp.debian.org/debian bookworm InRelease
Ign:1 http://download.proxmox.com/debian/pve bookworm InRelease
Ign:3 http://ftp.debian.org/debian bookworm-updates InRelease
Err:2 http://ftp.debian.org/debian bookworm InRelease
  Could not connect to debian.map.fastlydns.net:80 (151.101.94.132). - connect (113: No route to host) Unable to connect to ftp.debian.org:http:
Err:1 http://download.proxmox.com/debian/pve bookworm InRelease
  Could not connect to download.proxmox.com:80 (170.130.165.90). - connect (113: No route to host)
Err:3 http://ftp.debian.org/debian bookworm-updates InRelease
  Unable to connect to ftp.debian.org:http:
Reading package lists...
W: Failed to fetch http://ftp.debian.org/debian/dists/bookworm/InRelease  Could not connect to debian.map.fastlydns.net:80 (151.101.94.132). - connect (113: No route to host) Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://ftp.debian.org/debian/dists/bookworm-updates/InRelease  Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://download.proxmox.com/debian/pve/dists/bookworm/InRelease  Could not connect to download.proxmox.com:80 (170.130.165.90). - connect (113: No route to host)
W: Some index files failed to download. They have been ignored, or old ones used instead.
TASK OK
 
Last edited:
My settings are:

DNS Server: 192.168.1.1

resolv.conf (being automatically generated every reboot):
Code:
nameserver 127.0.0.53
options edns0 trust-ad
search .
That looks weird. What creates that automatically every reboot? Mine contains the domain name and the IP address of my actual DNS server on the local network. Did you install some (non-Proxmox) software for DNS or ad-blocking or something? How did you install Proxmox?
 
  • Like
Reactions: eduardoll
That looks weird. What creates that automatically every reboot? Mine contains the domain name and the IP address of my actual DNS server on the local network. Did you install some (non-Proxmox) software for DNS or ad-blocking or something? How did you install Proxmox?
I just realized that the automatic changes on resolv.conf was because the PVE network configuration interface was with the wrong values (it might have changed during the upgrade).

But after fix DNS my issue still persists.. PVE host still cant connect to external sites. Below is what I get if I try to update it:

Code:
starting apt-get update
Ign:1 http://download.proxmox.com/debian/pve bookworm InRelease
Ign:2 http://ftp.debian.org/debian bookworm InRelease
Ign:3 http://ftp.debian.org/debian bookworm-updates InRelease
Ign:2 http://ftp.debian.org/debian bookworm InRelease
Ign:1 http://download.proxmox.com/debian/pve bookworm InRelease
Ign:3 http://ftp.debian.org/debian bookworm-updates InRelease
Ign:2 http://ftp.debian.org/debian bookworm InRelease
Ign:1 http://download.proxmox.com/debian/pve bookworm InRelease
Ign:3 http://ftp.debian.org/debian bookworm-updates InRelease
Err:2 http://ftp.debian.org/debian bookworm InRelease
  Could not connect to debian.map.fastlydns.net:80 (151.101.94.132). - connect (113: No route to host) Unable to connect to ftp.debian.org:http:
Err:1 http://download.proxmox.com/debian/pve bookworm InRelease
  Could not connect to download.proxmox.com:80 (170.130.165.90). - connect (113: No route to host)
Err:3 http://ftp.debian.org/debian bookworm-updates InRelease
  Unable to connect to ftp.debian.org:http:
Reading package lists...
W: Failed to fetch http://ftp.debian.org/debian/dists/bookworm/InRelease  Could not connect to debian.map.fastlydns.net:80 (151.101.94.132). - connect (113: No route to host) Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://ftp.debian.org/debian/dists/bookworm-updates/InRelease  Unable to connect to ftp.debian.org:http:
W: Failed to fetch http://download.proxmox.com/debian/pve/dists/bookworm/InRelease  Could not connect to download.proxmox.com:80 (170.130.165.90). - connect (113: No route to host)
W: Some index files failed to download. They have been ignored, or old ones used instead.
TASK OK
 

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!