From: Huan Pham (Huan.Pham@peopletelecom.com.au)
Date: Thu Jul 31 2008 - 00:35:04 ART
Actually, you do not need to specify metric for connected route, when
doing redistribution.
For connected routes, RIP defaults the metric to 0. EIGRP default metric
to the interface metric. OSPF defaults it to 20 external Type 2. I've
never tried it with ISIS.
You need to specify metrics for RIP & EIGRP for non connected routes
though.
You can easily verify it with labbing with 2 router, R1 --- R2.
R1#sh ip int brief | ex unass
Interface IP-Address OK? Method Status
Protocol
FastEthernet0/0 10.1.1.1 YES manual up
up
Serial1/0.1 12.0.0.1 YES manual up
up
R1#sh run | s router
router eigrp 100
redistribute connected
network 12.0.0.1 0.0.0.0
no auto-summary
R2#sh ip route eigrp
10.0.0.0/24 is subnetted, 1 subnets
D EX 10.1.1.0 [170/2172416] via 12.0.0.1, 00:00:54, Serial1/0.1
R1#sh ip eigrp topology 10.1.1.0/24
IP-EIGRP (AS 100): Topology entry for 10.1.1.0/24
State is Passive, Query origin flag is 1, 1 Successor(s), FD is 28160
Routing Descriptor Blocks:
0.0.0.0, from Rconnected, Send flag is 0x0
Composite metric is (28160/0), Route is External
Vector metric:
Minimum bandwidth is 100000 Kbit
Total delay is 100 microseconds
Reliability is 255/255
Load is 1/255
Minimum MTU is 1500
Hop count is 0
External data:
Originating router is 12.0.0.1 (this system)
AS number of route is 0
External protocol is Connected, external metric is 0
Administrator tag is 0 (0x00000000)
R2#sh ip eigrp topology 10.1.1.0/24
IP-EIGRP (AS 100): Topology entry for 10.1.1.0/24
State is Passive, Query origin flag is 1, 1 Successor(s), FD is
2172416
Routing Descriptor Blocks:
12.0.0.1 (Serial1/0.1), from 12.0.0.1, Send flag is 0x0
Composite metric is (2172416/28160), Route is External
Vector metric:
Minimum bandwidth is 1544 Kbit
Total delay is 20100 microseconds
Reliability is 255/255
Load is 1/255
Minimum MTU is 1500
Hop count is 1
External data:
Originating router is 12.0.0.1
AS number of route is 0
External protocol is Connected, external metric is 0
Administrator tag is 0 (0x00000000)
R1#sh run | s router
router rip
version 2
redistribute connected
network 12.0.0.0
no auto-summary
R2#sh ip route rip
10.0.0.0/24 is subnetted, 1 subnets
R 10.1.1.0 [120/1] via 12.0.0.1, 00:00:25, Serial1/0.1
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Andy Hogard
Sent: Thursday, 31 July 2008 8:02 AM
To: akyccie
Cc: ccielab@groupstudy.com
Subject: Re: redistribute connected
It depends on the protocol you are distributing in, seed metric is a
requirement of distance vector and eigrp as their default metric for
redistributed routes is infinity. In case of isis redistributed routes
have a metric of 0. So it depends in which protocol you are
re-distributing your connected networks.
HTH.
Greets,
Andy.
On 7/31/08, akyccie <akyccie@gmail.com> wrote:
>
> Is it really require to define metric while you redistribute connected
> to any routing protocol
>
>
> Blogs and organic groups at http://www.ccie.net
>
> ______________________________________________________________________
> _ Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
This archive was generated by hypermail 2.1.4 : Mon Aug 04 2008 - 06:11:58 ART