From: info@mpauli.de
Date: Sun Dec 21 2003 - 18:18:25 GMT-3
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!
> > >
> > > ______________________________________________________________________
> > > _
> > > 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
>
> _______________________________________________________________________
> 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
>
To: arvindyadav@comcast.net
ccielab@groupstudy.com
This archive was generated by hypermail 2.1.4 : Sat Jan 03 2004 - 08:25:43 GMT-3