[PVE-User] Persistent static routes inside a container
smiley at npr.org
Tue Jul 12 22:03:51 CEST 2011
Well since /etc/network/interfaces is generated dynamically...it does
not appear that you can simply add it there...which is why I asked.
However I see that the interfaces file reference
/etc/network/interfaces.head and /etc/network/interfaces.tail...so it
really looks like that is where this needs to
be added (/etc/network/interfaces.tail).
So...I think you were right...more reading was required on my part :-/
On 07/12/2011 03:56 PM, Benjamin Griese wrote:
> 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. :)
> On Tue, Jul 12, 2011 at 21:52, Shain Miley <smiley at npr.org
> <mailto: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.
> pve-user mailing list
> pve-user at pve.proxmox.com <mailto:pve-user at pve.proxmox.com>
> 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...
More information about the pve-user