SlideShare a Scribd company logo
Connected, Static & Dynamic Routes
 Subnets directly connected to a router interface are added to
the router's routing table.
 Interface has to have an IP address configured and both
interface status codes must be in the "up and up" state.
 A router will be able to route all packets destined for all
hosts in subnets directly connected to its active interfaces.
 Consider the following example.
 The router has two active interfaces, Fe0/0 and Fe0/1. Each
interface has been configured with an IP address and is
currently in the up-up state, so the router adds these subnets
to its routing table.
Connected, Static & Dynamic Routes
 As you can see from the output above, the router has two
directly connected routes to the subnets 10.0.0.0/8 and
192.168.0.0/24.
 The character „C“ in the routing table indicates that a route
is a directly connected route.
 TIP - you can see only connected routes in a router's routing table
by typing the show ip route connected command.
 By adding static routes, a router can learn a route to a
remote network that is not directly connected to one of its
interfaces.
 Static routes are configured manually by typing the global
configuration mode command ip route
DESTINATION_NETWORK SUBNET_MASK
NEXT_HOP_IP_ADDRESS.
 This type of configuration is usually used in smaller
networks because of scalability reasons (you have to
configure each route on each router).
Router A is directly connected to router B.
Router B is directly connected to the subnet 10.0.1.0/24. Since
that subnet is not directly connected to Router A, the router
doesn't know how to route packets destined for that subnet.
You have to configure that route manually.
Connected, Static & Dynamic Routes
Connected, Static & Dynamic Routes
 TIP - Another version of the ip route command exists.
You don't have to specify the next-hop IP address.
You can rather specify the exit interface of the local router.
In the example above you could have typed the ip route
DEST_NETWORK NEXT_HOP_INTERFACE command
to instruct router A to send all traffic destined for the subnet
out the right interface.
 A router can learn dynamic routes if a routing protocol is enabled.
 A routing protocol is used by routers to exchange routing
information with each other.
 Every router in a network can then use information to build its
routing table.
 A routing protocol can dynamically choose a different route if a
link goes down, so this type of routing is fault-tolerant.
 Also, unlike with static routing, there is no need to manually
configure every route on every router, which greatly reduces the
administrative overhead.
 You only need to define which routes will be advertised on a
router that connect directly to the corresponding subnets, routing
protocols take care of the rest.
 One of the disadvantages of dynamic routing is that it increases
memory and CPU usage on a router, because every router has to
process received routing information and calculate its routing
table.
Both routers are running a routing protocol, namely EIGRP.
There is no static routes on Router A, so R1 doesn't know
how to reach the subnet 10.0.0.0/24 that is directly
connected to Router B. Router B then advertises the subnet
to Router A using EIGRP. Now Router A has the route to
reach the subnet. This can be verified by typing the show ip
route command:
You can see that Router A has learned the subnet from EIGRP. The
letter „D“ in front of the route indicates that the route has been
learned through EIGRP. If the subnet 10.0.0.0/24 fails, Router B can
immediately inform Router A that the subnet is no longer reachable.
https://www.facebook.com/NetProtocol-Xpert-1459759190925583
https://in.linkedin.com/in/netprotocolxpert
https://plus.google.com/u/0/collection/AYQ-EB
https://branded.me/netprotocolxpert
https://twitter.com/NPX_cisco

More Related Content

PPTX
4G Handovers || LTE Handovers ||
PDF
Lte epc kp is and signalling (sf)
DOCX
Rach procedure in lte
PDF
Multiple Access in Computer Network
PPTX
Dns resource record
PDF
LTE(4G) - PDCCH Parameter Optimization.pdf
PPT
iso osi model
PPTX
Ethernet
4G Handovers || LTE Handovers ||
Lte epc kp is and signalling (sf)
Rach procedure in lte
Multiple Access in Computer Network
Dns resource record
LTE(4G) - PDCCH Parameter Optimization.pdf
iso osi model
Ethernet

What's hot (20)

DOC
Ccna complete notes
PPTX
Hybrid_Topology
PDF
Huawei Call Reestablishment RAN14
PPT
Computer network
PPTX
Local area network
PPTX
IP addressing seminar ppt
PPTX
IP classes
PPT
protocol architecture
PPTX
Access Control List (ACL)
PPTX
Label Distribution Protocol
PPTX
Inter Process Communication
PPTX
Routing Techniques
PPTX
Crash recovery in database
PPT
Fisheye State Routing (FSR) - Protocol Overview
PPTX
PPT
logical addressing
PDF
Complete CHAPTER 3 Data Communication.pdf
PDF
Lte network planning_huawei_pdf
PPTX
Telnet presentation
Ccna complete notes
Hybrid_Topology
Huawei Call Reestablishment RAN14
Computer network
Local area network
IP addressing seminar ppt
IP classes
protocol architecture
Access Control List (ACL)
Label Distribution Protocol
Inter Process Communication
Routing Techniques
Crash recovery in database
Fisheye State Routing (FSR) - Protocol Overview
logical addressing
Complete CHAPTER 3 Data Communication.pdf
Lte network planning_huawei_pdf
Telnet presentation
Ad

Viewers also liked (6)

PPTX
The 18 Important URLs That Every Google User Should Know
PPTX
LSA (Link State Advertisement) Types Explanation
PPTX
IPv6 Address Format
PPTX
Regular expression examples
PPTX
Converting ipv4 to ipv6 and vice versa
The 18 Important URLs That Every Google User Should Know
LSA (Link State Advertisement) Types Explanation
IPv6 Address Format
Regular expression examples
Converting ipv4 to ipv6 and vice versa
Ad

Similar to Connected, Static & Dynamic Routes (20)

PPTX
7-ROUTING IN COMPUTER NETWORKS .pptx
PPT
Day 9 routing
PPTX
1737674082397_LEnnnnnnCTURE 0nn2 (a).pptx
PDF
Uccn1003 -may10_-_lect04a_-_intro_to_routing_rules
PPT
Pass4sure 300-101 CCNP Routing And Switching Protocol
PPTX
Lec 16 - EIGRPLecturesofdlddeerrfff.pptx
PPTX
Chapter [27/11, 11:00 am] Sumaya👸🏻✨️: Mida kale waqtiga wuba kudhamaadaye [28...
PPT
09 module determinig ip routes
PPTX
Routing of netwok protocls and how .pptx
PPT
routing basics - (static-default-dynamic)
PPTX
PDF
35d70683c4fd405d89db4a5287aa4b89
PPT
Day 8 1 introducing routing n
PDF
ITT06211 CONFIGURING ROUTING PROTOCOLS.pdf
PDF
Understanding the Routing Table Structure
DOCX
Static Routing.docx
PPTX
7-Lect_7 .pptxNetwork LayerNetwork Layer
PPTX
7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...
7-ROUTING IN COMPUTER NETWORKS .pptx
Day 9 routing
1737674082397_LEnnnnnnCTURE 0nn2 (a).pptx
Uccn1003 -may10_-_lect04a_-_intro_to_routing_rules
Pass4sure 300-101 CCNP Routing And Switching Protocol
Lec 16 - EIGRPLecturesofdlddeerrfff.pptx
Chapter [27/11, 11:00 am] Sumaya👸🏻✨️: Mida kale waqtiga wuba kudhamaadaye [28...
09 module determinig ip routes
Routing of netwok protocls and how .pptx
routing basics - (static-default-dynamic)
35d70683c4fd405d89db4a5287aa4b89
Day 8 1 introducing routing n
ITT06211 CONFIGURING ROUTING PROTOCOLS.pdf
Understanding the Routing Table Structure
Static Routing.docx
7-Lect_7 .pptxNetwork LayerNetwork Layer
7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...

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)

PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPT
Project quality management in manufacturing
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
Geodesy 1.pptx...............................................
PDF
composite construction of structures.pdf
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
additive manufacturing of ss316l using mig welding
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPT
Mechanical Engineering MATERIALS Selection
PDF
Structs to JSON How Go Powers REST APIs.pdf
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
Digital Logic Computer Design lecture notes
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Project quality management in manufacturing
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Geodesy 1.pptx...............................................
composite construction of structures.pdf
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Embodied AI: Ushering in the Next Era of Intelligent Systems
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
additive manufacturing of ss316l using mig welding
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Foundation to blockchain - A guide to Blockchain Tech
Mechanical Engineering MATERIALS Selection
Structs to JSON How Go Powers REST APIs.pdf
Model Code of Practice - Construction Work - 21102022 .pdf
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Digital Logic Computer Design lecture notes

Connected, Static & Dynamic Routes

  • 2.  Subnets directly connected to a router interface are added to the router's routing table.  Interface has to have an IP address configured and both interface status codes must be in the "up and up" state.  A router will be able to route all packets destined for all hosts in subnets directly connected to its active interfaces.  Consider the following example.  The router has two active interfaces, Fe0/0 and Fe0/1. Each interface has been configured with an IP address and is currently in the up-up state, so the router adds these subnets to its routing table.
  • 4.  As you can see from the output above, the router has two directly connected routes to the subnets 10.0.0.0/8 and 192.168.0.0/24.  The character „C“ in the routing table indicates that a route is a directly connected route.  TIP - you can see only connected routes in a router's routing table by typing the show ip route connected command.
  • 5.  By adding static routes, a router can learn a route to a remote network that is not directly connected to one of its interfaces.  Static routes are configured manually by typing the global configuration mode command ip route DESTINATION_NETWORK SUBNET_MASK NEXT_HOP_IP_ADDRESS.  This type of configuration is usually used in smaller networks because of scalability reasons (you have to configure each route on each router).
  • 6. Router A is directly connected to router B. Router B is directly connected to the subnet 10.0.1.0/24. Since that subnet is not directly connected to Router A, the router doesn't know how to route packets destined for that subnet. You have to configure that route manually.
  • 9.  TIP - Another version of the ip route command exists. You don't have to specify the next-hop IP address. You can rather specify the exit interface of the local router. In the example above you could have typed the ip route DEST_NETWORK NEXT_HOP_INTERFACE command to instruct router A to send all traffic destined for the subnet out the right interface.
  • 10.  A router can learn dynamic routes if a routing protocol is enabled.  A routing protocol is used by routers to exchange routing information with each other.  Every router in a network can then use information to build its routing table.  A routing protocol can dynamically choose a different route if a link goes down, so this type of routing is fault-tolerant.  Also, unlike with static routing, there is no need to manually configure every route on every router, which greatly reduces the administrative overhead.  You only need to define which routes will be advertised on a router that connect directly to the corresponding subnets, routing protocols take care of the rest.  One of the disadvantages of dynamic routing is that it increases memory and CPU usage on a router, because every router has to process received routing information and calculate its routing table.
  • 11. Both routers are running a routing protocol, namely EIGRP. There is no static routes on Router A, so R1 doesn't know how to reach the subnet 10.0.0.0/24 that is directly connected to Router B. Router B then advertises the subnet to Router A using EIGRP. Now Router A has the route to reach the subnet. This can be verified by typing the show ip route command:
  • 12. You can see that Router A has learned the subnet from EIGRP. The letter „D“ in front of the route indicates that the route has been learned through EIGRP. If the subnet 10.0.0.0/24 fails, Router B can immediately inform Router A that the subnet is no longer reachable.