BGP Load Sharing/Balancing with 2 ISPs

From: Mahmoud Nossair <mnossier_at_jeraisy.com>
Date: Fri, 18 Dec 2009 21:02:04 +0300

Hi Experts

 

I have the following network setup

 

 

RA (AS 10) ---------------------RC (ISP 1 AS 11)

|

|

|

|

RC(ISP 2 AS 12)

 

 

I need to load balance between these two ISPs

 

I did the following:

===================================

Hostname RA

!

router bgp 10

 no synchronization

 bgp log-neighbor-changes

 neighbor 150.10.10.2 remote-as 12

 neighbor 150.10.10.2 route-map prepend-as in

 neighbor 160.20.20.2 remote-as 11

 neighbor 160.20.20.2 route-map prepend-as in

 maximum-paths 2

 no auto-summary

 !

 address-family nsap

  maximum-paths 2

  no synchronization

 exit-address-family

!

route-map prepend-as permit 10

 set as-path prepend 10

!

===================================================

Hostname RB

!

 

router bgp 11

 no synchronization

 bgp log-neighbor-changes

 neighbor 160.20.20.1 remote-as 10

 neighbor 160.20.20.1 default-originate

 auto-summary

!

=====================================================

Hostname RC

!

!

router bgp 12

 no synchronization

 bgp log-neighbor-changes

 neighbor 150.10.10.1 remote-as 10

 neighbor 150.10.10.1 default-originate

 auto-summary

!

=======================

 

I get the following when I did SHOW IP BGP

 

RA#show ip bgp

BGP table version is 2, local router ID is 1.1.1.1

Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal,

              r RIB-failure, S Stale

Origin codes: i - IGP, e - EGP, ? - incomplete

 

   Network Next Hop Metric LocPrf Weight Path

* 0.0.0.0 150.10.10.2 0 0 10 12 i

*> 160.20.20.2 0 0 10 11 i

RA#

 

 

But when I did (SHOW IP ROUTE) I got an unexpected result :

 

RA#show ip route

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

       E1 - OSPF external type 1, E2 - OSPF external type 2

       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

       ia - IS-IS inter area, * - candidate default, U - per-user static
route

       o - ODR, P - periodic downloaded static route

 

Gateway of last resort is 160.20.20.2 to network 0.0.0.0

 

     1.0.0.0/24 is subnetted, 1 subnets

C 1.1.1.0 is directly connected, Loopback0

     160.20.0.0/24 is subnetted, 1 subnets

C 160.20.20.0 is directly connected, Serial1/0

     150.10.0.0/24 is subnetted, 1 subnets

C 150.10.10.0 is directly connected, Serial1/1

B* 0.0.0.0/0 [20/0] via 160.20.20.2, 00:10:18

RA#

 

 

 

Can anybody help me about this problem.

 

 

Thanks in advance.

Blogs and organic groups at http://www.ccie.net
Received on Fri Dec 18 2009 - 21:02:04 ART

This archive was generated by hypermail 2.2.0 : Sat Jan 02 2010 - 11:11:08 ART