Commit 46cce3ef authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Update manual page.

parent 10d8b2fb
...@@ -63,10 +63,6 @@ Specify a value that will be added to routes' metrics before ...@@ -63,10 +63,6 @@ Specify a value that will be added to routes' metrics before
installing them in the kernel; this is useful when a single node installing them in the kernel; this is useful when a single node
participates in multiple routing protocols. The default is 0. participates in multiple routing protocols. The default is 0.
.TP .TP
.B \-4
Participate in IPv4 routing. IPv4 forwarding will happen on all
interfaces that have been assigned an IPv4 address.
.TP
.B \-l .B \-l
Use IFF_RUNNING (carrier sense) when determining interface availability. Use IFF_RUNNING (carrier sense) when determining interface availability.
.TP .TP
...@@ -77,12 +73,6 @@ Don't optimise wired links, assume all interfaces are wireless. ...@@ -77,12 +73,6 @@ Don't optimise wired links, assume all interfaces are wireless.
Do not perform split-horizon processing on wired interfaces. Do not perform split-horizon processing on wired interfaces.
Split-horizon is never performed on wireless interfaces. Split-horizon is never performed on 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 only announce Run in parasitic (passive) mode. The daemon will only announce
redistributed routes. redistributed routes.
...@@ -94,8 +84,8 @@ requests tracing every message sent or received. A value of ...@@ -94,8 +84,8 @@ requests tracing every message sent or received. A value of
3 additionally dumps all interactions with the OS kernel. The default 3 additionally dumps all interactions with the OS kernel. The default
is 0. is 0.
.TP .TP
.BI \-x " network cost" .BI \-X " network cost"
Redistribute a route for the given network or host with the given Advertise a route for the given network or host with the given
cost. cost.
.I Network .I Network
should be either the string should be either the string
...@@ -110,14 +100,10 @@ should either be a 16-bit unsigned integer, or the string ...@@ -110,14 +100,10 @@ should either be a 16-bit unsigned integer, or the string
.B infinity .B infinity
which specifies a blackhole route. Babel itself uses a cost of 256 which specifies a blackhole route. Babel itself uses a cost of 256
for a lossless wireless link, and a cost of 128 for a functioning for a lossless wireless link, and a cost of 128 for a functioning
wired link. wired link. This is normally only used for advertising the local
.TP addresses of this machine. Use for any other purpose is discrouraged,
.BI \-X " network cost" as it can cause persistent routing loops. Redistributing a static
Advertise a route for the given network or host with the given cost, route is a safer alternative.
even if it is not currently installed. This is normally used for
advertising the local addresses of this machine. Use of this option
for any other purpose is discouraged, as it can cause persistent
routing loops.
.TP .TP
.BI \-t " table" .BI \-t " table"
Use the given kernel routing table for routes inserted by Babel. Use the given kernel routing table for routes inserted by Babel.
...@@ -125,6 +111,13 @@ Use the given kernel routing table for routes inserted by Babel. ...@@ -125,6 +111,13 @@ Use the given kernel routing table for routes inserted by Babel.
.BI \-T " table" .BI \-T " table"
Export routes from the given kernel routing table. Export routes from the given kernel routing table.
.TP .TP
.BI \-c " filename"
Specify the name of the configuration file. The default is
.BR /etc/babel.conf .
.TP
.BI \-C " statement"
Specify a configuration statement directly on the command line.
.TP
.I id .I id
The router-id of this daemon. This should normally be an IPv6 address The router-id of this daemon. This should normally be an IPv6 address
of this machine, but can be any unique 128-bit string. of this machine, but can be any unique 128-bit string.
...@@ -152,9 +145,10 @@ them into the routing domain as zero-cost external routes: ...@@ -152,9 +145,10 @@ them into the routing domain as zero-cost external routes:
.IP .IP
# babel \-X $otherIPv6 0 $IPv6 eth1 # babel \-X $otherIPv6 0 $IPv6 eth1
.PP .PP
On an access point, you'll probably want to redistribute the default route: On an access point, you'll probably want to redistribute some routes
into Babel:
.IP .IP
# babel \-x ::/0 256 $IPv6 eth1 # babel -X $IPv6 \-C 'redistribute metric 256' $IPv6 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