New install - Proxmox default gateway not working

Benji99

New Member
Jan 16, 2023
16
5
3
Hi guys, scratching my head on this one, I'm setting up a new Proxmox server in a simple network environment and clearly it's default gateway isn't functioning.
The server has a single bridge with a single ethernet interface.
The server has no trouble reaching or being reached from IPs in 192.168.8.0/24 and 192.168.86.0/24 but cannot reach anything through the default route such as 8.8.8.8

root@pve-###:~# ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. From 192.168.86.1 icmp_seq=2 Destination Host Unreachable From 192.168.86.1 icmp_seq=4 Destination Host Unreachable From 192.168.86.1 icmp_seq=6 Destination Host Unreachable From 192.168.86.1 icmp_seq=7 Destination Host Unreachable From 192.168.86.1 icmp_seq=11 Destination Host Unreachable From 192.168.86.1 icmp_seq=13 Destination Host Unreachable From 192.168.86.1 icmp_seq=18 Destination Host Unreachable ^C --- 8.8.8.8 ping statistics --- 21 packets transmitted, 0 received, +7 errors, 100% packet loss, time 20462ms root@pve-###:~# traceroute 8.8.8.8 traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets 1 * * * 2 * * * 3 * * * 4 * * * 5 * * * 6 * * * 7 * * * 8 * * * 9 * * * 10 * * * 11 * * * 12 * * * 13 * * * 14 * * * 15 * * * 16 * * * 17 * * * 18 * * * 19 * * * 20 * * * 21 * * * 22 * * * 23 * * * 24 * * * 25 * * * 26 * * * 27 * * * 28 * * * 29 * * * 30 * * *


ip route: default via 192.168.86.1 dev vmbr0 proto kernel onlink 192.168.8.0/24 via 192.168.86.6 dev vmbr0 192.168.86.0/24 dev vmbr0 proto kernel scope link src 192.168.86.5

/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 enp1s0f0 inet manual auto vmbr0 iface vmbr0 inet static address 192.168.86.5/24 gateway 192.168.86.1 bridge-ports enp1s0f0 bridge-stp off bridge-fd 0 iface wlp2s0 inet manual

Thanks!
 
Last edited:
It looks like from your traceroute that you can't reach the gateway on 192.168.86.1.
can you ping or arping it?

arping -i vmbr0 192.168.86.1
 
I'm missing the arping package and can't install without the internet connectivity piece but yes I can ping my gateway:

--- 192.168.86.1 ping statistics --- 15126 packets transmitted, 15125 received, 0.00661113% packet loss, time 4299ms rtt min/avg/max/mdev = 0.089/0.262/1.064/0.087 ms, ipg/ewma 0.284/0.213 ms root@pve-###:~# ping 192.168.86.1 PING 192.168.86.1 (192.168.86.1) 56(84) bytes of data. 64 bytes from 192.168.86.1: icmp_seq=1 ttl=64 time=0.426 ms 64 bytes from 192.168.86.1: icmp_seq=2 ttl=64 time=0.389 ms 64 bytes from 192.168.86.1: icmp_seq=3 ttl=64 time=0.302 ms 64 bytes from 192.168.86.1: icmp_seq=4 ttl=64 time=0.313 ms 64 bytes from 192.168.86.1: icmp_seq=5 ttl=64 time=0.499 ms 64 bytes from 192.168.86.1: icmp_seq=6 ttl=64 time=0.420 ms ^C --- 192.168.86.1 ping statistics --- 6 packets transmitted, 6 received, 0% packet loss, time 5007ms

If I traceroute from another machine on the same subnet, here's the path:

traceroute 8.8.8.8 traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets 1 192.168.86.1 (192.168.86.1) 0.281 ms 0.322 ms 0.202 ms 2 192.168.18.1 (192.168.18.1) 0.801 ms 0.579 ms 0.726 ms ~~~ 8 dns.google (8.8.8.8) 3.154 ms 3.239 ms 3.166 ms

tried addling a static route to 8.8.8.8:

8.8.8.8 via 192.168.86.1 dev vmbr0

but no luck... :(
 
What is the output of ip route and ip addr on the other machine?

It looks to me like an issue in the router/gateway. Maybe a firewall in the router.
 
For some reason it started working last night while trying to figure this out. Issue may have external to Proxmos with the router/default gateway's connectivity.
 
For some reason it started working last night while trying to figure this out. Issue may have external to Proxmos with the router/default gateway's connectivity.
I am going through same problem mate,can you help me in how you sorted it's working! Thanks in advance!
 
  • Like
Reactions: D1m0NN