Able to use web UI but server is unable to connect to internet

shactheorb

New Member
Mar 20, 2023
5
0
1
My gateway is 192.168.1.1 and I reserved 192.168.1.10 for my Proxmox server. I can access the Proxmox web UI through 192.168.1.10:8006 and all of my VMs work fine, but whenever I try to ping any address (local or external) from the shell it either times out or does nothing. I'm unable to update my proxmox server because of this.

A few months ago I changed routers to an OPNsense router, and the previous IP address was 192.168.4.141. Not sure if that's relevant but couldn't hurt to mention.

Any ideas on what I can try? Thanks
 
please post the network config (/etc/network/interfaces) of your PVE system..
 
Here's the contents of the interfaces file:

auto lo
iface lo inet loopback

iface enp0s25 inet manual

auto ens1f0
iface ens1f0 inet manual

auto ens1f1
iface ens1f1 inet manual

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

auto vmbr1
iface vmbr1 inet manual
bridge-ports ens1f0
bridge-stp off
bridge-fd 0

auto vmbr2
iface vmbr2 inet manual
bridge-ports ens1f1
bridge-stp off
bridge-fd 0

And while I'm at it, here's the result of running "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
valid_lft forever preferred_lft forever
2: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP group default qlen 1000
link/ether 98:90:96:e1:53:a1 brd ff:ff:ff:ff:ff:ff
6: tap100i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000
link/ether da:fe:bf:c6:51:88 brd ff:ff:ff:ff:ff:ff
inet6 fe80::d8fe:bfff:fec6:5188/64 scope link
valid_lft forever preferred_lft forever
7: veth101i0@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether fe:33:52:3c:c7:47 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet6 fe80::fc33:52ff:fe3c:c747/64 scope link
valid_lft forever preferred_lft forever
16: tap300i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr300i0 state UNKNOWN group default qlen 1000
link/ether ae:0e:7c:9b:3f:21 brd ff:ff:ff:ff:ff:ff
17: fwbr300i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 5e:e2:a0:5e:11:ca brd ff:ff:ff:ff:ff:ff
18: fwpr300p0@fwln300i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 66:c7:a3:18:d8:dc brd ff:ff:ff:ff:ff:ff
inet6 fe80::64c7:a3ff:fe18:d8dc/64 scope link
valid_lft forever preferred_lft forever
19: fwln300i0@fwpr300p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr300i0 state UP group default qlen 1000
link/ether 66:a7:cd:dc:a0:0d brd ff:ff:ff:ff:ff:ff
23: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 98:90:96:e1:53:a1 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.10/24 scope global vmbr0
valid_lft forever preferred_lft forever
inet6 fe80::9a90:96ff:fee1:53a1/64 scope link
valid_lft forever preferred_lft forever
24: vmbr1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether d2:47:46:c8:64:6b brd ff:ff:ff:ff:ff:ff
25: vmbr2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether a6:40:13:38:4f:cd brd ff:ff:ff:ff:ff:ff
26: tap230i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr230i0 state UNKNOWN group default qlen 1000
link/ether 2e:7f:c7:52:b1:50 brd ff:ff:ff:ff:ff:ff
27: fwbr230i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 8e:87:1f:09:af:e2 brd ff:ff:ff:ff:ff:ff
28: fwpr230p0@fwln230i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP group default qlen 1000
link/ether fe:82:e9:b7:88:7b brd ff:ff:ff:ff:ff:ff
29: fwln230i0@fwpr230p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr230i0 state UP group default qlen 1000
link/ether 92:aa:92:80:16:b5 brd ff:ff:ff:ff:ff:ff
 
does "ping 8.8.8.8" work? what about the contents of "/etc/resolv.conf" ?
 
1736436475355.png

Nothing happens when I ping 8.8.8.8 or 1.1.1.1, the same thing happens if I try to ping any device on my local network like my router/gateway 192.168.1.1 or my personal computer, 192.168.1.115

Here's the contents of /etc/resolv.conf:

search local
nameserver 1.1.1.1
 
I think I fixed the issue by flushing the ARP cache in my OPNsense router. In OPNsense you can do this in the OPNsense GUIby going to Interfaces > Diagnostics > ARP Table, then click "flush", going to test further to make sure
 

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!