tinc and routing

Guus Sliepen guus at sliepen.eu.org
Fri Oct 10 16:12:50 CEST 2003


On Fri, Oct 10, 2003 at 08:41:24AM -0500, Clark Rawlins wrote:

> Does tinc support gateway routing to other networks across its interfaces?

In router mode (the default), no. But on the other hand, you don't need
gateway routes when running tinc in router mode, and normally gateway
routes do work but the gateway address is ignored (either by the kernel
or by tinc).

If you explicitly want traffic from 172.16.1.0/24 to go to
192.168.0.0/24 via the tinc daemon on 192.168.9.1, you should add
"IndirectData = yes" to the host config file of the tinc daemon of
172.168.1.0/24, otherwise tinc will send traffic from 172.168.1.0/24's
tinc daemon directly to 192.168.0.0/24's daemon, without sending it
first to 192.168.9.1.

> The problem I am having is that on any host in 172.16.1.0/24 if I
> attempt to ping a host on 192.168.0.0/24 the packets get dropped somewhere.
> Traceroute shows.

You can get more information from tinc using the -d and -D options.

-- 
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-devel/attachments/20031010/0980ff12/attachment.pgp


More information about the Tinc-devel mailing list