Commit f363a02a authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Manual page updates.

parent a1d63800
...@@ -209,36 +209,34 @@ If ...@@ -209,36 +209,34 @@ If
is not specified, it defaults to is not specified, it defaults to
.BR allow . .BR allow .
.SH EXAMPLES .SH EXAMPLES
Let You can participate in a Babel mesh network by simply running
.B $IPv6
be one of your node's IPv6 addresses, and suppose that
.B eth1
is a wireless interface. You can participate in a Babel mesh network
by simply running
.IP .IP
# babel \-X $IPv6 0 $IPv6 eth1 # babel \-C 'redistribute local' eth1
.PP .PP
where
.B eth1
is your wireless interface.
In order to gateway between multiple interfaces, just list them all on In order to gateway between multiple interfaces, just list them all on
the command line: the command line:
.IP .IP
# babel $IPv6 eth1 eth0 sit1 # babel \-C 'redistribute local' eth1 eth0 sit1
.PP .PP
If you wish to be reachable by all of your IPv6 addresses, just inject On an access point, you'll probably want to redistribute some external
them into the routing domain as zero-cost external routes: routes into Babel:
.IP .IP
# babel \-X $otherIPv6 0 $IPv6 eth1 # babel \\
.PP \-C 'redistribute local' \\
On an access point, you'll probably want to redistribute some routes \-C 'redistribute metric 256' \\
into Babel: eth1
.IP
# babel \-C 'redistribute metric 256' \-X $IPv6 $IPv6 eth1
.PP .PP
or or, if you want to constrain the routes that you redistribute,
.IP .IP
# babel \\ # babel \\
\-C 'redistribute local' \\
\-C 'redistribute proto 11 ip ::/0 le 64 metric 256' \\ \-C 'redistribute proto 11 ip ::/0 le 64 metric 256' \\
\-C 'redistribute proto 11 ip 0.0.0.0/0 le 24 metric 256' \\ \-C 'redistribute proto 11 ip 0.0.0.0/0 le 24 metric 256' \\
\-X $IPv6 $IPv6 eth1 eth1
.PP .PP
.SH WIRED INTERFACES .SH WIRED INTERFACES
By default, the daemon optimises traffic on wired interfaces by By default, the daemon optimises traffic on wired interfaces by
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment