BGP Conditional Advertisement Query
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2009 09:25 AM - edited 03-04-2019 01:02 AM
Hi All,
I have client with 2 ISPs/Dual routers. ISP-A :10Meg & ISP-B : T1
Local public IP space advertised to ISPA & ISPB via EBGP (with ISP-B : via AS-Prepend). LAN side of the routers has HSRP config to have ISP-A Connected router as Primary and IBGP config as well.
I would like to implement 'BGP Conditional Advertisement' so that ISP-B will strictly be backup (as ISP-B does not support any communmities). I want to create the NON-EXIST map such a way when ISP-B router not seeing 0.0.0.0 being advertised from ISP-A AS, then ISP-B will be used. Please see the attached info from both the routers.
(attached as the o/p copy& paste here not sitting in better way)
As the Backup router learning 0.0.0.0 from backup ISP (preferred *>) as well as from IBGP via primary ISP AS#, if conditional adverisement applied and in case if BGP with Primary ISP does down, will the secondary ISP takes over (as 0.0.0.0 from priamry willbe gone).
How much time normally it takes for the take over - 3mins..??
TIA
MS
- Labels:
-
Routing Protocols
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2009 10:24 AM
Hello Mehboob ,
have a look at the following that is very clear explanation:
http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a0080094309.shtml
Hope to help
Giuseppe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2009 12:49 PM
Hi,
The link provided by Gui is usefull, But what do u mean by 0.0.0.0? Do u mean the 0.0.0.0 as (next-hop) or (Default route)?
The Conditional advertise applies IF and Only IF the Network Specified in the Non-exist Map is not in the BGP routing table, This doesnt mean the Main link has to be Down. about BGP update , the EBGP update takes 30 sec while the IBGP takes 5 sec.
HTH
Mohamed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2009 08:59 PM
Thank you both for your replies. I have the above link, but this example shows that client is receiving different n/w from the ISPs. My case, Iam receiving default route (0.0.0.0) only from each ISP (as customer advertise his own /24 subnet to the ISPs).
The primary router will not receive default route from ISP1 1. Link is down 2. EBGP peering issues with primary ISP. So My query is (with reference attached output from both routers- when both links are up & healthy), incase on the second router, if I create a NON-EXIST map of 'NOT RECEIVING 0.0.0.0 from ISP1 AS# ONLY' ADVERTISE --> Client network. Will that achieve what Iam trying to..?
TIA
MS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2009 12:14 AM
Hello Mehboob,
the third example of the document shows that you can match on AS path and on IP prefix.
So you need to have an iBGP session between the two customer routers.
On R2 you will use weight to give preference to 0.0.0.0/0 received on iBGP session.
All this should work but some testing is recommended.
Hope to help
Giuseppe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2009 01:17 AM
Yes it would work
The best thing would be to set a condition on the router connecting to ISPB to advertise the LAN subnet pool only if you receive the WAN subnet between the primary router and ISPA..something like below
ip prefix-list adv seq 10 permit 6.9.62.0/24
ip prefix-list cond seq 10 permit 27.10.96.48/30
route-map advertise permit 10
match ip address prefix-list adv
route-map condition permit 10
match ip address prefix-list cond
router bgp
neighbor 2.2.53.157 advertise-map advertise non-exist-map cond
Narayan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2009 09:14 PM
Thanks again. Narayan, if you look at the o/p that was attached , the ISPB router not learning the any of the Subnets from ISPA (except default route)
Thank you
MS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2009 12:33 AM
Yes i saw that but the WAN subnet can be advertised from the ISPA router as well towards ISPB router
Narayan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2009 06:07 AM
Thank you. What is recomended way for that (redistributing..?) . Also, without modifying ISPA rtr with the existing o/p attached, if I create the route-map(s) based on default route (0.0.0.0) on ISP-B, will that work..?
TIA
MS
