From: Jens Petter Eikeland (jenseike@start.no)
Date: Mon Sep 12 2005 - 14:02:55 GMT-3
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