Internet.com
Get your
ISP-News
courtesy of
internetnews.com




Search ISP-Lists
Search:
ISP Channel
CLEC-Planet
ISP Glossary
ISP News
ISP-Planet
ISP-Lists
E-mail Newsletters
Opt-in Announcements
Discussion Forums
internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

The ISP-Lists.com Email Discussion List Community

<- Previous Message | Next Message ->
Thread Index
[isp-bgp] Re: Advertising in BGP
Hi Jacques,

From the snippet of config you pasted below:
I see you are not advertising all of your 6 (now 7) prefixes to _both_
upstreams, just 3 to ISP1 and 3 to ISP2.
This will work, yes, but has not really added BGP-functionality. It has the
same effect as statically routed blocks.
What if the trunk to ISP-1 fails?
The 3 prefixes you announce to them are not announced to ISP-2 and will
disappear from the global routing-table.
You should try and announce all of your blocks to all upstreams and then let
AS_PATH (or any other attribute you see fit) do the balancing:

=========
On router 1:
=========
 neighbor Loopback0 remote-as ISP1
 neighbor Loopback0 route-map ISP1-IN in
 neighbor Loopback0 route-map ISP1-OUT out
!
ip as-path access-list 2 permit ^$
!
ip prefix-list prepend seq 10 permit network1/24 le 32
ip prefix-list prepend seq 15 permit network2/24 le 32
ip prefix-list prepend seq 20 permit network3/24 le 32
!
ip prefix-list no-prepend seq 10 permit network4/24 le 32
ip prefix-list no-prepend seq 15 permit network5/24 le 32
ip prefix-list no-prepend seq 20 permit network6/24 le 32
!
route-map ISP1-OUT permit 20
 match ip address prefix-list prepend
 match as-path 2
 set as-path prepend MyAS MyAS
!
route-map ISP1-OUT permit 30
match ip address prefix-list no-prepend
match as-path 2

=========
On router2:
=========
 neighbor Loopback0 remote-as ISP2
 neighbor Loopback0 route-map ISP2-IN in
 neighbor Loopback0 route-map ISP2-OUT out
!
ip as-path access-list 2 permit ^$
!
ip prefix-list prepend seq 10 permit network4/24 le 32
ip prefix-list prepend seq 15 permit network5/24 le 32
ip prefix-list prepend seq 20 permit network6/24 le 32
!
ip prefix-list no-prepend seq 10 permit network1/24 le 32
ip prefix-list no-prepend seq 15 permit network2/24 le 32
ip prefix-list no-prepend seq 20 permit network3/24 le 32

!
route-map ISP2-OUT permit 20
 match ip address prefix-list prepend
 match as-path 2
 set as-path prepend MyAS MyAS
!
route-map ISP2-OUT permit 30
match address prefix-list no-prepend
match as-path 2

As for the 7-nd block: route it however you want..

Cheers,
Jeffrey Belles



----- Original Message -----
From: "Jacques VUVANT" <jacques.vuvant@...>
To: <isp-bgp@isp-bgp.com>
Sent: Friday, July 18, 2003 3:40 AM
Subject: [isp-bgp] Advertising in BGP


> Hello all
>
> I have a network constituted with 2 routers (R1 and R2)connected on
> iBGP, and each router is connected in eBGP to ISPs (ISP1 and ISP2). I'm
> trying to manage incoming traffic of routes advertised by my AS with
> prefix and route-map with as-prepend as following and it work well, see
> configuration:
>
> On R1
> =====
> router bgp MyAS
> .....
>  neighbor Loopback0 remote-as ISP1
>  neighbor Loopback0 route-map ISP1-IN in
>  neighbor Loopback0 route-map ISP1-OUT out
> !
> ip as-path access-list 2 permit ^$
> !
> ip prefix-list TO-R2 seq 10 permit network1/24 le 32
> ip prefix-list TO-R2 seq 15 permit network2/24 le 32
> ip prefix-list TO-R2 seq 20 permit network3/24 le 32
> !
> route-map ISP1-OUT permit 20
>  match ip address prefix-list TO-R2
>  match as-path 2
>  set as-path prepend MyAS MyAS
> !
> route-map ISP1-OUT permit 30
>  match as-path 2
>
>
> On R2
> ========
> router bgp MyAS
> .....
>  neighbor Loopback0 remote-as ISP2
>  neighbor Loopback0 route-map ISP2-IN in
>  neighbor Loopback0 route-map ISP2-OUT out
> !
> ip as-path access-list 2 permit ^$
> !
> ip prefix-list TO-R1 seq 10 permit network4/24 le 32
> ip prefix-list TO-R1 seq 15 permit network5/24 le 32
> ip prefix-list TO-R1 seq 20 permit network6/24 le 32
> !
> route-map ISP2-OUT permit 20
>  match ip address prefix-list TO-R1
>  match as-path 2
>  set as-path prepend MyAS MyAS
> !
> route-map ISP2-OUT permit 30
>  match as-path 2
>
> My question is if I add route on both Prefix-list, for example:
>
> On R1:
> ======
> ip prefix-list TO-R2 seq 10 permit network1/24 le 32
> ip prefix-list TO-R2 seq 15 permit network2/24 le 32
> ip prefix-list TO-R2 seq 20 permit network3/24 le 32
>
> On R2:
> ======
> ip prefix-list TO-R1 seq 10 permit network4/24 le 32
> ip prefix-list TO-R1 seq 15 permit network5/24 le 32
> ip prefix-list TO-R1 seq 20 permit network6/24 le 32
> ip prefix-list TO-R2 seq 20 permit network3/24 le 32
>
> What should happen on advertising ?
>
> Thanks for any answer
>
>
> Jacques VUVANT
> Network OPT New-Caledonia
> Phone : +687-267541
> Fax : +687-278444
> Mob : +687-773121
> Mail : Jacques.vuvant@...
>
>
> -----Message d'origine-----
> De : Carl-Henrik Landgren [mailto:landgren@...
> Envoyé : mercredi 16 juillet 2003 23:19
> À : isp-bgp@isp-bgp.com
> Cc : isp-bgp@isp-bgp.com
> Objet : [isp-bgp] RE: Sample BGP Config
>
> Depending on what link you want the traffic to take, it's pretty
> simple....
>
> Just make the link you don't want the outbound traffic to pass with a
> longer AS-PATH, just add your own AS to the AS-SEQUENCE several times to
> make it long enough.
>
> Or, you can filter with LOCAL-PREF for the prefixes you want the
> outbound-traffic to exit your AS.
>
> The rest i assume you know how to configure yourself.
>
> /Carl
>
>
>
> ------- Ursprungligt brev -------
> Från: chris@...
> Datum: Tue, 15 Jul 2003 14:58:48 -0700
>
> Michael,
>
> Thanks for the response.  The example I read was "Load Sharing when
> Multihomed to Two ISPs via Multiple Local Routers"
>
> The outbound traffic policy in this example limits traffic to one of the
> two providers unless there is a failure.
>
> The outbound traffic policy is as follows:
> Traffic destined to AS 300 goes via the R1 - ISP(A) link.
> Traffic destined to AS 400 goes via the R2 - ISP(B) link.
> All other traffic should prefer default route 0.0.0.0 via the R1 -
> ISP(A) link.
> If the R1 - ISP(A) link fails, all traffic should go via the R2 - ISP(B)
> link.
>
> I'd like to have outbound traffic take the shortest path if both ISP's
> are up and fail over to the other ISP if one ISP link fails.
>
>
> Christopher J. Wolff, VP CIO
> Broadband Laboratories, Inc.
> http://www.bblabs.com
>
> -----Original Message-----
> From: Michael Weinstock [mailto:MWeinstock@...> Sent: Tuesday, July 15, 2003 2:50 PM
> To: isp-bgp@isp-bgp.com
> Subject: [isp-bgp] RE: Sample BGP Config
>
> Hello,
>
> You didnt like it? Perhaps specify what you didnt like... As the answer
> will be based on Cisco's docs.
>
> -----Original Message-----
> From: Christopher J. Wolff [mailto:chris@...> Sent: Wednesday, 16 July 2003 9:47 a.m.
> To: isp-bgp@isp-bgp.com
> Subject: [isp-bgp] Sample BGP Config
>
>
> Hello,
>
> I'm looking for a couple of sample cisco configs that illustrate two
> multihomed routers connected by an IGP session.  For example;
>
> Router 1----------Isp 1
> |
> |
> IGP
> |
> |
> Router 2----------Isp 2
>
> I read the Cisco scenarios for multihomed networks documents but I
> didn't like what I read.  Thank you in advance.
>
> C.J. Wolff, VP CIO
> Broadband Laboratories, Inc.
> http://www.bblabs.com
>
>
>
>
> _______________

>  ______________



>
>
> _______________

>  ______________



>
>
>
> _______________

>  ______________



>
>
>
>
> _______________

>  ______________



>
>
>
>




>

Replies
[isp-bgp] RE : Re: Advertising in BGP, Jacques VUVANT
Replies
[isp-bgp] Advertising in BGP, Jacques VUVANT
<- Previous Message | Next Message ->
Thread Index

ISP Glossary
Find an ISP Term

Need Help?

JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
IBM eBook: Planning a Service Oriented Architecture
IBM eBook: Choosing the Right Architecture--What It Means for You and Your Business
Microsoft Article: Will Hyper-V Make VMware This Decade's Netscape?
Avaya Article: Using Intelligent Presence to Create Smarter Business Applications
Intel Go Parallel Article: Getting Started with TBB on Windows
Microsoft Article: 7.0, Microsoft's Lucky Version?
Avaya Article: How to Feed Data into the Avaya Event Processor
IBM Article: Developing a Software Policy for Your Organization
Microsoft Article: Managing Virtual Machines with Microsoft System Center
Intel Go Parallel Article: Intel Threading Tools and OpenMP
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
HP Video: StorageWorks EVA4400 and Oracle
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Red Gate Download: SQL Toolbelt and free High-Performance SQL Code eBook
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
Silverlight 2 App and Walkthrough: Leverage Silverlight 2 with SQL Server and XML
IBM Article: Enterprise Search--Do You Know What's Out There?
HP Demo: StorageWorks EVA4400
Microsoft Article: The Progress and Promise of Deep Zoom
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES