Skip to content

Instantly share code, notes, and snippets.

@Ikke
Created September 19, 2017 20:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ikke/0ef3ee2bf3a48788a784acc4edf62c91 to your computer and use it in GitHub Desktop.
Save Ikke/0ef3ee2bf3a48788a784acc4edf62c91 to your computer and use it in GitHub Desktop.
ip prefix-list deny-loopback permit 192.168.0.0/16 le 31
ip prefix-list deny-loopback deny 192.168.0.0/16 ge 32
route-map EBGP
match ip address prefix-list deny-loopback
router bgp 65001
!...
! Does not seem to work
redistribute connected route-map EBGP
! Does also not seem to work
neighbor 192.168.102.1 route-map EBGP out
! This on the other router seems to work:
router bgp 65002
neighbor 192.168.101.1 route-map EBGP in
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment