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