diff --git a/docs/routing/babeld/babeld.md b/docs/routing/babeld/babeld.md index 201a157..5fd7e3c 100644 --- a/docs/routing/babeld/babeld.md +++ b/docs/routing/babeld/babeld.md @@ -174,6 +174,28 @@ With the command `dump` you can display the current status: ``` dump ``` +This should produce an output according to the following scheme: +``` +add interface up true ipv6 +``` +The configured interfaces are displayed here. Here `` is the interface name and `` is the own IPv6 link-local address. + +``` +add neighbour address if reach ffff ureach 0000 rxcost txcost cost +``` +The babel neighbors are displayed here. Here `` is the router ID of the neighbor. `` is the link-local address of the peer and `` is the interface over which the peer is connected. `` describes the amount of cost it takes to send data from the peer to us. These costs are set by us manually or automatically by babeld. +`` describes the amount of cost it takes to send data to the peer. This value is set by the peer. +Information on how costs are calculated can be found in [RFC8966 3.4.3](https://www.rfc-editor.org/rfc/rfc8966#cost-computation) and [RFC8966 Appendix A](https://www.rfc-editor.org/rfc/rfc8966#name-cost-and-metric-computation). + +``` +add xroute -::/0 prefix from ::/0 metric 0 +``` +The networks that originate from us are displayed here. This should only be our own network. Here `` is the network we originate. + +``` +add route prefix from ::/0 installed id metric refmetric via if +``` +The routes learned from the babel neighbors are displayed here. Here `` is the router ID of the neighbor and `` is the prefix learned about the neighbor. `` is either `yes` or `no`. If `yes` the route was exported to the kernel, if `no` it was not. `` shows the cost of consuming to reach the prefix via this route. `` shows the cost our neighbor needs to reach the prefix. `` shows the nexthop, which is normally the IPv6 link-local address of our neighbor. `` shows the interface this route goes through. `` is a unique ID to a route. The route keeps its ID until it is flushed. ## Further links @@ -183,5 +205,7 @@ dump - [babeld FAQ](https://www.irif.fr/~jch/software/babel/faq.html) - [babeld mailling list](https://alioth-lists.debian.net/pipermail/babel-users/) - [babeld source code](https://github.com/jech/babeld) +- [RFC8966](https://www.rfc-editor.org/rfc/rfc8966) - [Babel configuration by RĂ©seau Libre](https://wiki.reseaulibre.ca/documentation/babel/) - [Babel in Freifunk Franken (German)](https://wiki.freifunk-franken.de/w/Freifunk-Gateway_aufsetzen/babeld) +