From: sundar.palaniappan@verizon.com
Date: Mon Sep 12 2005 - 18:00:30 GMT-3
Ali,
To respond to your question whether the behavior you are seeing is normal
-- Answer is YES.
What Jens has stated below is correct.
E0 of R2 runs EIGRP. On redistributing EIGRP into OSPF, R1 should learn the
EIGRP routes including E0 of R2 though it's a directly connect NET.
However, the moment you enable redistribute connected (loopback only) using
route map on R2, E0 will be filtered out from OSPF updates because E0 is a
connected NET and you haven't explicity permitted it in your
redistribution.
To make R1 learn that NET, create another route map statement and permit E0
and set the metric type to 2 (default) and the route on R1 should show up
as an OSPF E2 router.
HTH,
Sundar Palaniappan
CCIE #14532
"Jens Petter
Eikeland" To: "'Godswill Oletu'" <oletu@inbox.lv>,
<jenseike@start.n zero5291@gmail.com
o> cc: ccielab@groupstudy.com,
Sent by: kumara.shunmugam@wipro.com
nobody@groupstudy Subject: SV: redistribution between eigrp and ospf
.com
09/12/2005 04:15
PM
Please respond to
"Jens Petter
Eikeland"
The task was to redistribute the loopback of router 2 without using network
command. Then you need to use a red connected with a route map of lopback.
When you do this the route disapers (eigrp's e0)... why don't you test it
in
a live rack. As you also can see from the ordernary question about this
that
this is exactly what is happening... I don't think you can come here and
say
that somebody are wrong if you don't test it and prove yourselfe. This is a
vel documented and I first learned it at a bootcamp with brian and brian at
internetworkexpert.
Jens Petter Eikeland
-----Opprinnelig melding-----
Fra: Godswill Oletu [mailto:oletu@inbox.lv]
Sendt: 12. september 2005 22:07
Til: Jens Petter Eikeland; zero5291@gmail.com
Kopi: ccielab@groupstudy.com; kumara.shunmugam@wipro.com
Emne: Re: redistribution between eigrp and ospf
Did you try...
#router ospf 1
#network <e0 network> <wildcard mask> area <ur appropriate area #>
I understood what you were saying, but my point is, if a network is present
in 'eigrp 1' table, 'redistribute eigrp 1' will redistribute it regardless
of the route-map connected filter.
'e0' was just a connected route (represented by 'C' in the routing table)
and not an 'eigrp 1' route on R2, hence it was filtered out by the
'redistribute connected .....route-map...' statement.
HTH
Godswill Oletu
----- Original Message -----
From: "Jens Petter Eikeland" <jenseike@start.no>
To: "'Godswill Oletu'" <oletu@inbox.lv>; <zero5291@gmail.com>
Cc: <ccielab@groupstudy.com>; <kumara.shunmugam@wipro.com>
Sent: Monday, September 12, 2005 1:02 PM
Subject: SV: redistribution between eigrp and ospf
>I will try explain this again, because I know that I am right after I have
> tested this out. Me too thought this sounded far out when I first learn
> about it, and needed to see it with my own eyes before I belived it, but
> after tested this in the rack many times I know this is how it works, so
> please test it your selfe man...
>
> First of, e0 of r2 is in this scenario is not redistributed in to eigrp,
> but
> is put in to eigrp with the network command. The hidden command that the
> router do when you enter any network in to the routin prosess with the
> network command is doing a hidden redistributed connected withs include
> all
> the local networks that you entered in with the network command. This is
> how
> it works :
>
> Router eigrp 1
> Network (e0)
>
> When you enter this command the router put this networks in to the
routing
> process by entering :
>
> Router eigrp 1
> Redistribute connected route-map connected-local routes
> Route-map connected-local-routes
>
> The router will never show this command in the config, but this is what
> the
> router actually do.
>
> So
>
> When you then do a redistribute connected in to the other routing process
> (ospf here) with the command :
>
> Interface loopbac 0
> Ip address xx.xx.xx.xx
>
> Router ospf 1
> Redistribute eigrp 1 subnets
> Redistribute connected subnets route-map loopback
> Route-map connected permit 10
> Match interface lo0
>
> When you do this, you will breake the redistribute connected that the
> router
> did for entering e0 in to the routing table(routing process of r2). The
> way
> to fix this is to include this router in to this redistributing process
> like
> this :
>
> Route-map loopbac
> Match interface lo0 e0 (eigrp's e0 network)
>
>
> I suggest you lab this up before you say that I am wrong, because this is
> how the routing process works in a cisco router when you do this kind of
> redistributing on the router. This goes only for when you do this.
>
> Jens P
>
>
>
> -----Opprinnelig melding-----
> Fra: Godswill Oletu [mailto:oletu@inbox.lv]
> Sendt: 12. september 2005 18:42
> Til: Jens Petter Eikeland; zero5291@gmail.com
> Kopi: ccielab@groupstudy.com; kumara.shunmugam@wipro.com
> Emne: Re: redistribution between eigrp and ospf
>
> Ali,
>
> If you can, post configs from R1 & R2.
>
> Just redistributing connected with a route-map will not make 'e0' or
other
> routes redistributed from eigrp to disappear from your routing table or
> the
> routing table of R1. R2 will treat each statement one after the other and
> in
>
> a top to bottom fashion (redistribution will be treated first and your
> network statements will be rearranged and treated one after the other
> after
> the redistribute command).
>
> If the network of e0 is not been advertised by ospf separately (ie you
are
> not using 'network <e0 network> area <#>' under your ospf process or any
> command that will advertise it> and it is only been advertised under your
> eigrp process and u are relying on the 'redistribute' command to send it
> to
> ospf, make sure you have 'redistribute eigrp <as#>.....' under your ospf
> process with the 'redistribute connected...' . Redistribute eigrp <as#>
> will
>
> take care of all routes from eigrp including your 'e0' and the
> 'redistribute
>
> connected route-map' will filter your connected networks by the route-map
> and only advertise the ones that passed the test.
>
> Posting your configs will sort things out and put you in the right
> track.....
>
> HTH
> Godswill Oletu
>
> ----- Original Message -----
> From: "Jens Petter Eikeland" <jenseike@start.no>
> To: <zero5291@gmail.com>
> Cc: <ccielab@groupstudy.com>; <kumara.shunmugam@wipro.com>
> Sent: Monday, September 12, 2005 11:50 AM
> Subject: SV: redistribution between eigrp and ospf
>
>
>> Hi
>>
>>
>>
>> What do you mean. This is how the router is behaving. Please lab it up
>> yourselfe. I have done it several times, and
>> this happens every time
>>
>>
>>
>> Jens Petter Eikeland
>>
>>
>>
>>
>>
>> _____
>>
>> Fra: Ali.Huang [mailto:zero5291@gmail.com]
>> Sendt: 12. september 2005 17:48
>> Til: Jens Petter Eikeland
>> Kopi: ccielab@groupstudy.com; kumara.shunmugam@wipro.com
>> Emne: Re: redistribution between eigrp and ospf
>>
>>
>>
>> Thanks your replies.
>>
>> I wonder if it is a default behavior,I doubt.
>>
>> If not redistribute connected ,I checked the routing table,and found the
>> metric of e0 doesn't like a connected network at all.
>>
>> So I feel doubt.
>>
>>
>> On 9/12/05, Jens Petter Eikeland <jenseike@start.no> wrote:
>>
>> Ok, I have done some reachearc and found what is happening to the
>> router -
>>
>> When you do redistribution here between eigrp and ospf (or any other
>> routing protocol.
>>
>> Router eigrp 1
>> Network ( e0 )
>> Redistribute ospf 1
>>
>> (the router will by default run this command)
>> Redistribute connected subnets route-map conn
>>
>> Route-map default permit 10
>> Match interface e0
>>
>> (This is what the router do when you add a network command
>> to the routing process to add the nets in to the routing table
>> automaticly)
>>
>> When you do a redistributed conected on the same router with a match
int
>> Lo0
>>
>> Router ospf 1
>> Redistribute connected subnet route-map conn
>>
>> Route-map conn
>> Match int lo0
>>
>> When you do this you will loose the Ethernet interface that you
>> advertised
>> in to eigrp
>> from the routing table and you will breake the redistribution process
>> that
>> eigrp did on its connected interfaces. This is a default behaviour of
>> cisco
>> routers.
>>
>> You can solve this by doing in ospf :
>>
>> Redistributed connected permit 10 route-map conn
>>
>> Route-map conn
>> Match interface e0
>>
>> In addition to the connected loopback you redistributed in earlier
>>
>>
>>
>> Hope this explain this for you. This is a behaivur that the router has,
>> and
>> this is something you need to think of when you do redistribution on a
>> border router
>>
>> Jens P
>>
>>
>> -----Opprinnelig melding-----
>> Fra: nobody@groupstudy.com [mailto:nobody@groupstudy.com] Pe vegne av
>> Ali.Huang
>> Sendt: 12. september 2005 13:35
>> Til: Cisco certification
>> Emne: redistribution between eigrp and ospf
>>
>> hi,group,
>> Topo:R1---ospf-----(s0)R2(e0)---eigrp
>> I do bi-direction redistribution.work well.and the subnet of e0 was
>> diaplayed in R1 routing table.But when I want to redistribute loopback0
>> of
>> R2 into ospf domain,use the following clauses;
>> route-map CON permit 10
>> match interface Loopback0
>> router ospf 10
>> redistribute connected metric-type 1 metric 100 subnets route-map CON
>> The subnet of e0 disappeares from R1 routing table,and the loopback0 of
>> R2
>> OK.If removes the redistribute connected,OK.it come back.who can tell me
>> why?
>>
>> THX.
>> Ali.huang
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
>>
>>
>>
>>
>> --
>> THX.
>> Ali.huang
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Sun Oct 02 2005 - 14:40:14 GMT-3