bgp.conf 7.2 KB

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