[SOLVED] [1st install] update and network no route to host

xdfcx

New Member
Dec 30, 2023
6
0
1
hello
i ve installed my proxmox yesterday , it seems to work fine even if i ve a trouble while installation (cound not find country, i should remove network cable to finish installation). But i can interact with proxmox interface properly.

1704005789377.png

but i cant launch update. Its very strange because, networks and dns resolution works properly but i can't retrieve package
1704005905920.png


dig command resolv website but it cound not find return packet to the hosts
root@pve:~# dig debian.org
;debian.org. IN A
;; ANSWER SECTION:
debian.org. 251 IN A 151.101.130.132


root@pve:~# ip route
default via 192.168.1.1 dev vmbr0 proto kernel onlink
192.168.1.0/24 dev vmbr0 proto kernel scope link src 192.168.1.30

root@pve:~# wget https://rpmfind.net/linux/centos/8.5.2111/readme
--2023-12-31 07:58:52-- https://rpmfind.net/linux/centos/8.5.2111/readme
Resolving rpmfind.net (rpmfind.net)... 195.220.108.108
Connecting to rpmfind.net (rpmfind.net)|195.220.108.108|:443... failed: No route to host.

1704006089415.png

does anyone can help me? i dont know how to solve this issue... i think it s avery stupid problem but i can't solve it..
 

Attachments

  • 1704006130002.png
    1704006130002.png
    76.1 KB · Views: 4
It looks like your DNS does not return a IPv4 for download.proxmox.com (and IPv6 does not work for you). What does dig download.proxmox.com show?
 
root@pve:~# dig download.proxmox.com

; <<>> DiG 9.18.19-1~deb12u1-Debian <<>> download.proxmox.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58887
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1472
;; QUESTION SECTION:
;download.proxmox.com. IN A

;; ANSWER SECTION:
download.proxmox.com. 521 IN CNAME download.cdn.proxmox.com.
download.cdn.proxmox.com. 60 IN CNAME fr.cdn.proxmox.com.
fr.cdn.proxmox.com. 60 IN A 51.91.38.34

;; Query time: 116 msec
;; SERVER: 192.168.1.254#53(192.168.1.254) (UDP)
;; WHEN: Sun Dec 31 09:43:57 CET 2023
;; MSG SIZE rcvd: 109



i ve create a VM debian to test network and networks retrieve debian update
 
i ve create a VM debian to test network and networks retrieve debian update
Sure, but I think the problem is with resolving the Proxmox CDN and not Debian updates.
root@pve:~# dig download.proxmox.com

; <<>> DiG 9.18.19-1~deb12u1-Debian <<>> download.proxmox.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58887
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1472
;; QUESTION SECTION:
;download.proxmox.com. IN A

;; ANSWER SECTION:
download.proxmox.com. 521 IN CNAME download.cdn.proxmox.com.
download.cdn.proxmox.com. 60 IN CNAME fr.cdn.proxmox.com.
fr.cdn.proxmox.com. 60 IN A 51.91.38.34

;; Query time: 116 msec
;; SERVER: 192.168.1.254#53(192.168.1.254) (UDP)
;; WHEN: Sun Dec 31 09:43:57 CET 2023
;; MSG SIZE rcvd: 109
I don't know why the IPV4 (51.91.38.34) does not work for you (as it does for me). What is the output of ping -4 -w3 download.proxmox.com?
 
root@pve:~# ping -4 -w3 download.proxmox.com
PING fr.cdn.proxmox.com (51.91.38.34) 56(84) bytes of data.

--- fr.cdn.proxmox.com ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2047ms

root@pve:~#



but why my VM can works with any network issue?
 
root@pve:~# ping -4 -w3 download.proxmox.com
PING fr.cdn.proxmox.com (51.91.38.34) 56(84) bytes of data.

--- fr.cdn.proxmox.com ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2047ms
Somehow your connection to download.proxmox.com (fr.cdn.proxmox.com) is blocked. That's your problem. Maybe it's your ISP or maybe it's Proxmox or maybe it's in between?
Please try ping -4 -w3 de.cdn.proxmox.com to see if you could maybe work around it.
but why my VM can works with any network issue?
Because there is only a problem with connecting to the proxmox CDN. I assume your VM does not need to connect to download.proxmox.com.
 
from my promox
root@pve:~# ping -4 -w3 de.cdn.proxmox.com
PING de.cdn.proxmox.com (212.224.123.70) 56(84) bytes of data.

--- de.cdn.proxmox.com ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2033ms
root@pve:~# ip route
default via 192.168.1.1 dev vmbr0 proto kernel onlink
192.168.1.0/24 dev vmbr0 proto kernel scope link src 192.168.1.30
root@pve:~# ip a
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 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
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 00:23:24:b8:4c:a0 brd ff:ff:ff:ff:ff:ff
altname enp0s25
3: wlp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 7c:5c:f8:b0:1f:df 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 00:23:24:b8:4c:a0 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.30/24 scope global vmbr0
valid_lft forever preferred_lft forever
inet6 fe80::223:24ff:feb8:4ca0/64 scope link

root@pve:~# cat /etc/resolv.conf
search pve.lenovo.local
nameserver 192.168.1.254

but i could downloaded installation package yesterday when i ve installed proxmox .

BUT look on my Vm generated by proxmox

patrice@debian:~$ ip a |grep inet |grep -v inet6
inet 127.0.0.1/8 scope host lo
inet 192.168.1.31/24 brd 192.168.1.255 scope global dynamic noprefixroute ens18
patrice@debian:~$ ip route
default via 192.168.1.254 dev ens18 proto dhcp metric 100
192.168.1.0/24 dev ens18 proto kernel scope link src 192.168.1.31 metric 100
patrice@debian:~$ cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.1.254
nameserver fd0f:ee:b0::1
patrice@debian:~$ ping -4 -w3 de.cdn.proxmox.com
PING (212.224.123.70) 56(84) bytes of data.
64 bytes from de.cdn.proxmox.com (212.224.123.70): icmp_seq=1 ttl=57 time=23.3 ms
64 bytes from de.cdn.proxmox.com (212.224.123.70): icmp_seq=2 ttl=57 time=24.5 ms
64 bytes from de.cdn.proxmox.com (212.224.123.70): icmp_seq=3 ttl=57 time=23.3 ms

--- ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 23.261/23.705/24.520/0.576 ms
 

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!