8c816bcddb98d3d05b69139aa03272f9622a2612
services/Anycast-Wiki.md
... | ... | @@ -89,6 +89,10 @@ server { |
89 | 89 | |
90 | 90 | ### [ExaBGP](https://github.com/Exa-Networks/exabgp) |
91 | 91 | |
92 | +##### Announcing |
|
93 | + |
|
94 | +The prefix AS-PATH should show the announcement is originating from your AS. After peering ExaBGP to the nearest speaker(s), check if the prefix is routing properly inside your network. Try not to blackhole the passing traffic (e.g. no static routes to `172.23.0.80/28`). Test the whole thing by shutting down nginx/gollum and watch what happens. |
|
95 | + |
|
92 | 96 | ##### exabgp.conf: |
93 | 97 | |
94 | 98 | ``` |
... | ... | @@ -118,12 +122,12 @@ group gollum-watchdog { |
118 | 122 | |
119 | 123 | ``` |
120 | 124 | |
125 | +##### gollum-watchdog.sh: |
|
126 | + |
|
121 | 127 | Watchdog runs in an infinite loop, sending the appropriate commands to stdout. [ExaBGP](https://github.com/Exa-Networks/exabgp) attaches to the process' stdout and listens for instructions. Watchdog sends either a route announce or widthdraw. |
122 | 128 | |
123 | 129 | Run the script in a shell first to validate it's working. |
124 | 130 | |
125 | -##### gollum-watchdog.sh: |
|
126 | - |
|
127 | 131 | ``` |
128 | 132 | #!/bin/bash |
129 | 133 | |
... | ... | @@ -241,8 +245,6 @@ exit 0 |
241 | 245 | |
242 | 246 | ``` |
243 | 247 | |
244 | -### Announcing |
|
245 | 248 | |
246 | -The prefix AS-PATH should show the announcement is originating from your AS. After peering ExaBGP to the nearest speaker(s), check if the prefix is routing properly inside your network. Try not to blackhole the passing traffic (e.g. no static routes to `172.23.0.80/28`). Test the whole thing by shutting down nginx/gollum and watch what happens. |
|
247 | 249 | |
248 | 250 | |
... | ... | \ No newline at end of file |