cf1246a85edeb709ffbf4d80885c2bee417f5ee9
services/Route-Collector.md
| ... | ... | @@ -14,8 +14,8 @@ The collector uses the dynamic peering capability in Bird2 to allow anyone to pe |
| 14 | 14 | |:--|:--| |
| 15 | 15 | | ASN | AS4242422602 | |
| 16 | 16 | | Hostname | collector.dn42 | |
| 17 | -| IPv4 Address | 172.20.129.4 | |
|
| 18 | -| IPv6 Address | fd42:4242:2601:ac12::1 | |
|
| 17 | +| IPv4 Address | 172.20.0.179 | |
|
| 18 | +| IPv6 Address | fd42:d42:d42:179::1 | |
|
| 19 | 19 | |
| 20 | 20 | ### BGP Configuration |
| 21 | 21 | |
| ... | ... | @@ -29,7 +29,7 @@ Example bird2 config: |
| 29 | 29 | protocol bgp ROUTE_COLLECTOR |
| 30 | 30 | { |
| 31 | 31 | local as ***YOUR_ASN***; |
| 32 | - neighbor fd42:4242:2601:ac12::1 as 4242422602; |
|
| 32 | + neighbor fd42:d42:d42:179::1 as 4242422602; |
|
| 33 | 33 | |
| 34 | 34 | # enable multihop as the collector is not locally connected |
| 35 | 35 | multihop; |
| ... | ... | @@ -74,7 +74,7 @@ neighbor should be defined separately (outside the |
| 74 | 74 | `dn42peers` group)): |
| 75 | 75 | |
| 76 | 76 | ```conf |
| 77 | -neighbor fd42:4242:2601:ac12::1 { |
|
| 77 | +neighbor fd42:d42:d42:179::1 { |
|
| 78 | 78 | local-address <YOUR-ROUTER-DN42-IPv6> |
| 79 | 79 | descr dn42grc |
| 80 | 80 | remote-as 4242422602 |
| ... | ... | @@ -86,18 +86,18 @@ neighbor fd42:4242:2601:ac12::1 { |
| 86 | 86 | |
| 87 | 87 | # [...] |
| 88 | 88 | |
| 89 | -allow to {group dn42peers fd42:4242:2601:ac12::1} prefix-set dn42etc |
|
| 89 | +allow to {group dn42peers fd42:d42:d42:179::1} prefix-set dn42etc |
|
| 90 | 90 | ``` |
| 91 | 91 | |
| 92 | 92 | Example VyOS 1.4 "Sagitta" config |
| 93 | 93 | ``` |
| 94 | 94 | # The route collector should never export routes, so let's make a route-map to reject them if it does. |
| 95 | 95 | set policy route-map Deny-All rule 1 action deny |
| 96 | -set protocols bgp neighbor fd42:4242:2601:ac12::1 address-family ipv4-unicast route-map import 'Deny-All' |
|
| 97 | -set protocols bgp neighbor fd42:4242:2601:ac12::1 address-family ipv6-unicast route-map import 'Deny-All' |
|
| 98 | -set protocols bgp neighbor fd42:4242:2601:ac12::1 description 'https://lg.collector.dn42' |
|
| 99 | -set protocols bgp neighbor fd42:4242:2601:ac12::1 ebgp-multihop '10' |
|
| 100 | -set protocols bgp neighbor fd42:4242:2601:ac12::1 remote-as '4242422602' |
|
| 96 | +set protocols bgp neighbor fd42:d42:d42:179::1 address-family ipv4-unicast route-map import 'Deny-All' |
|
| 97 | +set protocols bgp neighbor fd42:d42:d42:179::1 address-family ipv6-unicast route-map import 'Deny-All' |
|
| 98 | +set protocols bgp neighbor fd42:d42:d42:179::1 description 'https://lg.collector.dn42' |
|
| 99 | +set protocols bgp neighbor fd42:d42:d42:179::1 ebgp-multihop '10' |
|
| 100 | +set protocols bgp neighbor fd42:d42:d42:179::1 remote-as '4242422602' |
|
| 101 | 101 | |
| 102 | 102 | ``` |
| 103 | 103 | |
| ... | ... | @@ -129,6 +129,8 @@ The collector runs [bird_exporter](https://github.com/czerwonk/bird_exporter) an |
| 129 | 129 | |
| 130 | 130 | ### SSH Interface |
| 131 | 131 | |
| 132 | +**Update**: The SSH interface is currently not available, but will be enabled in the future. |
|
| 133 | + |
|
| 132 | 134 | The collector bird instance can be queried directly using a birdc shell. |
| 133 | 135 | |
| 134 | 136 | - ssh [email protected] |