I had neglected to update the host OS package for a while, so I ran "apt update" and got an error.
From the above error message, I suspected a DNS deficiency, but "1.1.1.1" was specified.
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.
This time, I sent a ping to the computer running Proxmox, and it came back.
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?
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.
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.
This time, I sent a ping to the computer running Proxmox, and it came back.
/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?