Merge pull request #243 from ecsv/batman-adv-2016.5
[feed/routing.git] / babeld / files / babeld.conf
1 # babel config file
2 #
3 # This config file simply documents sample entries.
4 # "redistribute" means: redistribute routes from other routing protocols
5 # into babel. "local" means addresses assigned to local interfaces.
6 #
7 # You do not need to edit this file: you can use /etc/config/babeld
8 # instead (sections "interface" and "filter"). Both files can be used
9 # simultaneously (the rules of this file are executed first).
10
11 # the default rules are:
12 #
13 ## redistribute local
14 ## redistribute deny
15 #
16 # this says, redistribute local addresses but no other routes
17
18
19 # redistribute IPv4 default route into babel
20 ## redistribute local ip 0.0.0.0/0 le 0 metric 128
21
22 # same but for IPv6
23 ## redistribute local ip ::/0 le 0 metric 128
24
25
26 # don't redistribute all local addresses, only selected ones
27 # after the first line, the "deny" rules kicks in. After the "deny"
28 # no redistribute local rules are going to match
29 ## redistribute local ip 192.160.4.0/24
30 ## redistribute local deny
31
32
33 # Babel refuses to redistribute routes with a protocol number of "boot";
34 # this is standard practice, and means that you cannot easily
35 # redistribute the default route installed by dhcp. It is however
36 # possible to redistribute such route by explicitly specifying "proto 3"
37 # on the redistribute line.
38 ## redistribute ip 0.0.0.0/0 le 0 proto 3 metric 128