Netbrain
Home NetBrain Product One-Skill-at-a-Time Search Mark Forums Read
Go BackThe Net-BrainerOne-Skill-at-a-Time BGP - Advertising more specific routes

Reply
 
Thread Tools Search this Thread Display Modes
Old 01-03-2010, 09:12 PM
m.stone m.stone is offline
 
Join Date: Dec 2009
Posts: 29
Default BGP - Advertising more specific routes

Hello friends,

I have a problem at the moment, struggling to find a solution.

The situation is as follows:

20 remote sites all connecting into the same vpn mpls cloud running BDSL on the WAN.

All 20 sites have there own /24 LAN address.

What I'm trying to do is, advertise 2 x /25 via BGP into the cloud.

What is the best way to get BGP to install these routes, keeping in mind that the LAN is /24 so it will need an exact match to advertise the /25 into the BGP table.

Any help would be greatly appreciated.
Reply With Quote
Old 01-03-2010, 09:43 PM
David.C David.C is offline
 
Join Date: May 2009
Posts: 118
Default Re: BGP - Advertising more specific routes

If you point two static routes at the PE routers toward the real /24 subnet, and redistribute those and not the /24 I think that should do the trick.

You want to be careful not to blackhole (half) your traffic, but if you influence administrative distances that shouldn't be a problem.

What you want to do doesn't really make any sense, though, unless you are prepping for a future re-ip'ing of the subnets. Just a thought, keeping in mind that I don't know your network or what you're trying to accomplish.
Reply With Quote
Old 01-05-2010, 05:07 AM
Chris Chris is offline
 
Join Date: Jun 2009
Posts: 74
Default Re: BGP - Advertising more specific routes

Hi Friend,

There are 2 ways to do this:

First you can use BGP path injection (on the router that receiving the BGP updates, it will split the /24 into /25's then you can do AS-Prepend or anything else).

Second way is to use policy maps to advertise /25 from the advertising router, but you will loose 2 IP addresses for this setup to work.

for example, you have 10.0.1.0/24 and you want to advertise /25 subnet, such as 10.0.1.128/25, you will configure your router to have 10.0.1.1 255.255.255.0 and secondary address of 10.0.1.129 255.255.255.128 then use a prefix list like the following:
ip prefix-list permit 10 MY_PREFIX 10.0.1.128 0.0.0.127
ip prefix-list permit 20 MY_PREFIX 10.0.1.0 0.0.0.255

Hope that helps.
Reply With Quote
Old 01-12-2010, 04:14 AM
m.stone m.stone is offline
 
Join Date: Dec 2009
Posts: 29
Default Re: BGP - Advertising more specific routes

Great!!!

The routes are now installed into the route table. I realized that I need to learn more on BGP.

Thanks, Chris, David.
Reply With Quote
Reply

Bookmarks

Tags
BGP, Routing

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

All times are GMT -4. The time now is 03:08 PM.
Powered by vBulletin
Copyright 2000-2010 Jelsoft Enterprises Limited.
Copyright 2009 NetBrain, Inc. All rights reserved.