[PVE-User] Persistent static routes inside a container

Benjamin Griese der.darude at gmail.com
Tue Jul 12 21:56:33 CEST 2011


Hi,

this is clearly not a proxmox specific topic but as I'm a kind person I'll
answer you anyway with a hint to google such questions next time please. :)

http://www.itsyourip.com/networking/add-persistent-static-routes-in-debian-linux/

or

http://unixfoo.blogspot.com/2009/05/configuring-persistent-static-route-in.html

Bye.


On Tue, Jul 12, 2011 at 21:52, Shain Miley <smiley at npr.org> wrote:

> 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
>
> ______________________________**_________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-**bin/mailman/listinfo/pve-user<http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user>
>



-- 
To be or not to be -- Shakespeare | To do is to be -- Nietzsche | To be is
to do -- Sartre | Do be do be do -- Sinatra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pve.proxmox.com/pipermail/pve-user/attachments/20110712/8e2207f4/attachment-0014.html>


More information about the pve-user mailing list