static route LXC Ubuntu 18.04 container

eduardo2308

New Member
Aug 26, 2020
3
0
1
54
How to add a static route to an LXC container with Ubuntu 18.04, since the network configuration is no longer in the interfaces file
 
hi,

on the GUI select the container and go to Resources -> Network
 
i want to do this: ip route add {NETWORK/MASK} via {GATEWAYIP}
before you put it in the interfaces file to be persistent
 

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!