add route under windows

Guus Sliepen guus at sliepen.eu.org
Wed Jun 23 00:08:40 CEST 2004


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? Because tinc-up.bat is called AFTER the VPN interface is brought
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).

-- 
Met vriendelijke groet / with kind regards,
    Guus Sliepen <guus at sliepen.eu.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://brouwer.uvt.nl/pipermail/tinc/attachments/20040623/bbabb8f6/attachment.pgp


More information about the tinc mailing list