<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I am not sure to exactly understand your problem, but, if you want
to add a route to a remote subnet owned by tinc, you could try
something like this :<br>
<br>
ip r a 192.168.2.0/24 dev nb003004<br>
<br>
This will send all traffic destined to 192.168.2.0/24 via the tinc
interface. Tinc will use his internal routing table to route the
traffic to the remote node that own the subnet 192.168.2.0. (send
signal USR2 on tinc deamon to dump internal network informations).<br>
<br>
Cédric<br>
<br>
Le 06/01/11 13:01, Perry Couprie a écrit :
<blockquote cite="mid:4D25AF2F.8090004@couprie.net" type="cite">Hi,
<br>
<br>
I have a routing problem.
<br>
<br>
When i start tinc it creates the following route in the main
routing table.
<br>
<br>
192.168.2.0/24 dev nb003004 proto kernel scope link src
192.168.2.8
<br>
<br>
The problem is that i want to use extra routing tables for each
tinc vpn.
<br>
<br>
When i set the netmask for the tinc device to 255.255.255.255.
<br>
<br>
The route is not created, how can i add it to a another route
table.
<br>
<br>
Setting a new route in the extra table is no problem:
<br>
<br>
ip route add table company10703004 10.0.0.0/24 via 192.168.2.7
<br>
<br>
But how can i add the routing for the tinc device to
company10703004 routing table.
<br>
<br>
The following does not work:
<br>
<br>
ip route add table company10703004 192.168.2.0/24 via 192.168.2.8
<br>
ip route add table company10703004 10.0.0.0/24 via 192.168.2.7
<br>
ip route add table company10703004 10.0.11.0/24 via 192.168.2.9
<br>
<br>
Greeting and best wishes for 2011,
<br>
<br>
Perry
<br>
_______________________________________________
<br>
tinc mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:tinc@tinc-vpn.org">tinc@tinc-vpn.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc">http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc</a>
<br>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
<span class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: normal; orphans: 2; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; font-size: medium;"><span
class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: Helvetica; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; font-size: medium;"><span
class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: Helvetica; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; font-size: medium;">
<div><b><font color="#003f80" face="Arial" size="2">Cédric
Lemarchand<br>
</font></b></div>
<div>
<p><font color="#7e7c83" face="Arial" size="1">52 avenue
de l'Europe<br>
78160 Marly-le-Roi<br>
France</font> <br>
<br>
<font color="#003f80" face="Arial" size="2">Tel. +33
(0)1 30 08 88 88<br>
Cell. +33 (0)6 37 23 40 93</font></p>
<p><font color="#003f80" face="Arial" size="2"><img
alt="logo"
src="cid:part1.02020000.07030405@ixcore.com"
height="27" width="177"><br>
</font></p>
</div>
</span></span></span> </div>
</body>
</html>