add docs for babeld how to set the src ip

Signed-off-by: Marek Küthe <m.k@mk16.de>
This commit is contained in:
Marek Küthe 2023-01-09 00:15:05 +01:00
parent 08de6a67bb
commit 48b4ca9a37
No known key found for this signature in database
GPG Key ID: 7E869146699108C7
1 changed files with 7 additions and 0 deletions

View File

@ -44,6 +44,8 @@ redistribute deny
in ip <OWNNET> deny in ip <OWNNET> deny
in ip fd00::/8 le 64 ge 44 allow in ip fd00::/8 le 64 ge 44 allow
in deny in deny
install pref-src <OWNIP>
``` ```
Replace `<OWNNET>` with your prefix and `<OWN LENGTH>` with your prefix length. Replace `<OWNNET>` with your prefix and `<OWN LENGTH>` with your prefix length.
@ -88,6 +90,11 @@ in deny
Here the filters are defined, which routes are filtered from neighbors. Here the filters are defined, which routes are filtered from neighbors.
The own route is not accepted. Only ULA addresses are accepted. All other routes are filtered. The own route is not accepted. Only ULA addresses are accepted. All other routes are filtered.
```
install pref-src <OWNIP>
```
This instruction ensures that the routes are installed with their own IP address as the source address.
The `out` and `install` filters are omitted. The babeld routing table contains only CRXN routes. Therefore no filtering must be made with the export into the kernel or to neighbors. The `out` and `install` filters are omitted. The babeld routing table contains only CRXN routes. Therefore no filtering must be made with the export into the kernel or to neighbors.
### Filter ### Filter