From: R&S Groupstudy (rsg@synergy-networking.co.uk)
Date: Mon Dec 22 2003 - 05:25:05 GMT-3
yes, this is normal behavour.
to extend this point - imagine you have a router running rip + eigrp +
ospf - and you are redistrubuting mutually between eigrp and ospf...
if you want to redistribute rip into eigrp - then you must also redistribute
into ospf.
This mechanism exists to avoid loops in networks where you are mutually
redistributing between protocols on the same router.
Adam
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
arvindyadav@comcast.net
Sent: 22 December 2003 08:08
To: info@mpauli.de; ccielab@groupstudy.com
Subject: Re: Redistribute Connected Issue
You are right but that was not my question. My question was
r4------r6------r9
ospf eigrp
I have two loopback on R6 router loopback20(200.100.100.1/24) and loopback21
(150.50.50.1/24). To make loopback20 (200.100.100.1) part of EIGRP and I
have put the network statement under eigrp on R6 router. If you see the
config below in my earlier mail, EIGRP routes are redistributed into OSPF
and I can see the 200.100.100.0/24 routes on R4 router as an external OSPF
(O E2). Everything is fine till here.
To advertise the 2nd loopback 150.50.50.0/24, because it's not a part of
eigrp so I have put redistribute connected under EIGRP on R6 router. But
this route not getting advertised into OSPF. That is the problem.
"redistribute connected" command is working fine under EIGRP because I can
see the same route 150.50.50.0/24 on R9 as EIGRP external route (D EX). I
initial though this may be the way eigrp works so I did same test for OSPF.
This time I put redistribute connected under OSPF and redistribute OSPF into
eigrp. Now I expect this route (150.50.50.0) in EIGRP table on R9 route, but
it's not getting advertise to EIGRP. Redistribute connected command is
working because I can see the same router on R4 as ospf (O E2)
I just wanted to know is it the way redistribution works or I am doing
something wrong.
pls see the config below in my earlier mail
Thanks
Arivnd
----- Original Message -----
From: <info@mpauli.de>
To: <arvindyadav@comcast.net>; <ccielab@groupstudy.com>
Sent: Sunday, December 21, 2003 4:18 PM
Subject: Re-2: Redistribute Connected Issue
> Hi Arivnd,
>
> of course, as long as you redistribute a network from anywhere (even
connected) the routing process treats it as external source. In fact, it is
external, as the source is not within the routing process.
> If you want to put the network in the routing process as internal network,
use "network .... and passive interface" to reach that goal.
>
> Cheers
> Marcus
>
>
> -------- Original Message --------
> Subject: Re: Redistribute Connected Issue (21-Dez-2003 21:58)
> From: arvindyadav@comcast.net
> To: info@mpauli.de
>
> > I found when you do the mutual redistribution b/w two routing protocol
and
> > use redistribute connected to advertise the connected networks in one
> > routing protocol, route does not appear in other protocol routing
table.
> > Is
> > it the default behavior or I am wrong somewhere.
> >
> > My findings
> >
> > r4------r6------r9
> > ospf eigrp
> >
> > OSPF b/w R4 and r6
> > EIGRP b/w r6 and r9
> >
> >
> > Scenario 1 - EIGRP
> >
> > if you put the network statement under EIGRP for any connected n/w, if
will
> > appear as internal route on other eigrp neighbors.
> >
> > R9#ib
> > Interface IP-Address OK? Method Status
> > Protocol
> > Loopback20 200.200.200.1 YES manual up
> > up
> > Serial0 110.99.69.2 YES manual up
> > up
> >
> > router eigrp 2
> > network 110.99.69.0 0.0.0.255
> > network 200.200.200.0
> > no auto-summary
> > no eigrp log-neighbor-changes
> >
> >
> > R6#sh ip ro ei
> > D 200.200.200.0/24 [90/2297856] via 110.99.69.2, 00:00:57, Serial1
> >
> >
> > But if you redistribute connected, it shows as external route.
> >
> > R9(config)#router ei 2
> > R9(config-router)#no network 200.200.200.0
> > R9(config-router)#redi connected
> >
> > R6#sh ip ro ei
> > D EX 200.200.200.0/24 [170/2297856] via 110.99.69.2, 00:01:52, Serial1
> >
> >
> > Scenario 2 - EIGRP - OSPF distribution.
> >
> > I have network statement for loopback20 (200.100.100.1) unders eigrp and
> > redistributing EIGRP into OSPF. This route appear as an external router
in
> > OSPF.
> >
> > R6#ib
> > Interface IP-Address OK? Method Status
> > Protocol
> > Loopback20 200.100.100.1 YES manual up
> > up
> > Serial0 110.99.1.66 YES manual up
> > up
> > Serial1 110.99.69.1 YES manual up
> > up
> >
> > R6#
> >
> > router eigrp 2
> > network 110.99.69.0 0.0.0.255
> > network 200.100.100.0
> > auto-summary
> > no eigrp log-neighbor-changes
> > !
> > router ospf 1
> > log-adjacency-changes
> > redistribute eigrp 2 subnets
> > network 110.99.1.66 0.0.0.0 area 0
> >
> > r4
> > O E2 200.200.200.0/24 [110/20] via 110.99.1.66, 00:12:58, Serial0.6
> > 4.0.0.0/24 is subnetted, 3 subnets
> > O E2 110.99.69.0/24 [110/20] via 110.99.1.66, 00:02:56, Serial0.6
> >
> > O E2 200.100.100.0/24 [110/20] via 110.99.1.66, 00:03:28, Serial0.6
> > 110.0.0.0/8 is variably subnetted, 16 subnets, 4 masks
> >
> >
> > I have created one more loopback21 on r6 and there is no network
statement
> > for this network and using redistribute connected to advertise this
route.
> >
> > R6#ib
> > Interface IP-Address OK? Method Status
> > Protocol
> > Loopback20 200.100.100.1 YES manual up
> > up
> > Loopback21 150.50.50.1 YES manual up
> > up
> > Serial0 110.99.1.66 YES manual up
> > up
> > Serial1 110.99.69.1 YES manual up
> > up
> >
> >
> > router eigrp 2
> > redistribute connected route-map test1
> > network 110.99.69.0 0.0.0.255
> > network 200.100.100.0
> > auto-summary
> > no eigrp log-neighbor-changes
> > !
> > access-list 7 permit 150.50.50.0 0.0.0.255
> >
> > route-map test1 permit 10
> > match ip address 7
> >
> >
> > But this route (loppabck21, 150.50.50.1/24) does not appear in R4
routing
> > table but all other roues are fine. But if I can see this router on R9
as
> > external.
> >
> > R4#sh ip ro os
> > O E2 200.200.200.0/24 [110/20] via 110.99.1.66, 00:46:59, Serial0.6
> > O E2 5.3.3.0 [110/20] via 110.99.1.66, 00:46:59, Serial0.6
> >
> > R9#sh ip ro | in 150.50.50.0
> > D EX 150.50.50.0 [170/2297856] via 110.99.69.1, 00:00:20, Serial0
> >
> >
> > Now I tried to redistribute connected under ospf. But here also this
route
> > appears in R4 routing table as O E2 but not on R9. I am redistributing
ospf
> > into eigrp as well
> >
> > router eigrp 2
> > redistribute ospf 1 metric 1000 100 255 1 1500
> > network 110.99.69.0 0.0.0.255
> > network 200.100.100.0
> > auto-summary
> > no eigrp log-neighbor-changes
> > !
> > router ospf 1
> > redistribute connected subnets route-map test1
> > redistribute eigrp 2 subnets
> > network 110.99.1.66 0.0.0.0 area 0
> > network 110.99.100.0 0.0.0.255 area 100
> >
> >
> > Is it the default behavior or am I wrong somewhere. Because all other
> > routes
> > looks perfectly fine.
> >
> >
> > thanks
> > Arivnd
> >
> >
> >
> > ----- Original Message -----
> > From: <Danny.Andaluz@triaton-na.com>
> > To: <arvindyadav@comcast.net>; <kasturi_cisco@hotmail.com>;
> > <vdadlaney@comcast.net>
> > Cc: <ccielab@groupstudy.com>
> > Sent: Tuesday, December 16, 2003 3:03 PM
> > Subject: RE: Redistribute Connected Issue
> >
> >
> > > 1. If on R3 eigrp is enabled on loopback 0, then why do you need to
redis
> > > connected. Just make sure you have network statement under eigrp
> > >
> > > router eigrp 2
> > > net 10.0.0.0
> > >
> > > I have to "redistribute connected" for connected isis interfaces that
> > won't
> > > be redistributed with "redistribute isis" under both EIGRP AS's.
> > >
> > > 2. If both the router R2 and R3 redistribute the AS2 to AS1 then R1
will
> > > get two route and both will external D EX. R1 will select the better
> > metric
> > > router.
> >
> > > 3 R2 will be getting this router as internal
> > >
> > > This is what I expected, but not what I saw. R2 did have a D entry
for
> > this
> > > network from R3 across AS 2. R2 was sending this route to R1, but R3
was
> > > not. Once I added R3's loopback to the ACL for the route-map for
> > > redistributing connected ISIS interfaces into EIGRP 1 and 2, R1
received
> > the
> > > route from R3 and chose R3 as the best path. It still had R2's path
in
> > the
> > > topology table.
> > >
> > >
> > > 4. If redistribution ( as2 to as1) is happening only of R3 then R1
get
> > only
> > > one router i.e from R3.
> > >
> > > Danny
> > >
> > >
> > > -----Original Message-----
> > > From: arvindyadav@comcast.net [mailto:arvindyadav@comcast.net]
> > > Sent: Tuesday, December 16, 2003 2:44 PM
> > > To: kasturi cisco; Andaluz, Danilo, Triaton/NA; vdadlaney@comcast.net
> > > Cc: ccielab@groupstudy.com
> > > Subject: Re: Redistribute Connected Issue
> > >
> > >
> > > 1. If on R3 eigrp is enabled on loopback 0, then why do you need to
redis
> > > connected. Just make sure you have network statement under eigrp
> > >
> > > router eigrp 2
> > > net 10.0.0.0
> > >
> > > 2. If both the router R2 and R3 redistribute the AS2 to AS1 then R1
will
> > > get two route and both will external D EX. R1 will select the better
> > metric
> > > router.
> > >
> > > 3 R2 will be getting this router as internal
> > >
> > > 4. If redistribution ( as2 to as1) is happening only of R3 then R1
get
> > only
> > > one router i.e from R3.
> > >
> > > I have simulated and I got two routes in eigrp topo on R1 and it
select
> > best
> > > route via 150.50.124.6 (R3) because of better metric.
> > >
> > > R1# sh ip ei topo
> > > IP-EIGRP Topology Table for process 1
> > >
> > > Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
> > > r - Reply status
> > >
> > > P 10.1.1.0/24, 1 successors, FD is 409600
> > > via 150.50.124.6 (409600/128256), Ethernet0
> > > via 150.50.124.5 (412160/156160), Ethernet0
> > >
> > > R1#sh ip ro
> > > Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B -
BGP
> > > D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
> > > N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
> > > E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
> > > i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * -
candidate
> > > default
> > > U - per-user static route, o - ODR
> > >
> > > Gateway of last resort is not set
> > >
> > > 10.0.0.0/24 is subnetted, 1 subnets
> > > D EX 10.1.1.0 [170/409600] via 150.50.124.6, 00:01:31, Ethernet0
> > >
> > >
> > > regds
> > > Arvind
> > >
> > > ----- Original Message -----
> > > From: "kasturi cisco" <kasturi_cisco@hotmail.com>
> > > To: <Danny.Andaluz@triaton-na.com>; <vdadlaney@comcast.net>
> > > Cc: <ccielab@groupstudy.com>
> > > Sent: Tuesday, December 16, 2003 11:07 AM
> > > Subject: RE: Redistribute Connected Issue
> > >
> > >
> > > > Danny,
> > > >
> > > > I think what possibly is happening is when u have a route-map for
> > > > "redi connected" on R3 u are not including the Loopback on R3. so
what
> > > > happens is the loopback wont go from R3 to R1.Since loopback is in
> > > > EIGRP it reaches R2 as (D) and then R1 (D EX) and hence R1 possible
> > > > has only 1 route to the loopback via R2.
> > > >
> > > > Does ur R1 routing table and/or toplogy table show 2 routes for the
> > > > loopback. Can u post the configs with route table for all 3.
> > > >
> > > > HTH.Let us know what u find.
> > > >
> > > > Good Luck,
> > > > Kasturi.
> > > >
> > >
> ----------------------------------------------------------------------
> > > > --
> > > >
> > > > Stand out from the crowd. Make your own MMS cards. Have some mobile
> > > > masti!
> > > >
> > > >
This archive was generated by hypermail 2.1.4 : Sat Jan 03 2004 - 08:25:43 GMT-3