default gate via tinc

Guus Sliepen guus at tinc-vpn.org
Thu Nov 29 10:05:27 CET 2012


On Thu, Nov 29, 2012 at 01:48:28PM +0800, Narcissus Emi wrote:

> 2012/11/29 7:07 "albi" <albi at life.de>:
> 
> > I have two tinc nodes which announce default gate to internet.
> > How does tinc select which node is prefered when I route to the tinc
> > device and not a special ip?
> > tinc 1.0.16
> 
> You can use switch mode to assign the specific  node as your gateway. On
> router mode seems like it will automatically  choose one of it as your
> gateway and cannot switch  from them.

You can give each gateway's Subnet a weight, the one with the lower weight is
preferred. Currently, if you have two identical Subnets with the same weight,
the one owned by the node whose name sorts lower alphabetically is preferred.

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20121129/6aa9f3ff/attachment.pgp>


More information about the tinc mailing list