X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=doc%2Ftinc.texi;h=5957997cda7b7ebaf54954b0772fa6ee8cddf9b7;hp=ce5b0b4c3867c8dccfbcb3b3b5889f75e3a8344b;hb=5674bba5c54c1aee3a4ac5b3aba6b3ebded91bbc;hpb=76a1bcaffcf1f1abf81fdda379b703a004640cb4 diff --git a/doc/tinc.texi b/doc/tinc.texi index ce5b0b4c..5957997c 100644 --- a/doc/tinc.texi +++ b/doc/tinc.texi @@ -1015,7 +1015,7 @@ in each host configuration file, if you want to be able to establish a connection with that host. @cindex Subnet -@item Subnet = <@var{address}[/@var{prefixlength}]> +@item Subnet = <@var{address}[/@var{prefixlength}[#@var{weight}]]> The subnet which this tinc daemon will serve. Tinc tries to look up which other daemon it should send a packet to by searching the appropiate subnet. If the packet matches a subnet, @@ -1039,6 +1039,12 @@ example: netmask 255.255.255.0 would become /24, 255.255.252.0 becomes /22. This conforms to standard CIDR notation as described in @uref{ftp://ftp.isi.edu/in-notes/rfc1519.txt, RFC1519} +A Subnet can be given a weight to indicate its priority over identical Subnets +owned by different nodes. The default weight is 10. Lower values indicate +higher priority. Packets will be sent to the node with the highest priority, +unless that node is not reachable, in which case the node with the next highest +priority will be tried, and so on. + @cindex TCPonly @item TCPonly = (no) If this variable is set to yes, then the packets are tunnelled over a