RE: BGP synchro problem

From: Liekun Ye (liekun@xxxxxxxxxxxxx)
Date: Thu Nov 08 2001 - 23:05:51 GMT-3


   
Ok, Here is my real configure, Pls help me to figure it out. TKS.

Here is my config on R1/R2/R3

Configure on R1
=========================================
hostname RTR-1
!
!
ip subnet-zero
!
!
!
!
!
interface Loopback0
 ip address 133.3.1.1 255.255.255.0
 no ip directed-broadcast
 ip ospf network point-to-point
!
interface Ethernet0
 ip address 133.3.13.1 255.255.255.0
 no ip directed-broadcast
!
interface Ethernet1
 no ip address
 no ip directed-broadcast
!
interface Serial0
 ip address 133.3.12.1 255.255.255.0
 no ip directed-broadcast
 clockrate 2000000
!
interface Serial1
 no ip address
 no ip directed-broadcast
 shutdown
!
router ospf 100
 network 133.3.34.0 0.0.0.255 area 0
 network 133.3.0.0 0.0.255.255 area 0
!
router bgp 100
 neighbor 133.3.12.2 remote-as 100
 neighbor 133.3.12.2 route-reflector-client
 neighbor 133.3.13.3 remote-as 100
 neighbor 133.3.13.3 route-reflector-client
 no auto-summary
!
ip classless
>>>>show ip bgp <<<< output
BGP table version is 2, local router ID is 133.3.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
*>i100.100.1.0/24 133.3.13.3 10 100 0 ?

Configure on R2
===========================================
interface Loopback0
 ip address 133.3.2.2 255.255.255.0
 no ip directed-broadcast
 ip ospf network point-to-point
!
interface Serial0
 ip address 133.3.12.2 255.255.255.0
 no ip directed-broadcast
!
interface Serial1
 ip address 133.3.23.2 255.255.255.0
 no ip directed-broadcast
 clockrate 2000000
!
interface TokenRing0
 no ip address
 no ip directed-broadcast
 shutdown
 ethernet-transit-oui 90-compatible
 ring-speed 16
 source-bridge 10 1 100
 source-bridge spanning 100
!
router ospf 100
 network 133.3.0.0 0.0.255.255 area 0
!
router bgp 100
 bgp router-id 133.3.2.2
 neighbor 133.3.12.1 remote-as 100
!
ip classless
!
>>>>show ip bgp <<<<
BGP table version is 1, local router ID is 133.3.2.2
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
* i100.100.1.0/24 133.3.13.3 10 100 0 ?
======
It's valid, but not best, so will not advertise to another peer, if there are a
ny.
======

Configure On R3
===================================
interface Loopback0
 ip address 133.3.3.3 255.255.255.0
 no ip directed-broadcast
 ip ospf network point-to-point
!
interface Loopback1
 ip address 100.100.1.1 255.255.255.0
 no ip directed-broadcast
 ip ospf network point-to-point
!
interface Ethernet0/0
 ip address 133.3.13.3 255.255.255.0
 no ip directed-broadcast
!
interface Serial0/0
 ip address 133.3.23.3 255.255.255.0
 no ip directed-broadcast
!
interface Ethernet0/1
 no ip address
 no ip directed-broadcast
 shutdown
!
router ospf 100
 router-id 133.3.3.3
 redistribute connected subnets route-map con2ospf
 network 133.3.0.0 0.0.255.255 area 0
!
router bgp 100
 bgp router-id 133.3.3.3
 redistribute connected metric 10 route-map con2bgp
 neighbor 133.3.13.1 remote-as 100
 no auto-summary
!
ip classless
ip http server
!
access-list 1 permit 100.100.1.0
route-map con2bgp permit 10
 match ip address 1
!
route-map con2ospf permit 10
 match ip address 1

>>>>show ip bgp <<<<output
BGP table version is 6, local router ID is 133.3.3.3
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
*> 100.100.1.0/24 0.0.0.0 10 32768 ?

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of SFeldber
g@edeltacom.com
Sent: Friday, November 09, 2001 4:54 AM
To: Liekun Ye
Cc: ccielab@groupstudy.com; nobody@groupstudy.com
Subject: Re: BGP synchro problem

You say that you have redistributed the route into BGP on R3. Is this
where are you redistributing 100.100.1.0 into OSPF as well? I have a hunch
that it is your redistribution of this network is the answer to your
question about why EIGRP works but OSPF does not. Remember that the key to
synchronization is having a valid entry in the routing table. If the BGP
route is invalid on R2, then you need to investigate why R2 is not learning
about 100.100.1.0 from the OSPF protocol.

Steve

                    "Liekun Ye"

                    <liekun@china To: <ccielab@groupstudy.com>

                    weal.com> cc:

                    Sent by: Subject: BGP synchro problem

                    nobody@groups

                    tudy.com

                    11/08/2001

                    07:33 AM

                    Please

                    respond to

                    "Liekun Ye"

Hi, group,

    I have a tough problem in bgp configuration. Look at the scenario
below,
Assume that bgp synchronization is enabled by default. R1 act as RR, a
connected
route 100.100.1.0/24 is redistribute into bgp 1 at R3; all three router
runs ospf,
this ibgp route is valid at R1, but shows invalid at R2, also
100.100.1.0/24 is
redistributed to ospf to make igp route synchronize with bgp route. If use
eigrp
to replace ospf as a igp, everything is ok. why ?

Any suggestion is appreciated!

     +--------+ +-------+

     | | | |

     | R1 |------------------| R2 |

     +--------+ +---|---+

          | |

          | |

          | |

          | |

          | +-------+

          | | |

          +----------------------| R3 |100.100.1.0/24 redis into bgp

                                 | |

                                 +-------+

Liekun Ye
Nov. 3, 2001



This archive was generated by hypermail 2.1.4 : Fri Jun 21 2002 - 06:45:10 GMT-3