cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1992
Views
2
Helpful
16
Replies

ISP CE router config for dual internet dual router

carl_townshend
Spotlight
Spotlight

Hi Guys

I am configuring 2 routers that connect to provider A and one connects to provider B, we have our own AS number and PI block.

I want to force all traffic out of provider A.

The 2 routers will be IBGP neighbours and I also want to prevent any traffic potentially transiting us. IP addresses are made up.

Does the following config look OK, this is from router A which will be primary.

router bgp 123456   (ISP PE)
bgp router-id 44.44.44.44
bgp log-neighbor-changes
network 197.76.24.0
neighbor 81.55.55.55 remote-as 654321  (IBGP neighbour)
neighbor 81.55.55.55 soft-reconfiguration inbound

neighbor 192.168.1.1 remote-as 123456

neighbor 192.168.1.1 route-map SET-LOCAL-PREF out
neighbor 192.168.1.1 filter-list 1 out
neighbor 192.168.1.1 soft-reconfiguration inbound
neighbor 192.168.1.1 next-hop-self

ip prefix-list LOCAL-PREF seq 5 permit 0.0.0.0/0

route-map SET-LOCAL-PREF permit 10
match ip address prefix-list LOCAL-PREF
set local-preference 500

ip as-path access-list 1 permit ^$

The same config would be applied on router B except the local pref stuff.

Does this look OK?

16 Replies 16

Hi

what happens if you apply the local pref route map to the external neighbour inbound?

This should also set the LP to 500 on the routes received from the isp and pass it to the ibgp neighbour?

Not work'

LP attribute exchange only between ibgp not between ebgp.