static routes in LXC CT

Oct 11, 2016

is there any way to safely add static routes via the Debian interfaces file as proxmox overwrites the interfaces file on startup

I have several setups where we have internal / external Interface, external gets default, internal gets all RFC1918 routes set.

Of course I could do this via script but would defiantly nicer if this is done the "OS way".

Any plans on adding this feature?

Options you manually add should be preserved across the rewrites, if they don't then please post examples of the configuration before and after a container restart.
Beside a script there's also the possibility to manage the interfaces file without proxmox by touching `/etc/network/.pve-ignore.interfaces`.
  • Like
Reactions: Dunuin


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!