bgp.conf 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  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. # Transit: Ielo (th2)
  90. #
  91. template bgp tpl_ielo {
  92. local as 20766;
  93. description "Transit Ielo (th2)";
  94. import where bgp_import(29075,"transit",10003);
  95. export where bgp_export(29075,"members");
  96. }
  97. protocol bgp transit_ielo from tpl_ielo {
  98. neighbor 2a02:2178:3:5::1 as 29075;
  99. description "Transit Ielo (th2)";
  100. }
  101. #
  102. # Peering: Grenode
  103. #
  104. template bgp tpl_grenode {
  105. local as 20766;
  106. description "Peering Grenode";
  107. import where bgp_import(51083,"peering",30000);
  108. export where bgp_export(51083,"members");
  109. }
  110. protocol bgp peering_grenode1 from tpl_grenode {
  111. neighbor 2001:910:0:116::222 as 51083;
  112. }
  113. #
  114. # Peering: FranceIX
  115. #
  116. template bgp tpl_franceix_rs {
  117. local as 20766;
  118. import where bgp_import(51706,"peering",26000);
  119. export where bgp_export(51706,"members");
  120. import limit 100000;
  121. }
  122. template bgp tpl_franceix_peers {
  123. local as 20766;
  124. import where bgp_import(51706,"peering",26000);
  125. export where bgp_export(51706,"members");
  126. import limit 10000;
  127. }
  128. protocol bgp franceix_rs1 from tpl_franceix_rs {
  129. neighbor 2001:7f8:54::250 as 51706;
  130. description "FranceIX Route Server 1";
  131. }
  132. protocol bgp franceix_rs2 from tpl_franceix_rs {
  133. neighbor 2001:7f8:54::251 as 51706;
  134. description "FranceIX Route Server 2";
  135. }
  136. protocol bgp franceix_6939 from tpl_franceix_peers {
  137. neighbor 2001:7f8:54::10 as 6939;
  138. description "FranceIX / AS-HURRICANE";
  139. import limit 50000;
  140. }
  141. protocol bgp franceix_20562 from tpl_franceix_peers {
  142. neighbor 2001:7f8:54::68 as 20562;
  143. description "FranceIX / AS-OPENPEERING-EU";
  144. }
  145. protocol bgp franceix_34019 from tpl_franceix_peers {
  146. neighbor 2001:7f8:54::71 as 34019;
  147. description "FranceIX / AS-HIVANE";
  148. }
  149. protocol bgp franceix_42473 from tpl_franceix_peers {
  150. neighbor 2001:7f8:54::85 as 42473;
  151. description "FranceIX / AS-ANEXIA";
  152. }
  153. protocol bgp franceix_197692 from tpl_franceix_peers {
  154. neighbor 2001:7f8:54::133 as 197692;
  155. description "FranceIX / AS-CONOSTIX";
  156. }
  157. protocol bgp franceix_29467 from tpl_franceix_peers {
  158. neighbor 2001:7f8:54::227 as 29467;
  159. description "FranceIX / AS-LUXNETWORK";
  160. }
  161. protocol bgp franceix_197422 from tpl_franceix_peers {
  162. neighbor 2001:7f8:54::233 as 197422;
  163. description "FranceIX / Tetaneutral";
  164. }
  165. protocol bgp franceix_13335 from tpl_franceix_peers {
  166. neighbor 2001:7f8:54::1:49 as 13335;
  167. description "FranceIX / Cloudfare";
  168. }
  169. protocol bgp franceix_2484 from tpl_franceix_peers {
  170. neighbor 2001:7f8:54::20 as 2484;
  171. description "FranceIX / AFNIC";
  172. }
  173. protocol bgp franceix_42 from tpl_franceix_peers {
  174. neighbor 2001:7f8:54::92 as 42;
  175. description "FranceIX / AS-PCH";
  176. }
  177. protocol bgp franceix_3856 from tpl_franceix_peers {
  178. neighbor 2001:7f8:54::91 as 3856;
  179. description "FranceIX / AS-PCH";
  180. }
  181. protocol bgp franceix_39405 from tpl_franceix_peers {
  182. neighbor 2001:7f8:54::220 as 39405;
  183. description "FranceIX / FULLSAVE-AS";
  184. }
  185. #
  186. # Peering: EquinIX
  187. #
  188. # EquinIX: route collector (only for monitoring)
  189. template bgp tpl_equinix_rc {
  190. local as 20766;
  191. import where bgp_import(65517,"peering",22000);
  192. export where bgp_export(65517,"members");
  193. import limit 10;
  194. }
  195. protocol bgp equinix_rc1 from tpl_equinix_rc {
  196. neighbor 2001:7f8:43::6:5517:1 as 65517;
  197. description "EquinIX Route Collector 1";
  198. }
  199. # EquinIX: Route server
  200. template bgp tpl_equinix_rs {
  201. local as 20766;
  202. import where bgp_import(24115,"peering",22000);
  203. export where bgp_export(24115,"members");
  204. import limit 100000;
  205. }
  206. template bgp tpl_equinix_peers {
  207. local as 20766;
  208. import where bgp_import(24115,"peering",22000);
  209. export where bgp_export(24115,"members");
  210. import limit 10000;
  211. }
  212. protocol bgp equinix_rs1 from tpl_equinix_rs {
  213. neighbor 2001:7f8:43:0:ffff:ffff:ffff:1 as 24115;
  214. description "EquinIX Route Server 1";
  215. }
  216. protocol bgp equinix_rs2 from tpl_equinix_rs {
  217. neighbor 2001:7f8:43:0:ffff:ffff:ffff:2 as 24115;
  218. description "EquinIX Route Server 2";
  219. }
  220. protocol bgp equinix_6939 from tpl_equinix_peers {
  221. neighbor 2001:7f8:43::6939:1 as 6939;
  222. description "EquinIX / AS-HURRICANE";
  223. import limit 26000;
  224. }
  225. protocol bgp equinix_21371_1 from tpl_equinix_peers {
  226. neighbor 2001:07f8:43::2:1371:1 as 21371;
  227. description "EquinIX / AS-EQUINIX-EU 1";
  228. import limit 100;
  229. }
  230. protocol bgp equinix_21371_2 from tpl_equinix_peers {
  231. neighbor 2001:07f8:43::2:1371:2 as 21371;
  232. description "EquinIX / AS-EQUINIX-EU 2";
  233. import limit 100;
  234. }
  235. protocol bgp equinix_198507 from tpl_equinix_peers {
  236. neighbor 2001:7f8:43::19:8507:1 as 198507;
  237. description "EquinIX / AS-QUANTIC";
  238. import limit 50;
  239. }
  240. protocol bgp equinix_2486 from tpl_equinix_peers {
  241. neighbor 2001:7f8:43::2486:1 as 2486;
  242. description "EquinIX / AS-AFNIC";
  243. import limit 50;
  244. }
  245. protocol bgp equinix_43142 from tpl_equinix_peers {
  246. neighbor 2001:7f8:43::4:3142:1 as 43142;
  247. description "EquinIX / AS-Adelinovius";
  248. import limit 250;
  249. }
  250. protocol bgp equinix_49463 from tpl_equinix_peers {
  251. neighbor 2001:7f8:43::4:9463:1 as 49463;
  252. description "EquinIX / AS-LNCSA";
  253. import limit 25;
  254. }
  255. protocol bgp equinix_16276 from tpl_equinix_peers {
  256. neighbor 2001:7f8:43::1:6276:1 as 16276;
  257. description "EquinIX / AS-OVH";
  258. import limit 200;
  259. }
  260. protocol bgp equinix_4651 from tpl_equinix_peers {
  261. neighbor 2001:7f8:43::4651:1 as 4651;
  262. description "EquinIX / CAT TELECOM THIX";
  263. import limit 1000;
  264. }
  265. protocol bgp equinix_200780 from tpl_equinix_peers {
  266. neighbor 2001:7f8:43::20:780:1 as 200780;
  267. description "EquinIX / APPLIWAVE";
  268. import limit 25;
  269. }