static route

2012-01-16 Thread Pierre Abbat
How do I set up a static route so that it'll be there the next time I boot?

Pierre
-- 
lo ponse be lo mruli po'o cu ga'ezga roda lo ka dinko


Re: static route

2012-01-16 Thread Andrey N. Oktyabrski

On 17.01.12 09:31, Pierre Abbat wrote:

How do I set up a static route so that it'll be there the next time I boot?

man rc.conf
/static_routes

f.e.
static_routes=gw1 gw2
route_gw1=192.168.22.0/24 192.168.1.11
route_gw2=192.168.33.0/24 192.168.1.11


static route

2011-09-18 Thread Pierre Abbat
I have a VPN running on my Linux box (when it doesn't go down, which it did 
today because my connection to the Internet went down). How do I set up DFly 
so that it comes up with a static route to the VPN with the Linux box as 
gateway?

Pierre
-- 
I believe in Yellow when I'm in Sweden and in Black when I'm in Wales.


Re: static route

2011-09-18 Thread Justin Sherrill
I think this would do it:

route add -net 192.168.100.0/24 linuxbox.local

Substitute the IP range within your VPN for the address range, and the
name/IP of your linux box.  The command won't survive a reboot; you'd
have to stick it in /usr/local/etc or something, somewhere.

On Sun, Sep 18, 2011 at 8:15 PM, Pierre Abbat p...@phma.optus.nu wrote:
 I have a VPN running on my Linux box (when it doesn't go down, which it did
 today because my connection to the Internet went down). How do I set up DFly
 so that it comes up with a static route to the VPN with the Linux box as
 gateway?

 Pierre
 --
 I believe in Yellow when I'm in Sweden and in Black when I'm in Wales.