<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Calibri">Hi,<br>
<br>
Being a beginner with Tinc I browsed the mailing list archive in order
to see if other people were experiencing the same problems as I was.
And there is.<br>
But the answers given to them never actually seemed right to me (at
least regarding what it is said on tinc's website).<br>
<br>
My problem is that in order to run a simple VPN between two machines I
had to manually add the "route add -net &lt;ip&gt;/24 $INTERFACE"
statement on hosts' tinc-up files.<br>
I came accross a lot of messages in the archive saying that tinc
doesn't handle routing and that it's my job to configure the routes
manually.<br>
<br>
But according to the website :<br>
1) <a class="moz-txt-link-freetext"
 href="http://www.tinc-vpn.org/documentation/tinc_3.html#SEC37">http://www.tinc-vpn.org/documentation/tinc_3.html#SEC37</a><br>
</font>
<blockquote>
  <p>"An example &#8216;<tt>tinc-up</tt>&#8217; script: </p>
</blockquote>
<blockquote>
  <table>
    <tbody>
      <tr>
        <td>&nbsp;</td>
        <td>
        <pre class="example">#!/bin/sh
ifconfig $INTERFACE 192.168.1.1 netmask 255.255.0.0
        </pre>
        </td>
      </tr>
    </tbody>
  </table>
  <p>This script gives the interface an IP address and a netmask.
The kernel _will also automatically add a route to this interface_ , so
normally you _don't need
to add route commands_ to the &#8216;<tt>tinc-up</tt>&#8217; script.
The kernel will also bring the interface up after this command.
The netmask is the mask of the <em>entire</em> VPN network, not just
your
own subnet." </p>
</blockquote>
<font face="Calibri"><br>
2) <a class="moz-txt-link-freetext"
 href="http://www.tinc-vpn.org/documentation/tinc_3.html#SEC42">http://www.tinc-vpn.org/documentation/tinc_3.html#SEC42</a><br>
Same thing here: none of the example configuration has&nbsp; an "add route"
statement.<br>
<br>
Is the site wrong? Am I missing something?<br>
<br>
Best regards,<br>
</font>
<pre class="moz-signature" cols="72">-- 
RB

</pre>
</body>
</html>