package babeld
-# Configuration set in this file ends up in /var/etc/babeld.conf
-# Babeld is told to use both /etc/babeld.conf and /var/etc/babeld.conf,
-# so you can use one or the other, or even both at the same time.
+# Configuration set in this file ends up in /var/etc/babeld.conf.
+# Babeld is told to use both /etc/babeld.conf and /var/etc/babeld.conf, so
+# you can use one or the other, or even both at the same time. If an
+# option is defined in both files, the version in /var/etc/babeld.conf
+# takes precedence.
# See "man babeld" for all available options ("Global options").
# Important: remember to use '_' instead of '-' in option names.
# option 'debug' '1'
# option 'local_port' '33123'
# option 'log_file' '/var/log/babeld.log'
+ ## Enable ipv6-subtrees by default since OpenWrt should ship with a
+ ## recent enough kernel for it to work.
+ option 'ipv6_subtrees' 'true'
## This seems somewhat buggy on BB. If you need only one
## import-table statement, "option import_table 42" should work.
# list 'import_table' '42'
option 'ignore' 'true'
# Type
option 'type' 'redistribute'
- # Selectors: ip, eq, le, ge, neigh, id, proto, local, if
+ # Selectors: ip, eq, le, ge, src_ip, src_eq, src_le, src_ge, neigh, id,
+ # proto, local, if.
option 'ip' '0.0.0.0/0'
option 'eq' '0'
option 'proto' '3'
- # Action
+ # Action (one of: allow, deny, metric XXX, src-prefix XXX).
option 'action' 'metric 128'
# Notice that the 'local' selector is a boolean.