RE: BGP Question

From: Ashok Verma \(ashoverm\) (ashoverm@cisco.com)
Date: Tue Mar 02 2004 - 21:51:35 GMT-3


Hey Bob,
It works....i am really thankful to you ...i was breaking my head for
this from a long time .

Guys , the solution for this is .........you should be having same
router-ids for bgp and ospf. And also the network you are reciving has
to be the same from bgp and ospf .....checkout for the ip ospf network
p-p command in the loopback interface .Othewise BGP will be learning /24
and OSPF will be /32 .....so still th sync does not happen .be careful.

Thanks for all .

Regards.,
Ashok

-----Original Message-----
From: Bob Sinclair [mailto:bsinclair@netmasterclass.net]
Sent: Tuesday, March 02, 2004 11:46 PM
To: ashoverm@cisco.com
Subject: Re: BGP Question

Ashok,

Bingo! I think the problem is that OSPF sees 200.200.4.3/32, whereas
BGP
sees 200.200.4.0/24. The masks must match exactly. Try going into your
loopback on R1 and putting "ip ospf network point-to-point.

HTH,

Bob Sinclair
CCIE #10427, CISSP, MCSE
www.netmasterclass.net

----- Original Message -----
From: "Ashok Verma (ashoverm)" <ashoverm@cisco.com>
To: "'Bob Sinclair'" <bsin@cox.net>
Sent: Monday, March 01, 2004 9:34 PM
Subject: RE: BGP Question

> Hi Bob
>
> I was using the different ip to explain it in my mails ....originally
> I am using below given topology.
>
> ospf
> Lo200: 200.200.4.3/24 --
> R6--------------------------------------R4
> .6 135.4.34.0/29
> .4
>
>
> Loopbacks are 135.4.X.X ( X is router number ) . R6 and R4 in same AS
> and there is no peering problem. Here below is the information you
> asked for.
>
>
> Rack4_W2514B_R4#sh ip route 200.200.4.3
> Routing entry for 200.200.4.3/32
> Known via "ospf 10", distance 210, metric 65, type intra area
> Last update from 135.4.34.6 on Serial0, 00:00:16 ago
> Routing Descriptor Blocks:
> * 135.4.34.6, from 135.4.6.6, 00:00:16 ago, via Serial0
> Route metric is 65, traffic share count is 1
>
>
> Rack4_W2514B_R4#sh ip bgp 200.200.4.0
> BGP routing table entry for 200.200.4.0/24, version 3
> Paths: (1 available, no best path)
> Not advertised to any peer
> Local
> 135.4.6.6 (metric 65) from 135.4.6.6 (135.4.6.6)
> Origin incomplete, metric 0, localpref 100, valid, internal, not

> synchronized
>
>
> Thans a lot
>
> Ashok
>
>
> -----Original Message-----
> From: Bob Sinclair [mailto:bsin@cox.net]
> Sent: Tuesday, March 02, 2004 10:33 AM
> To: Ashok Verma (ashoverm)
> Subject: Re: BGP Question
>
>
> Ashok,
>
> Please do this on R2, do sh ip bgp 11.1.1.0 and sh ip route 11.1.1.0
> and send me the results.
>
> thanks
>
> Bob Sinclair
> CCIE #10427, CISSP, MCSE
> www.netmasterclass.net
>
> ----- Original Message -----
> From: "Ashok Verma (ashoverm)" <ashoverm@cisco.com>
> To: "'Bob Sinclair'" <bsinclair@netmasterclass.net>
> Cc: <ccielab@groupstudy.com>
> Sent: Monday, March 01, 2004 8:20 PM
> Subject: RE: BGP Question
>
>
> > Hi Bob,
> >
> > I read the document and tried to apply in my scenario .But
> > unfortunately it still does not work.
> >
> >
> > As below explained , I need to put R1's Loopback netw(11.1.1.0) in
> > bgp . And R2 should be seeing it as best route .
> >
> > On R1 I am doing redistributed connected and also putting the same
> > nw in ospf configuration also.
> >
> > R1:
> >
> > Router bgp 1
> > Router-id 1.1.1.1
> > Neigh 2.2.2.2 remot 1
> > Neigh 2.2.2.2 up lo0
> > Redistributed connected route-map conn
> >
> > Router ospf 10
> > Router-id 1.1.1.1
> > Network 11.1.1.0 0.0.0.255
> > Network 10.1.1.0 0.0.0.255 a 1 ( network used between R1 and R2)
> >
> > Route-map conn
> > Match ip add 11
> >
> > Access-list 11 p 11.1.1.0 0.0.0.255
> >
> >
> > On R2
> > Router bgp 1
> > Neigh 1.1.1.1 remot 1
> > Neigh 1.1.1.1 up lo0
> >
> > Router ospf 10
> > Network 10.1.1.0 0.0.0.255 a 1 ( network used between R1 and R2)
> >
> >
> > Since it is the directly connected netw on R1 so I can not
> > redistributed the bgp in ospf and get that route to R2( as we do in
> > normal case where the route is coming from bgp ).So only way I can
> > send that route via ospf is either put a network command or
> > redistributed connected .In both the cases the result is same . On
> > R2 I am not getting this as best route ...i am really not finding it

> > Y?
> >
> > Any suggestion are welcome.
> >
> > Regards,
> > Ashok
> >
> > -----Original Message-----
> > From: Bob Sinclair [mailto:bsinclair@netmasterclass.net]
> > Sent: Monday, March 01, 2004 11:30 PM
> > To: Ashok Verma (ashoverm); ccielab@groupstudy.com
> > Subject: Re: BGP Question
> >
> >
> > Ashok,
> >
> > This looks like the BGP-OSPF RID issue. There is an excellent paper

> > on this at the following link:
> >
> > http://www.netmasterclass.net/site/articles/BGP%20Route%20Reflector%
> > 20
> > an
> > d%20synchronization%20rule.pdf
> >
> > HTH
> >
> > Bob Sinclair
> > CCIE #10427, CISSP, MCSE
> > www.netmasterclass.net
> >
> > ----- Original Message -----
> > From: "Ashok Verma (ashoverm)" <ashoverm@cisco.com>
> > To: <ccielab@groupstudy.com>
> > Sent: Monday, March 01, 2004 3:02 AM
> > Subject: BGP Question
> >
> >
> > > Hi All,
> > >
> > > I have a basic question about the BGP.
> > >
> > >
> > >
> > >
> > > R1
------------R2-----------R4.
> > > /
> > > lo 1: 11.1.1.1/24
> > >
> > > R1 is connected to R2 via FR .R2 and R4 on serial link .R1 R2 in
> > > same AS ( 1) and R4 is in AS 10 . OSPF is running between the R1
> > > and
>
> > > R2 .
> > >
> > > If I do the redistribution of the lo1: netwrok in bgp .it will be

> > > go to R2 but will not shown as the best route on R2. And when I
> > > will
>
> > > do the NO sync on R2 it will become Best route and sent to R4.
> > >
> > > But I don't want to use no sync for this purpose , So I
> > > redistributed that route in the OSPF also on R1, R2 is learning
> > > this route by igp also.so by sync law it should be shown as the
> > > best route in bgp table and shold be sent to R4....But it did not
> > > work .
> > >
> > > All peering things are working fine .Is anyting I am missing
> > > ...what
>
> > > we should do if any such condition arise in LAB.
> > >
> > > Thanks in advance,
> > >
> > > Regards,
> > >
> > > Ashok Kumar Verma
> > > CCIP,CCDP,CCNP
> > > Network Consulting Engineer
> > > Customer Advocacy Advanced Service Dep.
> > > Service Provider AS Div.2
> > > Cisco Systems, K.K.Japan.
> > >
> > > Tel: +81-3-5324-4583
> > > e-mail: ashoverm@cisco.com
> > >
> > > __________________________________________________________________
> > > __
> > > __
> > > _
> > > Please help support GroupStudy by purchasing your study materials
> > from:
> > > http://shop.groupstudy.com
> > >
> > > Subscription information may be found at:
> > > http://www.groupstudy.com/list/CCIELab.html
> >
> > ____________________________________________________________________
> > __
> > _
> > Please help support GroupStudy by purchasing your study materials
> from:
> > http://shop.groupstudy.com
> >
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Thu Apr 01 2004 - 08:15:13 GMT-3