On Thu, Nov 29, 2012 at 01:48:28PM +0800, Narcissus Emi wrote: > 2012/11/29 7:07 "albi" <[email protected]>: > > > 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 <[email protected]>
signature.asc
Description: Digital signature
_______________________________________________ tinc mailing list [email protected] http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
