737718c69299ff1a7f4620635898a276fcde1807
internal/Anycast-Wiki.md
... | ... | @@ -25,7 +25,7 @@ gollum --css <path>/custom.css --gollum-path <path>/public_html/ --host 127.0.0. |
25 | 25 | gollum --css <path>/custom.css --gollum-path <path>/public_html/ --host 127.0.0.1 --port 4567 --no-edit |
26 | 26 | ``` |
27 | 27 | |
28 | -###Install/configure nginx: |
|
28 | +###Setup nginx: |
|
29 | 29 | |
30 | 30 | ##### /etc/nginx/sites-enabled/wiki.dn42: |
31 | 31 | |
... | ... | @@ -75,7 +75,36 @@ server { |
75 | 75 | } |
76 | 76 | } |
77 | 77 | |
78 | -###Setup [ExaBGP](https://github.com/Exa-Networks/exabgp) |
|
78 | +``` |
|
79 | + |
|
80 | +###Setup [ExaBGP](https://github.com/Exa-Networks/exabgp): |
|
81 | + |
|
82 | +#####exabgp.conf: |
|
83 | + |
|
84 | +``` |
|
85 | + |
|
86 | +group gollum-watchdog { |
|
87 | + neighbor <peer1> { |
|
88 | + router-id x.x.x.x; |
|
89 | + local-address <source-address>; |
|
90 | + local-as <ownas>; |
|
91 | + peer-as <peeras>; |
|
92 | + } |
|
93 | + |
|
94 | + ## (example) peer with one of our iBGP speakers: |
|
95 | + neighbor <172.22.0.1> { |
|
96 | + router-id 172.23.0.80; |
|
97 | + local-address <172.22.0.2>; |
|
98 | + local-as 123456; |
|
99 | + peer-as 123456; |
|
100 | + } |
|
101 | + |
|
102 | + ## ... |
|
103 | + |
|
104 | + process watch-gollum { |
|
105 | + run /etc/exabgp/gollum-watchdog.sh; |
|
106 | + } |
|
107 | +} |
|
79 | 108 | |
80 | 109 | ``` |
81 | 110 |