<< | Thread Index | >> ]    [ << | Date Index | >> ]

To: fil,AT,draxsen,DOT,com (Phil Scarratt)
Subject: Re: Windows Routing Question
From: Dave Brotherstone <davegb,AT,pobox,DOT,com>
Date: Fri, 13 Jun 2003 22:11:12 +0000
Cc: cipe-l,AT,inka,DOT,de
In-reply-to: <200306131436.h5DEaS000540@hobbes.humble.net>
References: <200306131436.h5DEaS000540@hobbes.humble.net>

For interests sake (I'd recommend using Louis' suggestion) but you can use 

route add -p 192.168.13.0 mask 255.255.255.0 192.168.10.1

which will remain permanent (survive's reboot) on a windows machine.  This 
isn't quite as good as you may be routing packets to a different host when 
your VPN is down - unlikely but possible

Dave.

On Friday 13 June 2003 2:36 pm, Louis Nafziger wrote:
> Thanks for the help!
>
> I didn't notice the option when I was setting it up, and couldn't find
> anything in the documentation about it.
>
> Louis
>
> > Put the command to add the route in a batch file and put the path and
> > name of the batch file in the "Startup Script" section of the CIPE
> > Settings control panel applet.
> >
> > For example, you might make a batch file called addroute.cmd in
> > C:\Windows\System32 and put the
> >
> > route add 192.168.13.0 mask 255.255.255.0 192.168.10.1
> >
> > line in it. Then on the CIPE control panel applet, in the box next to
> > Startup Script, you would put "C:\Windows\System32\addroute.cmd".
> >
> > Out of interest, you WILL NOT have to run a command to remove the route
> > when closing the connection as any routes to do with the interface are
> > removed.
> >
> > Fil
> >
> > Louis Nafziger wrote:
> > > I have Cipe up and running between a Redhat 8.0 server and a Windows XP
> > > client.  I have one issue:
> > >
> > > I want my windows client to be able to access all of the machines on
> > > the local server network, which is easily accomplished with the
> > > following route command:
> > >
> > > route add 192.168.13.0 mask 255.255.255.0 192.168.10.1
> > >
> > > (192.168.10.1 is the virtual address of my redhat server.)
> > >
> > > This works beautifully, however I have to manually run the command
> > > whenever I bring the VPN link up, or whenever I reboot my computer. 
> > > How can I have this route come up automatically whenever the vpn link
> > > comes up?
> > >
> > > Louis
> > >
> > > --
> > > Message sent by the cipe-l,AT,inka,DOT,de mailing list.
> > > Unsubscribe: mail majordomo,AT,inka,DOT,de, "unsubscribe cipe-l" in body
> > > Other commands available with "help" in body to the same address.
> > > CIPE info and list archive:
> > > <URL:http://sites.inka.de/~bigred/devel/cipe.html>
> >
> > --
> > Phil Scarratt
> > Draxsen Technologies
> > IT Contractor/Consultant
> > 0403 53 12 71
>
> --
> Message sent by the cipe-l,AT,inka,DOT,de mailing list.
> Unsubscribe: mail majordomo,AT,inka,DOT,de, "unsubscribe cipe-l" in body
> Other commands available with "help" in body to the same address.
> CIPE info and list archive:
> <URL:http://sites.inka.de/~bigred/devel/cipe.html>


<< | Thread Index | >> ]    [ << | Date Index | >> ]