Merge pull request 'add docs for babeld how to set the src ip' (#30) from mark22k/docs:babeld_srcip into master

Reviewed-on: https://codeberg.org/CRXN/docs/pulls/30
This commit is contained in:
Marek Küthe 2023-01-11 07:39:58 +00:00
commit 0bffa781a3
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