pingping-lin | ebb6fe4 | 2015-08-31 17:59:33 -0700 | [diff] [blame] | 1 | router id 192.168.10.101; |
| 2 | protocol kernel { |
| 3 | # learn; # Learn all alien routes from the kernel |
| 4 | # persist; # Don't remove routes on bird shutdown |
| 5 | scan time 2000000; # Scan kernel routing table every 20 seconds |
| 6 | # import none; # Default is import all |
| 7 | export all; # Default is export none |
| 8 | # kernel table 5; # Kernel table to synchronize with (default: main) |
| 9 | } |
| 10 | protocol bgp { |
| 11 | description "My BGP uplink"; |
| 12 | local as 64513; |
| 13 | |
| 14 | neighbor 1.1.1.2 as 64513; |
| 15 | multihop; |
| 16 | #neighbor port 2000; |
| 17 | export all; |
| 18 | } |
| 19 | protocol bgp { |
| 20 | local as 64513; |
| 21 | neighbor 192.168.20.1 as 64514; |
| 22 | multihop; |
| 23 | export all; |
| 24 | } |
| 25 | protocol bgp { |
| 26 | local as 64513; |
| 27 | neighbor 192.168.30.1 as 64516; |
| 28 | multihop; |
| 29 | export all; |
| 30 | } |
| 31 | protocol bgp { |
| 32 | local as 64513; |
| 33 | neighbor 192.168.60.1 as 64520; |
| 34 | multihop; |
| 35 | export all; |
| 36 | } |
| 37 | |
| 38 | protocol bgp { |
| 39 | local as 64513; |
| 40 | neighbor 192.168.40.1 as 65001; |
| 41 | multihop; |
| 42 | export all; |
| 43 | } |
| 44 | protocol bgp { |
| 45 | local as 64513; |
| 46 | neighbor 192.168.40.2 as 65002; |
| 47 | multihop; |
| 48 | export all; |
| 49 | } |
| 50 | protocol bgp { |
| 51 | local as 64513; |
| 52 | neighbor 192.168.40.3 as 65003; |
| 53 | multihop; |
| 54 | export all; |
| 55 | } |
| 56 | protocol bgp { |
| 57 | local as 64513; |
| 58 | neighbor 192.168.40.4 as 65004; |
| 59 | multihop; |
| 60 | export all; |
| 61 | } |
| 62 | protocol bgp { |
| 63 | local as 64513; |
| 64 | neighbor 192.168.40.5 as 65005; |
| 65 | multihop; |
| 66 | export all; |
| 67 | } |
| 68 | protocol bgp { |
| 69 | local as 64513; |
| 70 | neighbor 192.168.40.6 as 65006; |
| 71 | multihop; |
| 72 | export all; |
| 73 | } |
| 74 | protocol bgp { |
| 75 | local as 64513; |
| 76 | neighbor 192.168.40.7 as 65007; |
| 77 | multihop; |
| 78 | export all; |
| 79 | } |
| 80 | protocol bgp { |
| 81 | local as 64513; |
| 82 | neighbor 192.168.40.8 as 65008; |
| 83 | multihop; |
| 84 | export all; |
| 85 | } |
| 86 | protocol bgp { |
| 87 | local as 64513; |
| 88 | neighbor 192.168.40.9 as 65009; |
| 89 | multihop; |
| 90 | export all; |
| 91 | } |
| 92 | protocol bgp { |
| 93 | local as 64513; |
| 94 | neighbor 192.168.40.10 as 65010; |
| 95 | multihop; |
| 96 | export all; |
| 97 | } |
| 98 | protocol bgp { |
| 99 | local as 64513; |
| 100 | neighbor 192.168.40.11 as 65011; |
| 101 | multihop; |
| 102 | export all; |
| 103 | } |
| 104 | protocol bgp { |
| 105 | local as 64513; |
| 106 | neighbor 192.168.40.12 as 65012; |
| 107 | multihop; |
| 108 | export all; |
| 109 | } |
| 110 | protocol bgp { |
| 111 | local as 64513; |
| 112 | neighbor 192.168.40.13 as 65013; |
| 113 | multihop; |
| 114 | export all; |
| 115 | } |
| 116 | protocol bgp { |
| 117 | local as 64513; |
| 118 | neighbor 192.168.40.14 as 65014; |
| 119 | multihop; |
| 120 | export all; |
| 121 | } |
| 122 | protocol bgp { |
| 123 | local as 64513; |
| 124 | neighbor 192.168.40.15 as 65015; |
| 125 | multihop; |
| 126 | export all; |
| 127 | } |
| 128 | protocol bgp { |
| 129 | local as 64513; |
| 130 | neighbor 192.168.40.16 as 65016; |
| 131 | multihop; |
| 132 | export all; |
| 133 | } |
| 134 | protocol bgp { |
| 135 | local as 64513; |
| 136 | neighbor 192.168.40.17 as 65017; |
| 137 | multihop; |
| 138 | export all; |
| 139 | } |
| 140 | protocol bgp { |
| 141 | local as 64513; |
| 142 | neighbor 192.168.40.18 as 65018; |
| 143 | multihop; |
| 144 | export all; |
| 145 | } |
| 146 | protocol bgp { |
| 147 | local as 64513; |
| 148 | neighbor 192.168.40.19 as 65019; |
| 149 | multihop; |
| 150 | export all; |
| 151 | } |
| 152 | protocol bgp { |
| 153 | local as 64513; |
| 154 | neighbor 192.168.40.20 as 65020; |
| 155 | multihop; |
| 156 | export all; |
| 157 | } |
| 158 | protocol bgp { |
| 159 | local as 64513; |
| 160 | neighbor 192.168.40.21 as 65021; |
| 161 | multihop; |
| 162 | export all; |
| 163 | } |
| 164 | protocol bgp { |
| 165 | local as 64513; |
| 166 | neighbor 192.168.40.22 as 65022; |
| 167 | multihop; |
| 168 | export all; |
| 169 | } |
| 170 | protocol bgp { |
| 171 | local as 64513; |
| 172 | neighbor 192.168.40.23 as 65023; |
| 173 | multihop; |
| 174 | export all; |
| 175 | } |
| 176 | protocol bgp { |
| 177 | local as 64513; |
| 178 | neighbor 192.168.40.24 as 65024; |
| 179 | multihop; |
| 180 | export all; |
| 181 | } |
| 182 | protocol bgp { |
| 183 | local as 64513; |
| 184 | neighbor 192.168.40.25 as 65025; |
| 185 | multihop; |
| 186 | export all; |
| 187 | } |
| 188 | protocol bgp { |
| 189 | local as 64513; |
| 190 | neighbor 192.168.40.26 as 65026; |
| 191 | multihop; |
| 192 | export all; |
| 193 | } |
| 194 | protocol bgp { |
| 195 | local as 64513; |
| 196 | neighbor 192.168.40.27 as 65027; |
| 197 | multihop; |
| 198 | export all; |
| 199 | } |
| 200 | protocol bgp { |
| 201 | local as 64513; |
| 202 | neighbor 192.168.40.28 as 65028; |
| 203 | multihop; |
| 204 | export all; |
| 205 | } |
| 206 | protocol bgp { |
| 207 | local as 64513; |
| 208 | neighbor 192.168.40.29 as 65029; |
| 209 | multihop; |
| 210 | export all; |
| 211 | } |
| 212 | protocol bgp { |
| 213 | local as 64513; |
| 214 | neighbor 192.168.40.30 as 65030; |
| 215 | multihop; |
| 216 | export all; |
| 217 | } |
| 218 | protocol bgp { |
| 219 | local as 64513; |
| 220 | neighbor 192.168.40.31 as 65031; |
| 221 | multihop; |
| 222 | export all; |
| 223 | } |
| 224 | protocol bgp { |
| 225 | local as 64513; |
| 226 | neighbor 192.168.40.32 as 65032; |
| 227 | multihop; |
| 228 | export all; |
| 229 | } |
| 230 | protocol bgp { |
| 231 | local as 64513; |
| 232 | neighbor 192.168.40.33 as 65033; |
| 233 | multihop; |
| 234 | export all; |
| 235 | } |
| 236 | protocol bgp { |
| 237 | local as 64513; |
| 238 | neighbor 192.168.40.34 as 65034; |
| 239 | multihop; |
| 240 | export all; |
| 241 | } |
| 242 | protocol bgp { |
| 243 | local as 64513; |
| 244 | neighbor 192.168.40.35 as 65035; |
| 245 | multihop; |
| 246 | export all; |
| 247 | } |
| 248 | protocol bgp { |
| 249 | local as 64513; |
| 250 | neighbor 192.168.40.36 as 65036; |
| 251 | multihop; |
| 252 | export all; |
| 253 | } |
| 254 | protocol bgp { |
| 255 | local as 64513; |
| 256 | neighbor 192.168.40.37 as 65037; |
| 257 | multihop; |
| 258 | export all; |
| 259 | } |
| 260 | protocol bgp { |
| 261 | local as 64513; |
| 262 | neighbor 192.168.40.38 as 65038; |
| 263 | multihop; |
| 264 | export all; |
| 265 | } |
| 266 | protocol bgp { |
| 267 | local as 64513; |
| 268 | neighbor 192.168.40.39 as 65039; |
| 269 | multihop; |
| 270 | export all; |
| 271 | } |
| 272 | protocol bgp { |
| 273 | local as 64513; |
| 274 | neighbor 192.168.40.40 as 65040; |
| 275 | multihop; |
| 276 | export all; |
| 277 | } |
| 278 | protocol bgp { |
| 279 | local as 64513; |
| 280 | neighbor 192.168.40.41 as 65041; |
| 281 | multihop; |
| 282 | export all; |
| 283 | } |
| 284 | protocol bgp { |
| 285 | local as 64513; |
| 286 | neighbor 192.168.40.42 as 65042; |
| 287 | multihop; |
| 288 | export all; |
| 289 | } |
| 290 | protocol bgp { |
| 291 | local as 64513; |
| 292 | neighbor 192.168.40.43 as 65043; |
| 293 | multihop; |
| 294 | export all; |
| 295 | } |
| 296 | protocol bgp { |
| 297 | local as 64513; |
| 298 | neighbor 192.168.40.44 as 65044; |
| 299 | multihop; |
| 300 | export all; |
| 301 | } |
| 302 | protocol bgp { |
| 303 | local as 64513; |
| 304 | neighbor 192.168.40.45 as 65045; |
| 305 | multihop; |
| 306 | export all; |
| 307 | } |
| 308 | protocol bgp { |
| 309 | local as 64513; |
| 310 | neighbor 192.168.40.46 as 65046; |
| 311 | multihop; |
| 312 | export all; |
| 313 | } |
| 314 | protocol bgp { |
| 315 | local as 64513; |
| 316 | neighbor 192.168.40.47 as 65047; |
| 317 | multihop; |
| 318 | export all; |
| 319 | } |
| 320 | protocol bgp { |
| 321 | local as 64513; |
| 322 | neighbor 192.168.40.48 as 65048; |
| 323 | multihop; |
| 324 | export all; |
| 325 | } |
| 326 | protocol bgp { |
| 327 | local as 64513; |
| 328 | neighbor 192.168.40.49 as 65049; |
| 329 | multihop; |
| 330 | export all; |
| 331 | } |
| 332 | protocol bgp { |
| 333 | local as 64513; |
| 334 | neighbor 192.168.40.50 as 65050; |
| 335 | multihop; |
| 336 | export all; |
| 337 | } |
| 338 | protocol bgp { |
| 339 | local as 64513; |
| 340 | neighbor 192.168.40.51 as 65051; |
| 341 | multihop; |
| 342 | export all; |
| 343 | } |
| 344 | protocol bgp { |
| 345 | local as 64513; |
| 346 | neighbor 192.168.40.52 as 65052; |
| 347 | multihop; |
| 348 | export all; |
| 349 | } |
| 350 | protocol bgp { |
| 351 | local as 64513; |
| 352 | neighbor 192.168.40.53 as 65053; |
| 353 | multihop; |
| 354 | export all; |
| 355 | } |
| 356 | protocol bgp { |
| 357 | local as 64513; |
| 358 | neighbor 192.168.40.54 as 65054; |
| 359 | multihop; |
| 360 | export all; |
| 361 | } |
| 362 | protocol bgp { |
| 363 | local as 64513; |
| 364 | neighbor 192.168.40.55 as 65055; |
| 365 | multihop; |
| 366 | export all; |
| 367 | } |
| 368 | protocol bgp { |
| 369 | local as 64513; |
| 370 | neighbor 192.168.40.56 as 65056; |
| 371 | multihop; |
| 372 | export all; |
| 373 | } |
| 374 | protocol bgp { |
| 375 | local as 64513; |
| 376 | neighbor 192.168.40.57 as 65057; |
| 377 | multihop; |
| 378 | export all; |
| 379 | } |
| 380 | protocol bgp { |
| 381 | local as 64513; |
| 382 | neighbor 192.168.40.58 as 65058; |
| 383 | multihop; |
| 384 | export all; |
| 385 | } |
| 386 | protocol bgp { |
| 387 | local as 64513; |
| 388 | neighbor 192.168.40.59 as 65059; |
| 389 | multihop; |
| 390 | export all; |
| 391 | } |
| 392 | protocol bgp { |
| 393 | local as 64513; |
| 394 | neighbor 192.168.40.60 as 65060; |
| 395 | multihop; |
| 396 | export all; |
| 397 | } |
| 398 | protocol bgp { |
| 399 | local as 64513; |
| 400 | neighbor 192.168.40.61 as 65061; |
| 401 | multihop; |
| 402 | export all; |
| 403 | } |
| 404 | protocol bgp { |
| 405 | local as 64513; |
| 406 | neighbor 192.168.40.62 as 65062; |
| 407 | multihop; |
| 408 | export all; |
| 409 | } |
| 410 | protocol bgp { |
| 411 | local as 64513; |
| 412 | neighbor 192.168.40.63 as 65063; |
| 413 | multihop; |
| 414 | export all; |
| 415 | } |
| 416 | protocol bgp { |
| 417 | local as 64513; |
| 418 | neighbor 192.168.40.64 as 65064; |
| 419 | multihop; |
| 420 | export all; |
| 421 | } |
| 422 | protocol bgp { |
| 423 | local as 64513; |
| 424 | neighbor 192.168.40.65 as 65065; |
| 425 | multihop; |
| 426 | export all; |
| 427 | } |
| 428 | protocol bgp { |
| 429 | local as 64513; |
| 430 | neighbor 192.168.40.66 as 65066; |
| 431 | multihop; |
| 432 | export all; |
| 433 | } |
| 434 | protocol bgp { |
| 435 | local as 64513; |
| 436 | neighbor 192.168.40.67 as 65067; |
| 437 | multihop; |
| 438 | export all; |
| 439 | } |
| 440 | protocol bgp { |
| 441 | local as 64513; |
| 442 | neighbor 192.168.40.68 as 65068; |
| 443 | multihop; |
| 444 | export all; |
| 445 | } |
| 446 | protocol bgp { |
| 447 | local as 64513; |
| 448 | neighbor 192.168.40.69 as 65069; |
| 449 | multihop; |
| 450 | export all; |
| 451 | } |
| 452 | protocol bgp { |
| 453 | local as 64513; |
| 454 | neighbor 192.168.40.70 as 65070; |
| 455 | multihop; |
| 456 | export all; |
| 457 | } |
| 458 | protocol bgp { |
| 459 | local as 64513; |
| 460 | neighbor 192.168.40.71 as 65071; |
| 461 | multihop; |
| 462 | export all; |
| 463 | } |
| 464 | protocol bgp { |
| 465 | local as 64513; |
| 466 | neighbor 192.168.40.72 as 65072; |
| 467 | multihop; |
| 468 | export all; |
| 469 | } |
| 470 | protocol bgp { |
| 471 | local as 64513; |
| 472 | neighbor 192.168.40.73 as 65073; |
| 473 | multihop; |
| 474 | export all; |
| 475 | } |
| 476 | protocol bgp { |
| 477 | local as 64513; |
| 478 | neighbor 192.168.40.74 as 65074; |
| 479 | multihop; |
| 480 | export all; |
| 481 | } |
| 482 | protocol bgp { |
| 483 | local as 64513; |
| 484 | neighbor 192.168.40.75 as 65075; |
| 485 | multihop; |
| 486 | export all; |
| 487 | } |
| 488 | protocol bgp { |
| 489 | local as 64513; |
| 490 | neighbor 192.168.40.76 as 65076; |
| 491 | multihop; |
| 492 | export all; |
| 493 | } |
| 494 | protocol bgp { |
| 495 | local as 64513; |
| 496 | neighbor 192.168.40.77 as 65077; |
| 497 | multihop; |
| 498 | export all; |
| 499 | } |
| 500 | protocol bgp { |
| 501 | local as 64513; |
| 502 | neighbor 192.168.40.78 as 65078; |
| 503 | multihop; |
| 504 | export all; |
| 505 | } |
| 506 | protocol bgp { |
| 507 | local as 64513; |
| 508 | neighbor 192.168.40.79 as 65079; |
| 509 | multihop; |
| 510 | export all; |
| 511 | } |
| 512 | protocol bgp { |
| 513 | local as 64513; |
| 514 | neighbor 192.168.40.80 as 65080; |
| 515 | multihop; |
| 516 | export all; |
| 517 | } |
| 518 | protocol bgp { |
| 519 | local as 64513; |
| 520 | neighbor 192.168.40.81 as 65081; |
| 521 | multihop; |
| 522 | export all; |
| 523 | } |
| 524 | protocol bgp { |
| 525 | local as 64513; |
| 526 | neighbor 192.168.40.82 as 65082; |
| 527 | multihop; |
| 528 | export all; |
| 529 | } |
| 530 | protocol bgp { |
| 531 | local as 64513; |
| 532 | neighbor 192.168.40.83 as 65083; |
| 533 | multihop; |
| 534 | export all; |
| 535 | } |
| 536 | protocol bgp { |
| 537 | local as 64513; |
| 538 | neighbor 192.168.40.84 as 65084; |
| 539 | multihop; |
| 540 | export all; |
| 541 | } |
| 542 | protocol bgp { |
| 543 | local as 64513; |
| 544 | neighbor 192.168.40.85 as 65085; |
| 545 | multihop; |
| 546 | export all; |
| 547 | } |
| 548 | protocol bgp { |
| 549 | local as 64513; |
| 550 | neighbor 192.168.40.86 as 65086; |
| 551 | multihop; |
| 552 | export all; |
| 553 | } |
| 554 | protocol bgp { |
| 555 | local as 64513; |
| 556 | neighbor 192.168.40.87 as 65087; |
| 557 | multihop; |
| 558 | export all; |
| 559 | } |
| 560 | protocol bgp { |
| 561 | local as 64513; |
| 562 | neighbor 192.168.40.88 as 65088; |
| 563 | multihop; |
| 564 | export all; |
| 565 | } |
| 566 | protocol bgp { |
| 567 | local as 64513; |
| 568 | neighbor 192.168.40.89 as 65089; |
| 569 | multihop; |
| 570 | export all; |
| 571 | } |
| 572 | protocol bgp { |
| 573 | local as 64513; |
| 574 | neighbor 192.168.40.90 as 65090; |
| 575 | multihop; |
| 576 | export all; |
| 577 | } |
| 578 | protocol bgp { |
| 579 | local as 64513; |
| 580 | neighbor 192.168.40.91 as 65091; |
| 581 | multihop; |
| 582 | export all; |
| 583 | } |
| 584 | protocol bgp { |
| 585 | local as 64513; |
| 586 | neighbor 192.168.40.92 as 65092; |
| 587 | multihop; |
| 588 | export all; |
| 589 | } |
| 590 | protocol bgp { |
| 591 | local as 64513; |
| 592 | neighbor 192.168.40.93 as 65093; |
| 593 | multihop; |
| 594 | export all; |
| 595 | } |
| 596 | protocol bgp { |
| 597 | local as 64513; |
| 598 | neighbor 192.168.40.94 as 65094; |
| 599 | multihop; |
| 600 | export all; |
| 601 | } |
| 602 | protocol bgp { |
| 603 | local as 64513; |
| 604 | neighbor 192.168.40.95 as 65095; |
| 605 | multihop; |
| 606 | export all; |
| 607 | } |
| 608 | protocol bgp { |
| 609 | local as 64513; |
| 610 | neighbor 192.168.40.96 as 65096; |
| 611 | multihop; |
| 612 | export all; |
| 613 | } |
| 614 | protocol bgp { |
| 615 | local as 64513; |
| 616 | neighbor 192.168.40.97 as 65097; |
| 617 | multihop; |
| 618 | export all; |
| 619 | } |
| 620 | protocol bgp { |
| 621 | local as 64513; |
| 622 | neighbor 192.168.40.98 as 65098; |
| 623 | multihop; |
| 624 | export all; |
| 625 | } |
| 626 | protocol bgp { |
| 627 | local as 64513; |
| 628 | neighbor 192.168.40.99 as 65099; |
| 629 | multihop; |
| 630 | export all; |
| 631 | } |
| 632 | protocol bgp { |
| 633 | local as 64513; |
| 634 | neighbor 192.168.40.100 as 65100; |
| 635 | multihop; |
| 636 | export all; |
| 637 | } |