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