Browse Source

Update peering.md

master
Tristan B. Kildaire 7 months ago
committed by GitHub
parent
commit
7f2e9c8e41
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      docs/peering.md

4
docs/peering.md

@ -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`).

Loading…
Cancel
Save