LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-16-2002, 02:08 PM   #1
dai
Member
 
Registered: May 2002
Location: Wales
Distribution: Slack 8.1, Gentoo 1.3a, Red Hat 7.3, Red Hat 7.2, Manrake 8.2
Posts: 328

Rep: Reputation: 30
EIGRP and IGRP metric calculations


OK I am working on a lab set-up art the minute (comparing IGRP and EIGRP)

Quick question having setup IGRP and run the sh ip route (Ip address) command I get the following output: -

newport#sh ip route 172.16.1.1
Routing entry for 172.16.0.0/24
Known via "igrp 100", distance 100, metric 7700
Redistributing via igrp 100
Advertised by igrp 100 (self originated)
Last update from 220.20.20.162 on Ethernet1, 00:01:09 ago
Routing Descriptor Blocks:
* 220.20.20.162, from 220.20.20.162, 00:01:09 ago, via Ethernet1
Route metric is 7700, traffic share count is 1
Total delay is 27000 microseconds, minimum bandwidth is 2000 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 2

obviously the metric itself is available however I used the IGRP metric calculation (using the default K values) to check it myself and as expected got 7700.

When I run EIGRP and run the sh ip route command (same IP address) I get the following: -

newport#sh ip route 172.16.1.1
Routing entry for 172.16.0.0/24
Known via "eigrp 200", distance 90, metric 1971200, type internal
Redistributing via eigrp 200
Last update from 220.20.20.162 on Ethernet1, 00:00:37 ago
Routing Descriptor Blocks:
* 220.20.20.162, from 220.20.20.162, 00:00:38 ago, via Ethernet1
Route metric is 1971200, traffic share count is 1
Total delay is 27000 microseconds, minimum bandwidth is 2000 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 3
--------------------------------

Both are using the same default geteway but produce different overall metrics.

When I use the IGRP K value calcualtion on the EIGRP figures I still get 7700 as the metric, what am I doing wrong????
 
Old 12-16-2002, 02:59 PM   #2
dai
Member
 
Registered: May 2002
Location: Wales
Distribution: Slack 8.1, Gentoo 1.3a, Red Hat 7.3, Red Hat 7.2, Manrake 8.2
Posts: 328

Original Poster
Rep: Reputation: 30
Dont worry I've sorted it out.

I forgot to scale the EIGRP calculation by 256
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is metric means? yenonn Linux - Networking 1 10-01-2005 03:12 AM
Metric change question hackrat Linux - Networking 2 05-12-2005 04:03 PM
threads for mathematical calculations? skywalker27182 Programming 3 02-13-2005 10:25 AM
need help with pi calculations! daven1 Programming 2 01-06-2005 07:21 PM
Date calculations in BASH script Crashman Programming 4 07-03-2004 10:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration