Guest User

ISP_R2

a guest
Jan 25th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. !
  2. log file /var/log/quagga/bgpd.log
  3. !
  4. service password-encryption
  5. !
  6. debug bgp
  7. debug bgp events
  8. debug bgp updates
  9. debug bgp filters
  10. debug bgp zebra
  11. !
  12. interface eth0
  13. description to ISP_R1
  14. ip address 192.168.100.2/28
  15. no link-detect
  16. no multicast
  17. !
  18. interface eth1
  19. no link-detect
  20. !
  21. interface eth2
  22. no link-detect
  23. !
  24. interface eth3
  25. no link-detect
  26. !
  27. interface eth4
  28. description to ROUTER2
  29. ip address 172.16.2.254/24
  30. link-detect
  31. no multicast
  32. !
  33. interface eth5
  34. no link-detect
  35. !
  36. interface eth6
  37. no link-detect
  38. !
  39. interface eth7
  40. no link-detect
  41. !
  42. interface lo
  43. ip address 192.168.156.3/32
  44. no link-detect
  45. !
  46. router bgp 65534
  47. bgp router-id 192.168.156.3
  48. redistribute kernel
  49. redistribute connected
  50. redistribute static
  51. timers bgp 10 30
  52. neighbor 172.16.2.1 remote-as 64512
  53. neighbor 172.16.2.1 update-source 172.16.2.254
  54. neighbor 172.16.2.1 soft-reconfiguration inbound
  55. neighbor 192.168.156.2 remote-as 65534
  56. neighbor 192.168.156.2 description IBGP - to ISP_R2
  57. neighbor 192.168.156.2 update-source 192.168.156.3
  58. neighbor 192.168.156.2 next-hop-self
  59. neighbor 192.168.156.2 soft-reconfiguration inbound
  60. !
  61. address-family ipv6
  62. exit-address-family
  63. exit
  64. !
  65. ip route 192.168.156.2/32 192.168.100.1 254
  66. ip route 192.168.200.1/32 172.16.2.1
  67. !
  68. ip prefix-list v4-default-only seq 5 permit 0.0.0.0/0
  69. ip prefix-list v4-default-only seq 500 deny any
  70. ip prefix-list v4-loopback seq 5 permit 192.168.156.2/32
  71. ip prefix-list v4-loopback seq 10 permit 192.168.156.3/32
  72. ip prefix-list v4-loopback seq 500 deny any
  73. !
  74. route-map DENY deny 1
  75. !
  76. ip forwarding
  77. !
  78. line vty
  79. no login
  80. !
  81. end
Add Comment
Please, Sign In to add comment