No web access without gateway

Jul 11, 2024
3
0
1
Have an interesting one that I don't quite understand. On all our PVE installs I've found that unless I have a gateway specified that web interface will not work.

I have a few PVE hosts that exist on subnets that are private and not routing outside the subnet. If I remove the gateway from the interface or bridge the web interface will no longer respond. I can still SSH in and manage from the shell but the web interface will not respond. Put the gateway back in, take the interface down/up and boom it instantly works again. I am not opposed to having the gateway in there just curious what the issue is here without it.
 
Are you sure? Out of curiosity, I tried removing gateway on a fresh 8.2.2 install and the web proxy is just fine, also after reboot. Outside of the subnet, as expected, destination unreachable.

What's your /etc/network/interfaces like?
 

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!