bgp.conf 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. # Gitoyen <contact@gitoyen.net>
  2. #
  3. # vim: set ts=4:sw=4
  4. #
  5. # Default configuration for all bgp templates
  6. #
  7. template bgp tpl_bgp {
  8. # Use MED for routes received by different ASes
  9. med metric;
  10. }
  11. #
  12. # iBGP: Backbone
  13. #
  14. template bgp ibgp from tpl_bgp {
  15. direct;
  16. gateway direct;
  17. preference 50;
  18. local as 20766;
  19. next hop self;
  20. import where bgp_import(20766,"core",0,100);
  21. export where bgp_export(20766,"core");
  22. }
  23. protocol bgp core_xray from ibgp {
  24. description "X-Ray - iBGP";
  25. neighbor 2001:910::4 as 20766;
  26. }
  27. protocol bgp core_vodka from ibgp {
  28. description "Vodka - iBGP";
  29. neighbor 2001:910::7 as 20766;
  30. }
  31. #
  32. # Member: FDN
  33. #
  34. template bgp tpl_fdn from tpl_bgp {
  35. local as 20766;
  36. description "Livraison FDN";
  37. import where bgp_import(65055,"member",50000,500);
  38. export where bgp_export(65055,"default");
  39. }
  40. protocol bgp member_fdn1 from tpl_fdn {
  41. neighbor 2001:910:0:800::213 as 65055;
  42. }
  43. protocol bgp member_fdn2 from tpl_fdn {
  44. neighbor 2001:910:0:800::214 as 65055;
  45. }
  46. #
  47. # Member: Lorraine Data Network
  48. #
  49. template bgp tpl_ldn from tpl_bgp {
  50. local as 20766;
  51. import keep filtered;
  52. description "Livraison Lorraine Data Network";
  53. import where bgp_import(60197,"member",40000,500);
  54. export where bgp_export(60197,"full");
  55. }
  56. protocol bgp member_ldn1 from tpl_ldn {
  57. # cannibalon
  58. neighbor 2001:910:0:171::197 as 60197;
  59. }
  60. protocol bgp member_ldn2 from tpl_ldn {
  61. # eternium
  62. neighbor 2001:910:0:171::198 as 60197;
  63. }
  64. protocol bgp member_ldn3 {
  65. # midway network (AS204708)
  66. description "Livraison Lorraine Data Network - Midways Network";
  67. local as 20766;
  68. neighbor 2001:910:0:171::195 as 204708;
  69. import where bgp_import(204708,"member",40000,500);
  70. export where bgp_export(204708,"full");
  71. }
  72. #
  73. # Member: Neutrinet
  74. #
  75. template bgp tpl_neutrinet from tpl_bgp {
  76. local as 20766;
  77. description "Livraison Neutrinet";
  78. import where bgp_import(204059,"member",40000,500);
  79. export where bgp_export(204059,"members");
  80. }
  81. protocol bgp member_neutrinet from tpl_neutrinet {
  82. neighbor 2001:910:0:108::238 as 204059;
  83. }
  84. #
  85. # Transit: Absolight
  86. #
  87. template bgp tpl_absolight from tpl_bgp {
  88. local as 20766;
  89. description "Transit Absolight";
  90. import where bgp_import(29608,"transit",10004,500);
  91. export where bgp_export(29608,"members");
  92. }
  93. protocol bgp transit_absolight from tpl_absolight {
  94. neighbor 2a01:678:1000:1::1 as 29608;
  95. description "Transit Absolight";
  96. }
  97. #
  98. # Transit: Ielo (th2)
  99. #
  100. template bgp tpl_ielo {
  101. local as 20766;
  102. description "Transit Ielo (th2)";
  103. import where bgp_import(29075,"transit",10003,500);
  104. export where bgp_export(29075,"members");
  105. }
  106. protocol bgp transit_ielo from tpl_ielo {
  107. neighbor 2a02:2178:3:5::1 as 29075;
  108. description "Transit Ielo (th2)";
  109. }
  110. #
  111. # Peering: Grenode
  112. #
  113. template bgp tpl_grenode from tpl_bgp {
  114. local as 20766;
  115. description "Peering Grenode";
  116. import where bgp_import(51083,"peering",30000,500);
  117. export where bgp_export(51083,"members");
  118. }
  119. protocol bgp peering_grenode1 from tpl_grenode {
  120. neighbor 2001:910:0:116::222 as 51083;
  121. }
  122. #
  123. # Peering: FranceIX
  124. #
  125. template bgp tpl_franceix_rs from tpl_bgp {
  126. local as 20766;
  127. import where bgp_import(51706,"peering",26000,210);
  128. export where bgp_export(51706,"members");
  129. import limit 30000;
  130. }
  131. template bgp tpl_franceix_peers from tpl_bgp {
  132. local as 20766;
  133. import where bgp_import(51706,"peering",26000,200);
  134. export where bgp_export(51706,"members");
  135. import limit 10000;
  136. }
  137. protocol bgp franceix_rs1 from tpl_franceix_rs {
  138. neighbor 2001:7f8:54::250 as 51706;
  139. description "FranceIX Route Server 1";
  140. }
  141. protocol bgp franceix_rs2 from tpl_franceix_rs {
  142. neighbor 2001:7f8:54::251 as 51706;
  143. description "FranceIX Route Server 2";
  144. }
  145. protocol bgp franceix_6939 from tpl_franceix_peers {
  146. neighbor 2001:7f8:54::10 as 6939;
  147. description "FranceIX / AS-HURRICANE";
  148. import limit 50000;
  149. }
  150. protocol bgp franceix_20562 from tpl_franceix_peers {
  151. neighbor 2001:7f8:54::68 as 20562;
  152. description "FranceIX / AS-OPENPEERING-EU";
  153. }
  154. protocol bgp franceix_34019 from tpl_franceix_peers {
  155. neighbor 2001:7f8:54::71 as 34019;
  156. description "FranceIX / AS-HIVANE";
  157. }
  158. protocol bgp franceix_42473 from tpl_franceix_peers {
  159. neighbor 2001:7f8:54::85 as 42473;
  160. description "FranceIX / AS-ANEXIA";
  161. }
  162. protocol bgp franceix_197692 from tpl_franceix_peers {
  163. neighbor 2001:7f8:54::133 as 197692;
  164. description "FranceIX / AS-CONOSTIX";
  165. }
  166. protocol bgp franceix_29467 from tpl_franceix_peers {
  167. neighbor 2001:7f8:54::227 as 29467;
  168. description "FranceIX / AS-LUXNETWORK";
  169. }
  170. protocol bgp franceix_197422 from tpl_franceix_peers {
  171. neighbor 2001:7f8:54::233 as 197422;
  172. description "FranceIX / Tetaneutral";
  173. }
  174. protocol bgp franceix_13335 from tpl_franceix_peers {
  175. neighbor 2001:7f8:54::1:49 as 13335;
  176. description "FranceIX / Cloudfare";
  177. }
  178. protocol bgp franceix_2484 from tpl_franceix_peers {
  179. neighbor 2001:7f8:54::20 as 2484;
  180. description "FranceIX / AFNIC";
  181. }
  182. protocol bgp franceix_42 from tpl_franceix_peers {
  183. neighbor 2001:7f8:54::92 as 42;
  184. description "FranceIX / AS-PCH";
  185. }
  186. protocol bgp franceix_3856 from tpl_franceix_peers {
  187. neighbor 2001:7f8:54::91 as 3856;
  188. description "FranceIX / AS-PCH";
  189. }
  190. protocol bgp franceix_39405 from tpl_franceix_peers {
  191. neighbor 2001:7f8:54::220 as 39405;
  192. description "FranceIX / FULLSAVE-AS";
  193. import limit 60000;
  194. }
  195. #
  196. # Peering: EquinIX
  197. #
  198. # EquinIX: route collector (only for monitoring)
  199. template bgp tpl_equinix_rc from tpl_bgp {
  200. local as 20766;
  201. import where bgp_import(65517,"peering",22000,310);
  202. export where bgp_export(65517,"members");
  203. import limit 10;
  204. }
  205. protocol bgp equinix_rc1 from tpl_equinix_rc {
  206. neighbor 2001:7f8:43::6:5517:1 as 65517;
  207. description "EquinIX Route Collector 1";
  208. }
  209. # EquinIX: Route server
  210. template bgp tpl_equinix_rs from tpl_bgp {
  211. local as 20766;
  212. import where bgp_import(24115,"peering",22000,310);
  213. export where bgp_export(24115,"members");
  214. import limit 100000;
  215. }
  216. template bgp tpl_equinix_peers from tpl_bgp {
  217. local as 20766;
  218. import where bgp_import(24115,"peering",22000,300);
  219. export where bgp_export(24115,"members");
  220. import limit 10000;
  221. }
  222. protocol bgp equinix_rs1 from tpl_equinix_rs {
  223. neighbor 2001:7f8:43:0:ffff:ffff:ffff:1 as 24115;
  224. description "EquinIX Route Server 1";
  225. }
  226. protocol bgp equinix_rs2 from tpl_equinix_rs {
  227. neighbor 2001:7f8:43:0:ffff:ffff:ffff:2 as 24115;
  228. description "EquinIX Route Server 2";
  229. }
  230. protocol bgp equinix_6939 from tpl_equinix_peers {
  231. neighbor 2001:7f8:43::6939:1 as 6939;
  232. description "EquinIX / AS-HURRICANE";
  233. import limit 32000;
  234. }
  235. protocol bgp equinix_21371_1 from tpl_equinix_peers {
  236. neighbor 2001:07f8:43::2:1371:1 as 21371;
  237. description "EquinIX / AS-EQUINIX-EU 1";
  238. import limit 100;
  239. }
  240. protocol bgp equinix_21371_2 from tpl_equinix_peers {
  241. neighbor 2001:07f8:43::2:1371:2 as 21371;
  242. description "EquinIX / AS-EQUINIX-EU 2";
  243. import limit 100;
  244. }
  245. protocol bgp equinix_198507 from tpl_equinix_peers {
  246. neighbor 2001:7f8:43::19:8507:1 as 198507;
  247. description "EquinIX / AS-QUANTIC";
  248. import limit 50;
  249. }
  250. protocol bgp equinix_2486 from tpl_equinix_peers {
  251. neighbor 2001:7f8:43::2486:1 as 2486;
  252. description "EquinIX / AS-AFNIC";
  253. import limit 50;
  254. }
  255. protocol bgp equinix_43142 from tpl_equinix_peers {
  256. neighbor 2001:7f8:43::4:3142:1 as 43142;
  257. description "EquinIX / AS-Adelinovius";
  258. import limit 250;
  259. }
  260. protocol bgp equinix_49463 from tpl_equinix_peers {
  261. neighbor 2001:7f8:43::4:9463:1 as 49463;
  262. description "EquinIX / AS-LNCSA";
  263. import limit 25;
  264. }
  265. protocol bgp equinix_16276 from tpl_equinix_peers {
  266. neighbor 2001:7f8:43::1:6276:1 as 16276;
  267. description "EquinIX / AS-OVH";
  268. import limit 200;
  269. }
  270. protocol bgp equinix_4651 from tpl_equinix_peers {
  271. neighbor 2001:7f8:43::4651:1 as 4651;
  272. description "EquinIX / CAT TELECOM THIX";
  273. import limit 1000;
  274. }
  275. protocol bgp equinix_200780 from tpl_equinix_peers {
  276. neighbor 2001:7f8:43::20:780:1 as 200780;
  277. description "EquinIX / APPLIWAVE";
  278. import limit 25;
  279. }
  280. protocol bgp equinix_15169 from tpl_equinix_peers {
  281. neighbor 2001:7f8:43::1:5169:1 as 15169;
  282. description "EquinIX / GOOGLE";
  283. import limit 1000;
  284. password "REDACTED";
  285. disabled;
  286. }