[packages] babeld: upstream release babeld-1.3.2
[openwrt/svn-archive/archive.git] / net / babel / files / babeld.config
1 package babeld
2
3 config general
4 # option 'multicast_address' 'ff02:0:0:0:0:0:1:6'
5 # option 'port' '6696'
6 # option 'state_file' '/var/lib/babel-state'
7 # option 'hello_interval' '4'
8 # option 'wired_hello_interval' '20'
9 # option 'diversity' '0,128'
10 # option 'kernel_priority' '0'
11 # Do not use this option unless you know what you are doing, as it can
12 # cause persistent route flapping.
13 ## option 'duplication_priority' '0'
14 # option 'carrier_sense' 'false'
15 # option 'assume_wireless' 'false'
16 # option 'no_split_horizon' 'false'
17 # option 'debug' '0'
18 # Listen for connections from a front-end, e.g. on port 33123.
19 ## option 'local_server' '33123'
20 # Keep unfeasible routes
21 ## option 'keep_unfeasible' 'false'
22 # Use the given kernel routing table for routes inserted by babeld.
23 ## option 'export_table' '0'
24 # Export routes from the given kernel routing table.
25 ## option 'import_table' '0'
26 # The configuration file is not necessary since you can do everything
27 # from this file.
28 # option 'conf_file' '/etc/babeld.conf'
29 # option 'log_file' '/var/log/babeld.log'
30
31 # You can use aliases (like lan, wlan) or real names (like eth0.0).
32 # If you use an alias, it must be already defined when babeld starts.
33 # Otherwise, the name is taken literally and the interface can be
34 # brought up later (useful for tunnels for instance).
35 config interface wlan
36 # Remove this line to enable babeld on this interface
37 option 'ignore' 'true'
38 # option 'wired' 'auto'
39 # option 'link_quality' 'auto'
40 # option 'split_horizon' 'auto'
41 # The default is 96 for wired interfaces, and 256 for wireless ones
42 ## option 'rxcost' '256'
43 # The default is specified with the -h and -H command-line flags.
44 ## option 'hello_interval' '4'
45 # This can be set to a fairly large value, unless significant
46 # packet loss is expected. The default is four times the hello
47 # interval.
48 ## option 'update_interval' '16'
49
50 config interface lan
51 option 'ignore' 'true'
52
53 # A filter consists in a type ('in', 'out' or 'redistribute'), an action
54 # ('allow', 'deny' or 'metric xxx') and a set of selectors ('ip', 'eq',
55 # etc.). See /etc/babeld.conf for more details.
56 # Here is a sample filter wich redistributes the default route if its
57 # protocol number is "boot", e.g. when it installed by dhcp. It is
58 # disabled by default.
59 config filter
60 option 'ignore' 'true'
61 # Type
62 option 'type' 'redistribute'
63 # Selectors: ip, eq, le, ge, neigh, id, proto, local, if
64 option 'ip' '0.0.0.0/0'
65 option 'le' '0'
66 option 'proto' '3'
67 # Action
68 option 'action' 'metric 128'
69