Add route on Proxmox host through GUI?

Boman

New Member
Dec 13, 2020
4
0
1
46
Is it possible to add a route entry through the GUI for a Proxmox host?

I could of course add i the route in /etc/network/interfaces as a post-upp directive but this file is updated by Proxmox when changing stuff in the GUI so I'm afraid it will get overwritten.

In summary, what is the "correct" way of adding routes to Proxmox hosts?

Best regards,
/David Boman
 
If anyone is looking for an example:
post-up ip route add 192.168.2.0/24 via 192.168.2.1 dev ens192

Would be nice if this could be done via GUI sometime in the future.
 
for me it was:
ip route add 192.168.3.0/24 via 10.0.11.254

when you do it like this, you can check with:
ip route

It will automatically add the dev interface it finds the gateway on, be sure to have connected the vlan on an interface to Proxmox good luck.
 

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!