BGP Route Reflector

From: Manjeet Chawla (mchawla@xxxxxxxxxx)
Date: Sat Dec 04 1999 - 07:23:35 GMT-3


   
Hi all:

Here is the layout:

R4 ------R2-------R1 -------R3 ------R5

R4=AS1
R2, R1, R3 =AS2
R5=AS3

R4 advertises network 40.0.0.0
R2 and R3 are RR client of R1.

I "DO NOT" want to use IGP in this setup. How can I configure R2, R1 and
R3 so that R3 sees 40.0.0.0 ?
I am trying "Next-Hop-Self" as in the configs below. Can some one help
me out with this. Any other non-IGP
or non-static route based solution will be great too

Here are the configs:

********************************** R4 ********************
hostname R4
!

interface Loopback0
 ip address 40.40.40.40 255.255.255.0
!
router bgp 1
 network 40.0.0.0
 neighbor 192.168.24.1 remote-as 2
!
ip classless
R4#sh ip bgp
BGP table version is 34, local router ID is 40.40.40.40
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network Next Hop Metric LocPrf Weight Path
*> 40.0.0.0 0.0.0.0 0 32768 i
*> 192.168.12.0 192.168.24.1 0 0 2 i
*> 192.168.24.0 192.168.24.1 0 0 2 i
R4#

******************************* R2 **************************
hostname R2
!
!
!
interface Loopback0
 ip address 20.20.20.20 255.255.255.0
!
router bgp 2
 network 192.168.12.0
 network 192.168.24.0
 neighbor 192.168.12.1 remote-as 2
 neighbor 192.168.12.1 next-hop-self
 neighbor 192.168.24.2 remote-as 1

R2#sh ip bgp
BGP table version is 8, local router ID is 100.100.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network Next Hop Metric LocPrf Weight Path
*> 40.0.0.0 192.168.24.2 0 0 1 i
*> 192.168.12.0 0.0.0.0 0 32768 i
*>i192.168.13.0 192.168.12.1 0 100 0 i
*> 192.168.24.0 0.0.0.0 0 32768 i
R2#

********************************R1 ***************************
hostname R1
!
interface Loopback0
 ip address 10.10.10.10 255.255.255.0
!
router bgp 2
 no synchronization
 network 192.168.13.0
 neighbor 192.168.12.2 remote-as 2
 neighbor 192.168.12.2 route-reflector-client
 neighbor 192.168.13.2 remote-as 2
 neighbor 192.168.13.2 route-reflector-client
 neighbor 192.168.13.2 next-hop-self
!

R1#sh ip bgp
BGP table version is 37, local router ID is 10.10.10.10
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network Next Hop Metric LocPrf Weight Path
*>i40.0.0.0 192.168.12.2 0 100 0 1 i
*>i192.168.12.0 192.168.12.2 0 100 0 i
*> 192.168.13.0 0.0.0.0 0 32768 i
*>i192.168.24.0 192.168.12.2 0 100 0 i

R1#sh ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate
default
       U - per-user static route, o - ODR

Gateway of last resort is not set

     10.0.0.0/24 is subnetted, 1 subnets
C 10.10.10.0 is directly connected, Loopback0
B 40.0.0.0/8 [200/0] via 192.168.12.2, 00:22:13
C 192.168.12.0/24 is directly connected, Serial0
C 192.168.13.0/24 is directly connected, Serial1
B 192.168.24.0/24 [200/0] via 192.168.12.2, 00:22:13
R1#

******************************* R3 *************************

hostname R3
!
router bgp 2
 no synchronization
 neighbor 192.168.13.1 remote-as 2
!
R3#sh ip bgp
BGP table version is 2, local router ID is 30.30.30.30
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete

* i40.0.0.0 192.168.12.2 0 100 0 1 i
* i192.168.12.0 192.168.12.2 0 100 0 i
*>i192.168.13.0 192.168.13.1 0 100 0 i
* i192.168.24.0 192.168.12.2 0 100 0 i
R3#
R3#
R3#
R3#

NO NETWORK 40.0.0.0 IN THE FOLLOWING " SHOW IP ROUTE".

R3#sh ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate
default
       U - per-user static route, o - ODR

Gateway of last resort is not set

     30.0.0.0/24 is subnetted, 1 subnets
C 30.30.30.0 is directly connected, Loopback0
C 192.168.35.0/24 is directly connected, Ethernet0
C 192.168.13.0/24 is directly connected, Serial0
C 192.168.23.0/24 is directly connected, Serial1

R3#



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:21:58 GMT-3