bgp.conf 6.8 KB

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