Hello everyone,
As the title suggest I am not able to ping gateway at all. I have search the forum and online for similar issue, put it 2 full days to figure it out on my own and have not found a solution for my case. So here I am on the forum asking for help.
Here are some logs
I have tried almost all the solutions from online.
1. Check hwclock on bios and correct it, sync timedatectl as per current time and then sync it with hwclock too.
2. Check for network issue where I have opnsense router with multiple pc's connected. I can ping the proxmox from my laptop but not from my router nor from my proxmox to my router. I have no idea how is this even possible. The only theory I can come up with is the switch is the key here where prox and laptop is on.
3. I suspect the broadcast IP next but I am not sure if that will make any difference. Please suggest.
I can ping every other pc on the network but not the gateway.
Can anyone advice where I should look into ? I will try to re-install it again. I have used `proxmox-ve_8.1-2` latest image burned it on usb using balena etcher, this is not the first time I am installing proxmox, but still feels like I am a novice hahaha.
Even Nmap cannot find the gateway in the scan.
As it cannot ping the gateway it is not able to resolve DNS too. I face exact same issue when I create a VM and bridge it to the network.
As the title suggest I am not able to ping gateway at all. I have search the forum and online for similar issue, put it 2 full days to figure it out on my own and have not found a solution for my case. So here I am on the forum asking for help.
Here are some logs
root@prox:~# 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
iface enp1s0 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.100.2/24
gateway 192.168.100.1
bridge-ports enp1s0
bridge-stp off
bridge-fd 0
iface wlp2s0 inet manual
root@prox:~# 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: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP group default qlen 1000
link/ether 7c:83:34:b0:ee:91 brd ff:ff:ff:ff:ff:ff
3: wlp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether a8:93:4a:df:18:3f 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 7c:83:34:b0:ee:91 brd ff:ff:ff:ff:ff:ff
inet 192.168.100.2/24 scope global vmbr0
valid_lft forever preferred_lft forever
inet6 fe80::7e83:34ff:feb0:ee91/64 scope link
valid_lft forever preferred_lft forever
root@prox:~# ip route
default via 192.168.100.1 dev vmbr0 proto kernel onlink
192.168.100.0/24 dev vmbr0 proto kernel scope link src 192.168.100.2
root@prox:~# ping 192.168.100.1
PING 192.168.100.1 (192.168.100.1) 56(84) bytes of data.
From 192.168.100.2 icmp_seq=1 Destination Host Unreachable
From 192.168.100.2 icmp_seq=2 Destination Host Unreachable
From 192.168.100.2 icmp_seq=3 Destination Host Unreachable
^C
--- 192.168.100.1 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4074ms
pipe 4
root@prox:~# timedatectl
Local time: Mon 2024-02-19 13:48:56 +03
Universal time: Mon 2024-02-19 10:48:56 UTC
RTC time: Mon 2024-02-19 10:48:56
Time zone: Asia/Bahrain (+03, +0300)
System clock synchronized: no
NTP service: active
RTC in local TZ: no
root@prox:~# hwclock
2024-02-19 13:48:58.358662+03:00
I have tried almost all the solutions from online.
1. Check hwclock on bios and correct it, sync timedatectl as per current time and then sync it with hwclock too.
2. Check for network issue where I have opnsense router with multiple pc's connected. I can ping the proxmox from my laptop but not from my router nor from my proxmox to my router. I have no idea how is this even possible. The only theory I can come up with is the switch is the key here where prox and laptop is on.
3. I suspect the broadcast IP next but I am not sure if that will make any difference. Please suggest.
I can ping every other pc on the network but not the gateway.
root@prox:~# ping 192.168.100.5
PING 192.168.100.5 (192.168.100.5) 56(84) bytes of data.
64 bytes from 192.168.100.5: icmp_seq=1 ttl=128 time=2.98 ms
64 bytes from 192.168.100.5: icmp_seq=2 ttl=128 time=2.33 ms
^C
--- 192.168.100.5 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 2.334/2.655/2.976/0.321 ms
root@prox:~# ping 192.168.100.165
PING 192.168.100.165 (192.168.100.165) 56(84) bytes of data.
64 bytes from 192.168.100.165: icmp_seq=1 ttl=64 time=0.617 ms
64 bytes from 192.168.100.165: icmp_seq=2 ttl=64 time=0.755 ms
^C
--- 192.168.100.165 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1015ms
rtt min/avg/max/mdev = 0.617/0.686/0.755/0.069 ms
root@prox:~# ping 192.168.100.10
PING 192.168.100.10 (192.168.100.10) 56(84) bytes of data.
64 bytes from 192.168.100.10: icmp_seq=1 ttl=255 time=0.497 ms
^C
--- 192.168.100.10 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.497/0.497/0.497/0.000 ms
root@prox:~# ping 192.168.100.100
PING 192.168.100.100 (192.168.100.100) 56(84) bytes of data.
64 bytes from 192.168.100.100: icmp_seq=1 ttl=64 time=0.663 ms
64 bytes from 192.168.100.100: icmp_seq=2 ttl=64 time=0.297 ms
^C
--- 192.168.100.100 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1014ms
rtt min/avg/max/mdev = 0.297/0.480/0.663/0.183 ms
root@prox:~# ping 192.168.100.159
PING 192.168.100.159 (192.168.100.159) 56(84) bytes of data.
64 bytes from 192.168.100.159: icmp_seq=1 ttl=64 time=1.57 ms
^C
--- 192.168.100.159 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.565/1.565/1.565/0.000 ms
root@prox:~# ping 192.168.100.165
PING 192.168.100.165 (192.168.100.165) 56(84) bytes of data.
64 bytes from 192.168.100.165: icmp_seq=1 ttl=64 time=0.963 ms
64 bytes from 192.168.100.165: icmp_seq=2 ttl=64 time=0.751 ms
^C
--- 192.168.100.165 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.751/0.857/0.963/0.106 ms
root@prox:~# ping 192.168.100.180
PING 192.168.100.180 (192.168.100.180) 56(84) bytes of data.
64 bytes from 192.168.100.180: icmp_seq=1 ttl=64 time=1.37 ms
64 bytes from 192.168.100.180: icmp_seq=2 ttl=64 time=0.860 ms
^C
--- 192.168.100.180 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 0.860/1.113/1.366/0.253 ms
root@prox:~# ping 192.168.100.254
PING 192.168.100.254 (192.168.100.254) 56(84) bytes of data.
64 bytes from 192.168.100.254: icmp_seq=1 ttl=64 time=0.803 ms
64 bytes from 192.168.100.254: icmp_seq=2 ttl=64 time=0.784 ms
^C
--- 192.168.100.254 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1013ms
rtt min/avg/max/mdev = 0.784/0.793/0.803/0.009 ms
root@prox:~# nmap -sP 192.168.100.0/24
Starting Nmap 7.93 ( https://nmap.org ) at 2024-02-19 14:13 +03
Nmap scan report for 192.168.100.5
Host is up (0.0022s latency).
MAC Address: XXXXXXXXXXXXXXXX (Dell)
Nmap scan report for 192.168.100.10
Host is up (0.00040s latency).
MAC Address: XXXXXXXXXXXXXXXX (Hewlett Packard)
Nmap scan report for 192.168.100.100
Host is up (0.00016s latency).
MAC Address: XXXXXXXXXXXXXXXX (Grandstream Networks)
Nmap scan report for 192.168.100.159
Host is up (0.00020s latency).
MAC Address: XXXXXXXXXXXXXXXX(Unknown)
Nmap scan report for 192.168.100.165
Host is up (0.00055s latency).
MAC Address: XXXXXXXXXXXXXXXX (BizLink (Kunshan))
Nmap scan report for 192.168.100.180
Host is up (0.00081s latency).
MAC Address: XXXXXXXXXXXXXXXX(Grandstream Networks)
Nmap scan report for 192.168.100.254
Host is up (0.00014s latency).
MAC Address: XXXXXXXXXXXXXXXX Unknown)
Nmap scan report for 192.168.100.2
Host is up.
Nmap done: 256 IP addresses (8 hosts up) scanned in 27.88 seconds
Can anyone advice where I should look into ? I will try to re-install it again. I have used `proxmox-ve_8.1-2` latest image burned it on usb using balena etcher, this is not the first time I am installing proxmox, but still feels like I am a novice hahaha.
Even Nmap cannot find the gateway in the scan.
As it cannot ping the gateway it is not able to resolve DNS too. I face exact same issue when I create a VM and bridge it to the network.
Last edited: