On Thu, Jan 06, 2011 at 09:11:04PM +0100, Perry Couprie wrote:
> On 01/06/2011 01:48 PM, ZioPRoTo (Saverio Proto) wrote:
> >>But how can i add the routing for the tinc device to company10703004 routing
> >>table.
> >you need to set up some policy with "ip rule" to make the desired
> >traffic match
I try to explain it better:
I have two company tinc vpns.
Each company has a tinc interface and 1 or more eth devices.
For example:
company01: tinc01 and eth0,eth1
company02: tinc02 and eth2,eth3
With default routing the 2 company networks can connect to each other
networks.
By using the ex
> But how can i add the routing for the tinc device to company10703004 routing
> table.
you need to set up some policy with "ip rule" to make the desired
traffic match that extra table
example:
ip rule add to 192.168.2.0/24 table company10703004
read the manual for more complex examples.
Saver
Hi,
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 :
ip r a 192.168.2.0/24 dev nb003004
This will send all traffic destined to 192.168.2.0/24 via the
Hi,
I have a routing problem.
When i start tinc it creates the following route in the main routing table.
192.168.2.0/24 dev nb003004 proto kernel scope link src 192.168.2.8
The problem is that i want to use extra routing tables for each tinc vpn.
When i set the netmask for the tinc device