SlideShare a Scribd company logo
2
Most read
Administrative Distance & Metric
Administrative distance
• A network can use more than one routing protocol, and
routers on the network can learn about a route from
multiple sources.
• Routers need to find a way to select a better path.
• Administrative distance number is used by routers to find
out which route is better (lower number is better).
• For example, if the same route is learned from RIP and
EIGRP, a Cisco router chooses EIGRP route and stores the
route in the routing table.
• This is because EIGRP routes have, by default, an
administrative distance of 90, while RIP route have a
higher administrative distance of 120.
• You can display the administrative distance of all routes
on your router by typing the show ip route command:
In the case above, the router has only one route in its routing table
learned from a dynamic routing protocols , an EIGRP route.
The following table lists the administrative distance default values:
Metric
• If a router learns two different paths for the same network
from the same routing protocol, it has to decide which route
is better and will be placed in the routing table.
• Metric is a measure used to decide which route is better
(lower number is better).
• Each routing protocol uses its own metric. For example, RIP
uses hop counts as a metric, while OSPF uses cost.
The following example explains the way RIP calculates its metric and
why it chooses one path over another.
• RIP has been configured on all routers.
• Router 1 has two paths to reach the subnet 10.0.0.0/24. One path is
goes through Router 2, while the other path goes through Router 3
and then Router 4. Because RIP uses the hop count as its metric, the
path through Router 1 will be chosen, because the subnet is only one
router away.
• The other path will have a higher metric of 2, because the subnet is
two routers away.
• TIP – the example above can be used to illustrate a disadvantage of
using RIP as a routing protocol.
• Imagine if the first path through R2 was the 56k modem link, while the
other path is a high speed WAN link.
• Router R1 would still chose the path through R2 as the best route,
because RIP uses only the hop count as its metric.
The following table lists what various routing protocols use as a metric:

More Related Content

PPTX
OLSR | Optimized Link State Routing Protocol
PPT
Chapter 06 - Routing
PPT
IoT Coap
PPTX
MANET routing protocols Issues and Classifications
PPTX
CoAP - Web Protocol for IoT
PPTX
Layer 2 switching
PPTX
Leaky bucket A
OLSR | Optimized Link State Routing Protocol
Chapter 06 - Routing
IoT Coap
MANET routing protocols Issues and Classifications
CoAP - Web Protocol for IoT
Layer 2 switching
Leaky bucket A

What's hot (20)

PDF
HIGH SPEED NETWORKS
PDF
Application Layer Protocols for the IoT
PPTX
IPv6 header
PPSX
OSPF - Routing Protocol
PPSX
Transmission modes
PDF
Routing protocols in ad hoc network
PPTX
Open Shortest Path First
PPT
IPv6 next generation protocol
PPTX
Quality of Service
PDF
Overview of Spanning Tree Protocol
PPTX
WCDMA Air Interface
PDF
Ia32 introduccion
PPT
PPTX
CoAP Talk
PDF
Ccnp presentation day 4 sd-access vs traditional network architecture
PPT
PDF
A comparison of segment routing data-plane encodings
PPTX
Dynamic routing protocols (CCNA)
PPT
Spanning tree protocol
HIGH SPEED NETWORKS
Application Layer Protocols for the IoT
IPv6 header
OSPF - Routing Protocol
Transmission modes
Routing protocols in ad hoc network
Open Shortest Path First
IPv6 next generation protocol
Quality of Service
Overview of Spanning Tree Protocol
WCDMA Air Interface
Ia32 introduccion
CoAP Talk
Ccnp presentation day 4 sd-access vs traditional network architecture
A comparison of segment routing data-plane encodings
Dynamic routing protocols (CCNA)
Spanning tree protocol
Ad

Similar to Administrative Distance & Metric (20)

PPTX
1737674082397_LEnnnnnnCTURE 0nn2 (a).pptx
PPTX
ROUTING PROTOCOLS new.pptx
PPTX
CCNA ppt Day 5
PPTX
Route Redistribution
PPTX
EIGRP Routing Protocols
PPT
Exploration Routing Chapter 4
PDF
1Routing Basics.pdf
PPTX
PPT
Day 10 loops+ rip+ igrp
PPT
Day 10 rip
PPT
Day 10 rip (2)
PPTX
Router and routing
PPTX
NP - Unit 4 - Routing - RIP, OSPF and Internet Multicasting
PPT
Chapter07
PDF
Eincop Netwax Lab: Route Redistribution
PDF
Route Redistribution
PPTX
Fundamental concepts of Routing in detiled
PDF
3 ip routing part b
PDF
3 ip routing bgp-updated
PPTX
computer communications
1737674082397_LEnnnnnnCTURE 0nn2 (a).pptx
ROUTING PROTOCOLS new.pptx
CCNA ppt Day 5
Route Redistribution
EIGRP Routing Protocols
Exploration Routing Chapter 4
1Routing Basics.pdf
Day 10 loops+ rip+ igrp
Day 10 rip
Day 10 rip (2)
Router and routing
NP - Unit 4 - Routing - RIP, OSPF and Internet Multicasting
Chapter07
Eincop Netwax Lab: Route Redistribution
Route Redistribution
Fundamental concepts of Routing in detiled
3 ip routing part b
3 ip routing bgp-updated
computer communications
Ad

More from NetProtocol Xpert (20)

PPTX
Basic Cisco ASA 5506-x Configuration (Firepower)
PPTX
MPLS Layer 3 VPN
PPTX
Common Layer 2 Threats, Attacks & Mitigation
PPTX
Storm-Control
PPTX
Dynamic ARP Inspection (DAI)
PPTX
IP Source Guard
PPTX
DHCP Snooping
PPTX
Password Recovery
PPTX
Application & Data Center
PPTX
Cisco ISR 4351 Router
PPTX
Cisco ASR 1001-X Router
PPTX
Securing management, control & data plane
PPTX
Point to-point protocol (ppp), PAP & CHAP
PPTX
Avoid DNS lookup when mistyping a command
PPTX
TCLSH and Macro Ping Test on Cisco Routers and Switches
PPTX
Private VLANs
PPTX
MTU (maximum transmission unit) & MRU (maximum receive unit)
PPTX
OTV Configuration
PPTX
Cisco OTV 
PPTX
OTV(Overlay Transport Virtualization)
Basic Cisco ASA 5506-x Configuration (Firepower)
MPLS Layer 3 VPN
Common Layer 2 Threats, Attacks & Mitigation
Storm-Control
Dynamic ARP Inspection (DAI)
IP Source Guard
DHCP Snooping
Password Recovery
Application & Data Center
Cisco ISR 4351 Router
Cisco ASR 1001-X Router
Securing management, control & data plane
Point to-point protocol (ppp), PAP & CHAP
Avoid DNS lookup when mistyping a command
TCLSH and Macro Ping Test on Cisco Routers and Switches
Private VLANs
MTU (maximum transmission unit) & MRU (maximum receive unit)
OTV Configuration
Cisco OTV 
OTV(Overlay Transport Virtualization)

Recently uploaded (20)

PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PDF
Well-logging-methods_new................
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
Welding lecture in detail for understanding
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPT
Mechanical Engineering MATERIALS Selection
PPTX
additive manufacturing of ss316l using mig welding
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
web development for engineering and engineering
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
Lecture Notes Electrical Wiring System Components
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Operating System & Kernel Study Guide-1 - converted.pdf
Arduino robotics embedded978-1-4302-3184-4.pdf
Well-logging-methods_new................
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Welding lecture in detail for understanding
Foundation to blockchain - A guide to Blockchain Tech
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Model Code of Practice - Construction Work - 21102022 .pdf
Mechanical Engineering MATERIALS Selection
additive manufacturing of ss316l using mig welding
Embodied AI: Ushering in the Next Era of Intelligent Systems
CYBER-CRIMES AND SECURITY A guide to understanding
web development for engineering and engineering
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Lecture Notes Electrical Wiring System Components
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk

Administrative Distance & Metric

  • 2. Administrative distance • A network can use more than one routing protocol, and routers on the network can learn about a route from multiple sources. • Routers need to find a way to select a better path. • Administrative distance number is used by routers to find out which route is better (lower number is better). • For example, if the same route is learned from RIP and EIGRP, a Cisco router chooses EIGRP route and stores the route in the routing table. • This is because EIGRP routes have, by default, an administrative distance of 90, while RIP route have a higher administrative distance of 120.
  • 3. • You can display the administrative distance of all routes on your router by typing the show ip route command:
  • 4. In the case above, the router has only one route in its routing table learned from a dynamic routing protocols , an EIGRP route. The following table lists the administrative distance default values:
  • 5. Metric • If a router learns two different paths for the same network from the same routing protocol, it has to decide which route is better and will be placed in the routing table. • Metric is a measure used to decide which route is better (lower number is better). • Each routing protocol uses its own metric. For example, RIP uses hop counts as a metric, while OSPF uses cost.
  • 6. The following example explains the way RIP calculates its metric and why it chooses one path over another.
  • 7. • RIP has been configured on all routers. • Router 1 has two paths to reach the subnet 10.0.0.0/24. One path is goes through Router 2, while the other path goes through Router 3 and then Router 4. Because RIP uses the hop count as its metric, the path through Router 1 will be chosen, because the subnet is only one router away. • The other path will have a higher metric of 2, because the subnet is two routers away. • TIP – the example above can be used to illustrate a disadvantage of using RIP as a routing protocol. • Imagine if the first path through R2 was the 56k modem link, while the other path is a high speed WAN link. • Router R1 would still chose the path through R2 as the best route, because RIP uses only the hop count as its metric.
  • 8. The following table lists what various routing protocols use as a metric: