babel-config

This commit is contained in:
root 2017-11-18 21:06:47 +01:00
parent 77d7b6938a
commit 7d3f1b0624
2 changed files with 57 additions and 0 deletions

49
etc/babeld.conf Normal file
View File

@ -0,0 +1,49 @@
# For more information about this configuration file, refer to
# babeld(8)
#Defaultwerte für die Schnittstellen setzen:
#default wired true max-rtt-penalty 128
#Falls einzelne Schnittstellen abweichend konfiguriert werden müssen:
interface fff-has2 wired true max-rtt-penalty 128
interface fff-has wired true max-rtt-penalty 128
interface fff-wue1 wired true max-rtt-penalty 128
interface fff-sw wired true max-rtt-penalty 128
#interface IF2 wired true max-rtt-penalty 128
#interface IF2 wired true max-rtt-penalty 128
#... einfach weiterführen für mehr Interfaces.
export-table 10
import-table 10
# redistribute IPv4 default route into babel
## redistribute local ip 0.0.0.0/0 le 0 metric 128
# Babel refuses to redistribute routes with a protocol number of "boot";
# this is standard practice, and means that you cannot easily
# redistribute the default route installed by dhcp. It is however
# possible to redistribute such route by explicitly specifying "proto 3"
# on the redistribute line.
## redistribute ip 0.0.0.0/0 le 0 proto 3 metric 128
# same but for IPv6
## redistribute local ip ::/0 le 0 metric 128
##redistribute metric 128 #grad nicht ganz sicher ob so richtig
#redistribute local ip 10.0.0.0/8
##redistribute local deny
#redistribute ip 0.0.0.0/0 le 0
#iredistribute ip 10.50.96.0/21 le 22
##redistribute ip 10.0.0.0/8
redistribute local ip 10.50.0.0/16
redistribute local ip 10.83.0.0/16
redistribute local ip fd43:5602:29bd::/48
redistribute local deny
redistribute ip 10.50.0.0/16
redistribute ip 10.83.0.0/16
redistribute ip fd43:5602:29bd::/48
local-port 33123
#local-port-readwrite 34567 #funktioniert anscheinend nicht!
#in ip <AB-Range 1>/<Sub> deny

8
etc/default/babeld Normal file
View File

@ -0,0 +1,8 @@
# Defaults for babeld initscript
# sourced by /etc/init.d/babeld
# List of interfaces on which the protocol should operate
INTERFACES="fff-has2 fff-has fff-wue1 fff-sw"
# Additional arguments
DAEMON_ARGS="-S /var/lib/babeld/state"