static routes in LXC CT

Oct 11, 2016
15
0
21
Hi,

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?

Oliver
 
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