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