Update peering.md

This commit is contained in:
Tristan B. Kildaire 2021-02-19 15:52:34 +02:00 committed by GitHub
parent c171d9eb63
commit 7f2e9c8e41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -114,8 +114,8 @@ You will want to add the following lines to your `/etc/babeld.conf`:
# Redistribute all CRXN (10/8) routes
redistribute ip 10.0.0.0/8 ge 8
# Redistribute all CRXN (IPv6 - fd00/8)
redistribute ip fd00::/8 ge 8
# Redistribute all CRXN (IPv6 - fd8a:6111:3b1a::/48)
redistribute ip fd8a:6111:3b1a::/48 ge 48
```
This will redistribute routes from your kernel's routing table that match the subnets described (CRXN IPv4 `10/8` and IPv6 `fd00::/8`) into babel's internal routing table which will then be exported to neighbouring babel routers. Babel will learn any routes that are distributed into it (**TODO**: We could filter here too, with `in`).