From: Khurram Khani (kkhani@xxxxxxxxxxxxxxxxxx)
Date: Tue Aug 06 2002 - 14:46:02 GMT-3
The reply from this gentleman confirms my thought. You need to have a "B"
route
present in Routing table to make this BGP Route get redistributed in RIP,
only having
an entry in BGP Table wont help in redistribution!!.
Summary:
Connected routes can't be "redistributed" with network command on same
router
rather only advertised to BGP peers.
----- Original Message -----
From: "\mit Askan (TK-Network Gvz|mleri)" <umit.askan@probil.com.tr>
To: "Khani, Khurram [INGO1:8851:EXCH]" <kkhani@americasm06.nt.com>
Sent: Monday, August 05, 2002 11:14 AM
Subject: RE: Redistributing BGP into RIP question
Hi Khurram,
Excuse me for my first mail. Because of a long night I think. I didn't
try all before I replied your mail.
After I tried all. These are the tests and results ;
R1...... EBGP......R2......RIP......R3
I sent a route 10.1.1.0 from R1 to R2 via EBGP.
after I see the route at route table via "B", I redistributed it to RIP.
everything is ok.
I run also EIGRP between R1 and R2. on R2 I changed the admin distance
of EBGP from 20 to 150.
therefore EIGRP route is selected. After I see the route via "D" at
route table, I redistributed EBGP to RIP,
there is no updates for 10.1.1.0 at RIP.
So you must see "B" for redist.
For the connected routes ;
I wrote a net 11.1.1.0 mask 255.255.255.0 under bgp for loo 0
it is ok i can see that route at ip rip database.
Hope this helps.
umit
----- Original Message -----
From: "yakout esmat" <yesmat@iprimus.com.au>
To: "Khani, Khurram [INGO1:8851:EXCH]" <kkhani@americasm06.nt.com>
Sent: Tuesday, August 06, 2002 2:09 AM
Subject: RE: Redistributing BGP into RIP question - clarifying...
> Can you send your configs..
>
> If you have another interface on the receiving RIP router that is of the
> same 12.0.0.0 network then the router will drop the advertisements.
>
> You can debug ip rip on the redistributing router to see if it is sending
> the network, and then do the same on the recieving router to see if it is
> receiving it but droping it.
>
>
>
> -----Original Message-----
> From: Khurram Khani [mailto:kkhani@nortelnetworks.com]
> Sent: Saturday, July 06, 2002 3:44 AM
> To: yakout esmat
> Subject: Re: Redistributing BGP into RIP question - clarifying...
>
>
> but its not appearing .... :(
> ----- Original Message -----
> From: "yakout esmat" <yesmat@iprimus.com.au>
> To: "Khani, Khurram [INGO1:8851:EXCH]" <kkhani@americasm06.nt.com>; "Asim
> Khan" <asimmegawatt@yahoo.com>; <ccielab@groupstudy.com>
> Sent: Monday, August 05, 2002 12:18 AM
> Subject: RE: Redistributing BGP into RIP question - clarifying...
>
>
> > If RIP is not running on network 12.0.0.0, and you redistribute BGP as
> > mentioned, then it will appear in RIP domain.
> >
> > Yakout
> >
> > -----Original Message-----
> > From: Khurram Khani [mailto:kkhani@nortelnetworks.com]
> > Sent: Monday, August 05, 2002 8:39 AM
> > To: yakout esmat; Khurram Khani; Asim Khan; ccielab@groupstudy.com
> > Subject: Re: Redistributing BGP into RIP question - clarifying...
> >
> >
> > Yakout,
> >
> > Attached are the notes to your reply...
> >
> > > 1) BGP AS number is incorrect, has to be 24 since you are
redistributing
> > BGP
> > > 24, I asuume that was a typo.
> >
> > Yes , it was a typo. corrected line 'redistribute bgp 1 metric 1'
> >
> > > 2) If your network statement under RIP was "network 12.0.0.0", which
is
> > not
> > > shown here..
> >
> > No ! Network 12.0.0.0 is not in RIP. Its only in BGP, which implies it
> > will be
> > a 'connected' route in Routing Table and an entry will be created in BGP
> > Table with
> > nexthop 0.0.0.0
> >
> > Do you expect RIP to advertise this route on redistributing bgp in RIP??
> > Comments appreciated
> >
> > Thanks
> > Khurram.
> >
> >
> > ----- Original Message -----
> > From: "yakout esmat" <yesmat@iprimus.com.au>
> > To: "Khani, Khurram [INGO1:8851:EXCH]" <kkhani@americasm06.nt.com>;
"Asim
> > Khan" <asimmegawatt@yahoo.com>; <ccielab@groupstudy.com>
> > Sent: Sunday, August 04, 2002 3:18 AM
> > Subject: RE: Redistributing BGP into RIP question - clarifying...
> >
> >
> > > Khurram,
> > >
> > > In your scenario;
> > >
> > > 1) BGP AS number is incorrect, has to be 24 since you are
redistributing
> > BGP
> > > 24, I asuume that was a typo.
> > >
> > > 2) If your network statement under RIP was "network 12.0.0.0", which
is
> > not
> > > shown here..
> > >
> > > Then the answer to your question is, No the network will not be
> advertised
> > > by RIP.
> > >
> > > The reason is as I mentioned before in my previous email.
> > >
> > > Another thing, when you redistribute BGP into any IGP, it will only
> > > redistribute EBGP and Locally originated routes (with next hop
0.0.0.0)
> it
> > > will not redistribute iBGP routes (marked with i in BGP table)
> > >
> > > I am not sure of the reason behind that, but I guess to prevent loops,
> > > assuming that iBGP routes will not be synched untill they are known
via
> > IGP
> > > in the first place.
> > >
> > > HTH
> > >
> > > Yakout
> > >
> > > -----Original Message-----
> > > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
> > > Khurram Khani
> > > Sent: Wednesday, July 17, 2002 6:21 PM
> > > To: Asim Khan; Khurram Khani; ccielab@groupstudy.com
> > > Subject: Re: Redistributing BGP into RIP question - clarifying...
> > >
> > >
> > > Asim,
> > >
> > > Appreciate your time , but this is not the question i asked. Original
> > > question is:
> > >
> > > "When you redistribute BGP in another protocol, does the Router
> > > redistributes Routes
> > > from "BGP Table" or it picks all installed 'B' routes from Routing
> table
> > > and start
> > > advertising in RIP domain"
> > >
> > > Lemme give you an example
> > >
> > > int loop0
> > > ip address 12.0.0.1 255.255.255.0
> > >
> > > router rip
> > > redistribute bgp 24 metric 1 <---- redistributing BGP in RIP
> > > network x.x.x.x (rip network).
> > > .
> > > .
> > >
> > > router bgp 1
> > > network 12.0.0.0 mask 255.255.255.0 <---- BGP will add 12.0.0.0/24
in
> > BGP
> > > Table
> > > .
> > >
> > > Do you expect 12.0.0.0 to be advertised on RIP interfaces? If not, why
> > not?
> > > Appreciate your help.
> > >
> > > Thanks
> > > Khurram.
> > >
> > > ----- Original Message -----
> > > From: "Asim Khan" <asimmegawatt@yahoo.com>
> > > To: "Khani, Khurram [INGO1:8851:EXCH]" <kkhani@americasm06.nt.com>;
> > > <ccielab@groupstudy.com>
> > > Sent: Saturday, August 03, 2002 8:56 PM
> > > Subject: Re: Redistributing BGP into RIP question
> > >
> > >
> > > > In IP routing table, if a router is learning a route
> > > > from two different sources then it will pick the
> > > > source which has the lowest AD. So in your case
> > > > Connected get preference over the redistributed ones.
> > > >
> > > > Regards.
> > > >
> > > > Asim Khan
> > > >
> > > >
> > > > --- Khurram Khani <kkhani@nortelnetworks.com> wrote:
> > > > > Hi All,
> > > > >
> > > > > When I redistribute BGP into RIP using
> > > > >
> > > > > router rip
> > > > > redistribute bgp xx metric 1 <==== redistribution
> > > > > instruction
> > > > >
> > > > >
> > > > > Does above instruction redistributes BGP routes from
> > > > > 'BGP Table' into RIP or
> > > > > it will redistribute only installed BGP routes
> > > > > from 'Routing table' into RIP??
> > > > >
> > > > > When I add a network statement for a connected
> > > > > interface in 'router bgp' , I
> > > > > see a prefix entry in bgp table
> > > > > with nexthop 0.0.0.0 but this route doesn't get
> > > > > redistributed in RIP (doing
> > > > > BGP to RIP redistribution on this
> > > > > router). I am assuming that since connected
> > > > > interface is present in Routing
> > > > > table as 'C' route not 'B' route
> > > > > thats why its not getting redistributed in RIP even
> > > > > though its a valid route
> > > > > in BGP table. Is this behaviour
> > > > > correct???
> > > > >
> > > > > comments appreciated
> > > > >
> > > > > thanks
> > > > > khurram.
> > > > >
This archive was generated by hypermail 2.1.4 : Sat Sep 07 2002 - 19:48:17 GMT-3