Commit 99fbd05d authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Manual page update.

parent c7f860f2
...@@ -3,42 +3,7 @@ ...@@ -3,42 +3,7 @@
babel \- ad-hoc network routing daemon babel \- ad-hoc network routing daemon
.SH SYNOPSIS .SH SYNOPSIS
.B babel .B babel
[ .IR option ...
.B \-m
.I multicast-address
]
[
.B \-p
.I port
] [
.B -S
.I state-file
] [
.B \-h
.I hello-interval
] [
.B \-H
.I wired-hello-interval
] [
.B \-u
.I update-interval
] [
.B \-k
.I kernel-metric
] [
.B \-s
] [
.B \-b
] [
.B \-p
] [
.B \-d
.I level
] [
.B \-n
.I
.I prefix cost
]...
.I address .I address
.IR interface ... .IR interface ...
.SH DESCRIPTION .SH DESCRIPTION
...@@ -46,10 +11,10 @@ Babel is a loop-avoiding distance-vector routing protocol roughly ...@@ -46,10 +11,10 @@ Babel is a loop-avoiding distance-vector routing protocol roughly
based on DSDV and AODV, but with provisions for link cost estimation based on DSDV and AODV, but with provisions for link cost estimation
and injection of external routes. and injection of external routes.
While it is optimised for wireless mesh networks, Babel will also While it is optimised for wireless mesh networks, Babel will also work
work efficiently on classical wired networks. In the worst case, it efficiently on wired networks. In the worst case, it will generate
will generate roughly double the amount of traffic that RIPng would roughly double the amount of traffic that RIPng would generate, while
generate, while never counting to infinity. never counting to infinity.
.SH OPTIONS .SH OPTIONS
.TP .TP
.BI \-m " multicast-address" .BI \-m " multicast-address"
...@@ -63,24 +28,25 @@ Set the name of the file used for preserving long-term information ...@@ -63,24 +28,25 @@ Set the name of the file used for preserving long-term information
between invocations of the between invocations of the
.B babel .B babel
daemon. If this file is deleted, the daemon will run in passive mode daemon. If this file is deleted, the daemon will run in passive mode
for 3 minutes when it is next invoked (see for 3 minutes when it is next started (see
.B -P .B -P
below), and other hosts might initially not accept to route to it. below), and other hosts might initially ignore it. The default is
The default is
.BR /var/lib/babel-state . .BR /var/lib/babel-state .
.TP .TP
.BI \-h " hello-interval" .BI \-h " hello-interval"
Specify the interval in seconds at which periodic hello packets are Specify the interval in seconds at which scheduled hello packets are
sent on wireless interfaces. The default is 8. sent on wireless interfaces. The default is 8.
.TP .TP
.BI \-H " wired-hello-interval" .BI \-H " wired-hello-interval"
Specify the interval in seconds at which periodic hello packets are Specify the interval in seconds at which scheduled hello packets are
sent on wired interfaces. The default is 30. sent on wired interfaces. The default is 30.
.TP .TP
.BI \-u " update-interval" .BI \-u " update-interval"
Specify the interval in seconds at which periodic routing table dumps Specify the interval in seconds at which scheduled routing table dumps
are made on all interfaces. The default is either the wired hello are made on all interfaces. The default is either the wired hello
interval, or 150, whichever is less. interval, or 150, whichever is less. Babel uses triggered updates in
addition to scheduled updates, so this value may be set to a fairly
large value.
.TP .TP
.BI \-k " kernel-metric" .BI \-k " kernel-metric"
Specify a value that will be added to routes' metrics before Specify a value that will be added to routes' metrics before
...@@ -99,6 +65,12 @@ will disable detection of asymmetric links, and is therefore not ...@@ -99,6 +65,12 @@ will disable detection of asymmetric links, and is therefore not
recommended. Messages specific to each peer are always sent on recommended. Messages specific to each peer are always sent on
wireless interfaces. wireless interfaces.
.TP .TP
.BI \-c " cost"
Add
.I cost
to the metrics of advertised routes. This is useful for example when
we are low on battery and hardly eager to forward packets.
.TP
.B \-P .B \-P
Run in parasitic (passive) mode. The daemon will not announce any Run in parasitic (passive) mode. The daemon will not announce any
routes except to itself. routes except to itself.
...@@ -110,11 +82,7 @@ requests tracing every message sent or received. The default is 0. ...@@ -110,11 +82,7 @@ requests tracing every message sent or received. The default is 0.
.TP .TP
.BI \-n " network cost" .BI \-n " network cost"
Advertise an external route for the given network or host with the Advertise an external route for the given network or host with the
given cost. We suggest a cost of 256 \[mu] given cost.
.RI ( n
+ 1) for a network
.I n
hops away.
.I Network .I Network
should be either the string should be either the string
.BR default , .BR default ,
...@@ -123,6 +91,15 @@ or a nework specification in CIDR notation ...@@ -123,6 +91,15 @@ or a nework specification in CIDR notation
If If
.I length .I length
is omitted, it defaults to 128 (a host route). is omitted, it defaults to 128 (a host route).
.I Cost
should either be a 16-bit unsigned integer, or the string
.B infinity
which specifies a blackhole route.
We suggest a cost of 256 \[mu]
.I n
for a network
.I n
hops away.
.TP .TP
.I address .I address
The IPv6 address that the node should advertise for itself. The IPv6 address that the node should advertise for itself.
...@@ -133,7 +110,7 @@ of 0.) ...@@ -133,7 +110,7 @@ of 0.)
The list of interfaces on which the protocol should operate. The list of interfaces on which the protocol should operate.
.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
sending fewer periodic hello messages and performing split-horizon sending fewer scheduled hello messages and performing split-horizon
processing. These optimisations can be disabled by using the processing. These optimisations can be disabled by using the
.B -H .B -H
and and
...@@ -167,8 +144,8 @@ protocol's operation. ...@@ -167,8 +144,8 @@ protocol's operation.
Since Babel uses link-local addresses only, there is no need to update Since Babel uses link-local addresses only, there is no need to update
firewalls to allow forwarding of Babel protocol packets. If filtering firewalls to allow forwarding of Babel protocol packets. If filtering
is done on a host, UDP datagrams to the protocol port should be is done on a host, UDP datagrams to the protocol port should be
opened. As Babel uses unicast packets in some cases, just allowing allowed. As Babel uses unicast packets in some cases, it is not
packets destined to the multicast address is not enough. enough to just allow packets destined to Babel's multicast address.
.SH BUGS .SH BUGS
Plenty. This is experimental software, run at your own risk. Plenty. This is experimental software, run at your own risk.
.SH SEE ALSO .SH SEE ALSO
......
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