subnet-down

Lars Kruse lists at sumpfralle.de
Thu Mar 23 00:03:18 CET 2017


Hi,


Am Wed, 22 Mar 2017 07:51:23 +0100
schrieb Guus Sliepen <guus at tinc-vpn.org>:

> [..]
> 1. Use different weights for the otherwise identical Subnets, and ensure
>    you pass that along to the route up/down commands so the kernel can also
>    distinguish them.

in linux the following command within "subnet-up" accomplishes that behaviour:

 ip route add "$SUBNET" dev "$INTERFACE" metric "$WEIGHT"


Cheers,
Lars
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20170323/711f127a/attachment.sig>


More information about the tinc mailing list