testrib.conf 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. !
  2. ! Zebra configuration saved from vty
  3. ! 2007/04/01 17:46:48
  4. !
  5. password foo
  6. log stdout
  7. service advanced-vty
  8. !
  9. debug zebra rib
  10. debug zebra kernel
  11. !
  12. interface eth0
  13. ip address 10.0.0.1/24
  14. ipv6 address 1::0:1/64
  15. state up
  16. !
  17. interface eth1
  18. ip address 10.0.1.1/24
  19. ipv6 address 1::1:1/64
  20. !
  21. interface eth2
  22. ip address 10.0.2.1/24
  23. ipv6 address 1::2:1/64
  24. !
  25. ! Unnumbered
  26. interface foo1
  27. ip address 192.168.1.1/32
  28. ipv6 address 2::1:1/128
  29. !
  30. interface foo0
  31. ip address 192.168.1.1/32
  32. ip address 192.168.1.1/24 label foo
  33. ipv6 address 2::1:1/128
  34. state up
  35. !
  36. ! statics that should be subsumed by connected routes, according to interface
  37. ! state
  38. ip route 10.0.0.0/24 10.0.1.254
  39. ip route 10.0.1.0/24 10.0.2.254
  40. ip route 10.0.2.0/24 10.0.0.254
  41. ipv6 route 1::0:0/64 1::1:f
  42. ipv6 route 1::1:0/64 1::2:f
  43. ipv6 route 1::2:0/64 1::0:f
  44. ! null route
  45. ip route 10.1.0.1/32 null0
  46. ipv6 route 100::1:1/128 null0
  47. ! normalish routes
  48. ip route 1.1.2.0/24 10.0.0.2
  49. ipv6 route 80::/64 1::0:e
  50. ! different admin distances
  51. ip route 1.1.0.2/32 10.0.0.3 10
  52. ip route 1.1.0.2/32 10.0.0.4 20
  53. ip route 1.1.0.2/32 10.0.1.3 30
  54. ipv6 route 90::1/128 1::0:a 10
  55. ipv6 route 90::1/128 1::0:b 20
  56. ipv6 route 90::1/128 1::1:c 30
  57. ! multiple-nexthop + distance
  58. ip route 1.1.0.2/32 10.0.0.5 10
  59. ipv6 route 90::1/128 1::0:d 10
  60. ! a recursive route, potentially.
  61. ip route 1.1.3.0/24 10.0.0.2
  62. ! double recursive, potentially
  63. ip route 1.1.0.1/32 1.1.3.1
  64. !
  65. ip route 1.1.1.0/24 1.1.2.2
  66. line vty
  67. exec-timeout 0 0
  68. !