Unable to connect to the Internet

KuriKuchi

Member
Jan 22, 2021
8
1
8
23
I had neglected to update the host OS package for a while, so I ran "apt update" and got an error.

Code:
starting apt-get update
Err:1 http://ftp.debian.org/debian bullseye InRelease
  Temporary failure resolving 'ftp.debian.org'
Err:2 http://download.proxmox.com/debian/pve bullseye InRelease
  Temporary failure resolving 'download.proxmox.com'
Err:3 http://security.debian.org/debian-security bullseye-security InRelease
  Temporary failure resolving 'security.debian.org'
Err:4 http://ftp.debian.org/debian bullseye-updates InRelease
  Temporary failure resolving 'ftp.debian.org'
Reading package lists...
W: Failed to fetch http://ftp.debian.org/debian/dists/bullseye/InRelease  Temporary failure resolving 'ftp.debian.org'
W: Failed to fetch http://ftp.debian.org/debian/dists/bullseye-updates/InRelease  Temporary failure resolving 'ftp.debian.org'
W: Failed to fetch http://download.proxmox.com/debian/pve/dists/bullseye/InRelease  Temporary failure resolving 'download.proxmox.com'
W: Failed to fetch http://security.debian.org/debian-security/dists/bullseye-security/InRelease  Temporary failure resolving 'security.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
TASK OK


From the above error message, I suspected a DNS deficiency, but "1.1.1.1" was specified.

1654963280893.png


Next, I used the ping command to check "1.1.1.1" and "8.8.8.8", but nothing came back.
I tried to contact the default gateway "192.168.1.1", but nothing came back.

1654963480489.png

This time, I sent a ping to the computer running Proxmox, and it came back.

1654963708883.png


/etc/network/interfaces
Code:
auto lo
iface lo inet loopback

iface enp0s25 inet manual
        mtu 1500

auto enp3s0f0
iface enp3s0f0 inet manual
        awaddress mac address

auto enp3s0f1
iface enp3s0f1 inet manual
        awaddress mac address

auto bond0
iface bond0 inet manual
        bond-slaves enp3s0f0 enp3s0f1
        bond-miimon 100
        bond-mode 802.3ad
        bond-xmit-hash-policy layer2+3

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

By the way, if you ping "1.1.1.1" from a guest OS on Proxmox, you will get the result back.
I can also access the Proxmox web GUI.
What could be the cause?
 
Hi,

how do your routes look like ip r? The vmbr0 bridge interface acts more or less like a switch. Networking configuration on the host should have no impact on the VMs.
 
Oh and btw you should always do a full upgrade instead of just upgrade apt full-upgrade. This will delete packages that are no longer needed and may cause trouble.
 

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!