add route under windows
xavier
list.tinc at natch.dyndns.org
Wed Jun 23 06:42:14 CEST 2004
On Wed, Jun 23, 2004 at 12:08:40AM +0200, Guus Sliepen wrote:
> On Tue, Jun 22, 2004 at 04:11:35PM -0400, xavier wrote:
>
> > on windows : tinc-up.bat
> > (after configuring the interface with correct default gateway)
> > route add 192.168.1.0 mask 255.255.255.0 10.0.0.1
> >
> > The route addition failed: Either the interface index is wrong or the gateway do
> > es not lie on the same network as the interface. Check the IP Address Table for
> > the machine.
> >
> >
> > so, windows cannot set up routes because the network is not yet up...
> >
> > after the network is up, i can launch the tinc-up.bat script without
> > problem...
>
> What do you mean "the network is not yet up"? The real network or the
> VPN?
the vpn. I should try to call ipconfig before setting up the route to see.
> Because tinc-up.bat is called AFTER the VPN interface is brought
when i run it with tincd -n my_net_name -D -d2, it
prints (sorry, not in front of it right now)
the route add error and then
"connected to my_linux_vpn_server"
and the route script is working after that.
> up. You could try moving the route add command from tinc-up.bat to
> hosts/linux-up.bat (replace linux with the name of the linux host).
will do.
thanks a lot !
--
xavier
More information about the tinc
mailing list