[PVE-User] Persistent static routes inside a container

Shain Miley smiley at npr.org
Tue Jul 12 21:52:53 CEST 2011


Hello all,
What is the best place to add a static route so that when a VM boots and 
reboots the route is added automatically?

Here is the command that I use inside the running VM:

route add -net 10.11.11.0 netmask 255.255.255.0 venet0:1


However this route is clearly lost after I start/stop the VM.

Thanks,

Shain




More information about the pve-user mailing list