Tuesday, November 7, 2017

What's the right way to set up multihop BGP?

Some parts of our network have ipbase, so clients requesting BGP get a multi-hop session back to a BGP router in the datacenter.

On the router adjacent to the client, we put a static route for the customer's block and then redistribute that into OSPF -- that way our AS can find the client. Just setting up the BGP session does not get the packets to the client.

Is there anyway to skip the static route on the ipbase switch and have the BGP session redistribute to OSPF with the proper destination?

When I set up a BGP router to redistribute, eg:

router ospf 10 router-id 2.2.2.2 redistribute bgp 10 route-map iBGP2OSPF 

and put the clients IPs in the iBGP2OSPF, the packets start ping-pong'ing in the data center.

Is there a better way to do this? Right now, if the client takes down the BGP session, our ASN still has the route in OSPF which is not always desirable (they have to hard down their port to get the route out of our OSPF cloud).



No comments:

Post a Comment