diff --git a/etc/babeld.conf b/etc/babeld.conf new file mode 100644 index 0000000..b944bc3 --- /dev/null +++ b/etc/babeld.conf @@ -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 / deny diff --git a/etc/default/babeld b/etc/default/babeld new file mode 100644 index 0000000..6f8512a --- /dev/null +++ b/etc/default/babeld @@ -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"