bgp.conf 7.9 KB

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