cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
253
Views
0
Helpful
1
Replies

redundancy with 2 routers, link and bgp

leowchongwei
Level 1
Level 1

hi,

Trying to achieve this. 2 sites with 2 routers each, and each router is having a leased line to the other end. BGP is the routing protocol.

1) Does the BGP knows if link A is down, it will use link B? Do i need to configure some kind of BGP attributes as well eg local preference or others?

2) What do i need to configure on my core switch? (can i use the core switch to participate in iBGP? or by using 2 static routes, one of the AD is higher, or by using HRSP?)

Thanks,

1 Reply 1

paddyxdoyle
Level 6
Level 6

You can configure IBGP between your two routers at each site, and use route maps to set the metrics of the routes being advertised from each site.

e.g.

Site one, Router 1

------------------

access-list 1 permit 10.0.0.0

route-map set_metric permit 10

match ip address 1

set metric 10

router bgp 100

neighbor 11.0.0.1 route-map set metric out

Site one, Router 2

------------------

access-list 1 permit 10.0.0.0

route-map set_metric permit 10

match ip address 1

set metric 20

router bgp 100

neighbor 11.0.0.2 route-map set metric out

The routes with the higher cost won't be advertised into BGP unless the link or the neighbour that's adverstising the lower cost routes is unreachable.

On your routers, you could redistribute BGP routes into EIGRP or OSPF, and also configure this on your Core switch.

You core switch will forward traffic to the router learning routes with the lowest cost, if this link or the peer router fails then the higher cost routes will be learned via the second link and redistributed into EIGRP/OSPF and your clients will start using the second link.

You can also configure load sharing across these links if you have multiple subnets on your local network.

HTH

Paddy

Review Cisco Networking for a $25 gift card