Commit 6fc23307 authored by nanahira's avatar nanahira

Merge branch 'babeld' of git.mycard.moe:mycard/network

parents 27c0bf0f 5b365cbb
# MyCard babeld
debug 1
# debug 1
# router-id 00:00:00:00:00:00:00:03
redistribute local ip 10.198.0.0/24
{% for subnet in localSubnets %}
......@@ -13,9 +13,9 @@ local-port-readwrite 33123
{% for connection in connections %}
{% if connection.protocol != "null" and not (connection.protocol == "oc" and connection.ocType == "server") and connection.remoteLocalAddress != address %}
{% if connection.inbound %}
interface {{connection.name}} type tunnel rxcost {{connection.metric}} faraway true rtt-max 500
interface {{connection.name}} type tunnel rxcost {{connection.metric}} faraway true link-quality true
{% else %}
interface {{connection.name}} type tunnel rxcost 50000 faraway true rtt-max 500
interface {{connection.name}} type tunnel rxcost 50000 faraway true link-quality true
{% endif %}
{% endif %}
{% endfor %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment