TEXT   26

ospfd.conf

Guest on 8th June 2021 05:44:59 AM

  1. !
  2. ! Zebra configuration saved from vty
  3. !
  4. hostname nat_ospfd
  5. log file /var/log/quagga/ospfd.log
  6. !
  7. debug ospf event
  8. !
  9. !
  10. interface eth0
  11.  ip ospf authentication message-digest
  12.  ip ospf message-digest-key 1 md5 *
  13.  ip ospf cost 1
  14. !
  15. interface eth1
  16. !
  17. interface eth2
  18. !
  19. interface gre0
  20. !
  21. interface lo
  22.  ip ospf cost 1
  23. !
  24. interface sit0
  25. !
  26. interface sit_cha
  27. !
  28. interface sit_sago
  29. !
  30. interface sit_vox
  31. !
  32. interface tun0
  33. !
  34. interface tun_cc
  35. !
  36. interface tun_cha
  37. !
  38. interface tun_sago
  39. !
  40. interface tun_vox
  41. !
  42. router ospf
  43.  ospf router-id 10.3.4.3
  44.  redistribute kernel route-map MATCH_OPENVPN
  45.  redistribute connected route-map MATCH_LOOPBACKS
  46.  redistribute bgp route-map MATCH_XICADA
  47.  network 10.3.3.0/24 area 0.0.0.0
  48.  network 10.3.254.7/32 area 0.0.0.0
  49.  network 10.3.254.10/32 area 0.0.0.0
  50.  network 10.3.254.24/32 area 0.0.0.0
  51. !
  52. access-list LOOPBACKS permit 10.3.4.0/24
  53. access-list OPENVPN permit 10.3.254.128/26
  54. access-list XICADA permit 10.0.0.0/8
  55. access-list XICADA permit 172.16.0.0/12
  56. !
  57. route-map MATCH_XICADA permit 1
  58.  match ip address XICADA
  59. !
  60. route-map MATCH_LOOPBACKS permit 1
  61.  match ip address LOOPBACKS
  62. !
  63. route-map MATCH_OPENVPN permit 1
  64.  match ip address OPENVPN
  65. !
  66. line vty
  67. !

Raw Paste


Login or Register to edit or fork this paste. It's free.