SlideShare a Scribd company logo
1 of 28
Static Routing

Routing Protocols and Concepts – Lecture 7a

ITE I Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

1
Objectives


Define the general role a router plays in networks.



Describe the directly connected networks, different
router interfaces



Examine directly connected networks in the routing
table and use the CDP protocol



Describe static routes with exit interfaces



Describe summary and default route



Examine how packets get forwarded when using
static routes



Identify how to manage and troubleshoot static routes

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

2
General Role of the Router
 Connections of a Router for WAN
-A router has a DB-60 port that can support 5 different cabling
standards

 Connections of a Router for Ethernet
-2 types of connectors can be used: Straight through and

Cross-over
Straight through used to connect:
-Switch-to-Router, Switch-to-PC, Router-to-Server,
Hub-to-PC, Hub-to-Server
Cross-over used to connect:
-Switch-to-Switch, PC-to-PC, Switch-to-Hub, Hubto-Hub, Router-to-Router

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

3
Interfaces
 Examining Router Interfaces
-Show IP router command – used to view routing table

-Show Interfaces command – used to show status of an
interface
-Show IP Interface brief command – used to show a portion of
the interface information
-Show running-config command – used to show configuration
file in RAM

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

4
Interfaces
 Configuring an Ethernet interface
-By default all serial and Ethernet interfaces are down
-To enable an interface use the No Shutdown command

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

5
Interfaces
 Configuring a Serial interface
-Enter interface configuration mode
-Enter in the ip address and subnet mask
-Enter in the no shut down command
 Example:
-R1(config)#interface serial 0/0
-R1(config-if)#ip address 172.16.2.1 255.255.255.0
-R1(config-if)#no shutdown
-R1(config-if)#clockrate 56000

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

6
Routing Table and CDP Protocol
 When a router only has its interfaces configured & no
other routing protocols are configured then:
-The routing table contains only the directly connected networks
-Only devices on the directly connected networks are reachable

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

7
Routing Table and CDP Protocol

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

8
Routing Table and CDP Protocol
 Purpose of CDP
A layer 2 cisco proprietary tool used to gather information about
other directly connected Cisco devices.

 Concept of neighbors
-2 types of neighbors
Layer 3 neighbors
Layer 2 neighbors

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

9
Routing Table and CDP Protocol
 Disabling CDP
To disable CDP globally use the following command
Router(config)#no cdp run
Note : Enabled CDP can pose a security risk

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

10
Static Routes with Exit Interfaces
 Purpose
A manually configured route used when routing from a network
to a stub network

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

11
Static Routes with Exit Interfaces
 IP route command
To configure a static route use the following command: ip
route
Example:
-Router(config)# ip route network-address subnetmask {ip-address | exit-interface }

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

12
Static Routes with Exit Interfaces
 Dissecting static route syntax
ip route - Static route command
172.16.1.0 - Network address of remote network
255.255.255.0 - Subnet mask of remote network
172.16.2.2 - Serial 0/0/0 interface IP address on R2, which is
the "next-hop" to this network

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

13
Static Routes with Exit Interfaces
 Configuring routes to 2 or more remote networks
Use the following commands for R1
-R1(config)#ip route 172.16.1.0 255.255.255.0
172.16.2.2
-R1(config)#ip route 192.168.2.0 255.255.255.0
172.16.2.2

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

14
Static Routes with Exit Interfaces
 Zinin’s 3 routing principles
Principle 1: "Every router makes its decision alone, based on
the information it has in its own routing table.“
Principle 2: "The fact that one router has certain information in
its routing table does not mean that other routers have the
same information.“
Principle 3: "Routing information about a path from one
network to another does not provide routing information about
the reverse, or return path."

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

15
Static Routes with Exit Interfaces


Using Zinin’s 3 routing principles, how would you
answer the following?
-Would packets from PC1 reach their destination?
Yes, packets destined for 172.16.1.0/24 and 192.168.2.0/24
networks would reach their destination.
-Does this mean that any packets from these networks destined
for 172.16.3.0/24 network will reach their destination?
No, because neither R2 nor R3 router has a route to the
172.16.3.0/24 network.

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

16
Static Routes with Exit Interfaces
 Resolving to an Exit Interface
-Recursive route lookup - Occurs when the router has to perform
multiple lookups in the routing table before forwarding a packet. A
static route that forwards all packets to the next-hop IP address
goes through the following process (recursive route lookup)
The router first must match static route’s destination IP
address with the Next hop address
The next hop address is then matched to an exit interface

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

17
Static Routes with Exit Interfaces
 Configuring a Static route with an Exit Interface
-Static routes configured with an exit interface are more efficient because the
routing
-Table can resolve the exit interface in a single search instead of 2 searches
-Example of syntax required to configure a static route with an exit interface
-R1(config)#ip route 172.16.1.0 255.255.255.0 s/0/0/0
-R1(config)#ip route 192.168.2.0 255.255.255.0 s0/0/0

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

18
Static Routes with Exit Interfaces –
graphic2.5.3.1
 Verifying the Static Route Configuration
-Use the following commands
Step 1 show running-config
Step 2 verify static route has been entered correctly
Step 3 show ip route
Step 4 verify route was configured in routing table
Step 5 issue ping command to verify packets can reach
destination and that Return path is working

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

19
Summary and Default Route
 Summarizing routes reduces the size of the routing
table.
 Route summarization is the process of combining a
number of static routes into a single static route.

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

20
Summary and Default Route
 Configuring a summary route
Step 1: Delete the current static route
Step 2: Configure the summary static route
Step 3: Verify the new static route
A summary route represent all the
common bits for each network from
left to right

The 3 networks have 22 common bits
from left to right

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

21
Summary and Default Route
 Default Static Route
This is a route that will match all packets. Stub routers that
have a number of static routes all exiting the same interface are
good candidates for a default route.
-Like route summarization this will help reduce the
size of the routing table

 Configuring a default static route
Similar to configuring a static route. Except that destination IP
address and subnet mask are all zeros
Example:
-Router(config)#ip route 0.0.0.0 0.0.0.0 [exitinterface | ip-address ]

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

22
Static Routes and Packet Forwarding
 Packet forwarding with static
routes. (recall Zinin’s 3
routing principles)
 For Router 1. A static route
that forwards all packets to
the next-hop IP address
goes through the following
process (recursive route
lookup)
The router first must
match static route’s
destination IP address
with the Next hop
address
The next hop address is
then matched to an exit
interface

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

23
Static Routes and Packet Forwarding
 Troubleshooting a Missing Route
 Tools that can be used to isolate routing problems
include:
-Ping– tests end to end connectivity
-Traceroute– used to discover all of the hops (routers) along the
path between 2 points
-Show IP route– used to display routing table & ascertain
forwarding process
-Show ip interface brief- used to show status of router interfaces
-Show cdp neighbors detail– used to gather configuration
information about directly connected neighbors

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

24
Static Routes and Packet Forwarding
 Solving a Missing Route

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

25
Static Routes and Packet Forwarding
 Solving a Missing Route

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

26
Summary
 Routers
-Operate at layer 3
-Functions include best path selection & forwarding packets
 Connecting Networks
WANs
Serial cables are connected to router serial ports.
In the lab environment clock rates must be configured
for DCE
LANs
Straight through cables or cross over cables are used
to connect to fastethernet port. (The type of cable used
depends on what devices are being connected)
 Cisco Discovery Protocol
A layer 2 proprietary protocol
Used to discover information about directly connected Cisco
devices
ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

27
Summary
 Static Routes
-This is a manually configured path that specifies how the router
will get to a certain point using a certain path.
 Summary static routes
-This is several static routes that have been condensed into a
single static route.
 Default route
-It is the route packets use if there is no other possible match
for their destination in the routing table.
 Forwarding of packets when static route are used
-Zinin’s 3 routing principles describe how packets are forwarded
 Troubleshooting static routes may require some of the following
commands:
-Ping
-Traceroute
-Show IP route
-Show ip interface brief
-Show cdp neighbors detail

ITE 1 Chapter 6

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco Public

28

More Related Content

What's hot (20)

Classless inter domain routing
Classless inter domain routingClassless inter domain routing
Classless inter domain routing
 
IS-IS Protocol Adjacency
IS-IS Protocol Adjacency IS-IS Protocol Adjacency
IS-IS Protocol Adjacency
 
Routing and OSPF
Routing and OSPFRouting and OSPF
Routing and OSPF
 
Ospf.ppt
Ospf.pptOspf.ppt
Ospf.ppt
 
Ospf
OspfOspf
Ospf
 
Introduction to router
Introduction to routerIntroduction to router
Introduction to router
 
Fhrp notes
Fhrp notesFhrp notes
Fhrp notes
 
RIP Routing Information Protocol Extreme Networks
RIP Routing Information Protocol Extreme NetworksRIP Routing Information Protocol Extreme Networks
RIP Routing Information Protocol Extreme Networks
 
Router commands
Router commandsRouter commands
Router commands
 
IS-IS Protocol Introduction
IS-IS Protocol IntroductionIS-IS Protocol Introduction
IS-IS Protocol Introduction
 
Is is
Is isIs is
Is is
 
Ether channel fundamentals
Ether channel fundamentalsEther channel fundamentals
Ether channel fundamentals
 
Cisco ospf
Cisco ospf Cisco ospf
Cisco ospf
 
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information Protocol
 
Chapter 17 : static routing
Chapter 17 : static routingChapter 17 : static routing
Chapter 17 : static routing
 
IPV6 Addressing
IPV6 Addressing IPV6 Addressing
IPV6 Addressing
 
Ospf
 Ospf Ospf
Ospf
 
OSPF Fundamental
OSPF FundamentalOSPF Fundamental
OSPF Fundamental
 
Ccna ppt1
Ccna ppt1Ccna ppt1
Ccna ppt1
 
Bgp (1)
Bgp (1)Bgp (1)
Bgp (1)
 

Viewers also liked

Chapter 06 - Static Routing
Chapter 06 - Static RoutingChapter 06 - Static Routing
Chapter 06 - Static RoutingYaser Rahmati
 
Computer networks network layer,routing
Computer networks network layer,routingComputer networks network layer,routing
Computer networks network layer,routingDeepak John
 
Routing Presentation
Routing PresentationRouting Presentation
Routing PresentationMohsin Ali
 
Chapter 06 - Routing
Chapter 06 - RoutingChapter 06 - Routing
Chapter 06 - Routingphanleson
 
Routers and Routing Configuration
Routers and Routing ConfigurationRouters and Routing Configuration
Routers and Routing Configurationyasir1122
 

Viewers also liked (6)

Chapter 06 - Static Routing
Chapter 06 - Static RoutingChapter 06 - Static Routing
Chapter 06 - Static Routing
 
Computer networks network layer,routing
Computer networks network layer,routingComputer networks network layer,routing
Computer networks network layer,routing
 
Routing Presentation
Routing PresentationRouting Presentation
Routing Presentation
 
Chapter 06 - Routing
Chapter 06 - RoutingChapter 06 - Routing
Chapter 06 - Routing
 
Routing
RoutingRouting
Routing
 
Routers and Routing Configuration
Routers and Routing ConfigurationRouters and Routing Configuration
Routers and Routing Configuration
 

Similar to Cisco Static Routing Fundamentals

CCNA Exploration 2 - Chapter 2
CCNA Exploration 2 - Chapter 2CCNA Exploration 2 - Chapter 2
CCNA Exploration 2 - Chapter 2Irsandi Hasan
 
Exploration routing chapter_2
Exploration routing chapter_2Exploration routing chapter_2
Exploration routing chapter_2Joshua Torres
 
CCNAv5 - S2: Chapter 6 Static Routing
CCNAv5 - S2: Chapter 6 Static RoutingCCNAv5 - S2: Chapter 6 Static Routing
CCNAv5 - S2: Chapter 6 Static RoutingVuz Dở Hơi
 
KPUCC-Rs instructor ppt_chapter6_final
KPUCC-Rs instructor ppt_chapter6_finalKPUCC-Rs instructor ppt_chapter6_final
KPUCC-Rs instructor ppt_chapter6_finalFisal Anwari
 
Exploration routing chapter_1
Exploration routing chapter_1Exploration routing chapter_1
Exploration routing chapter_1Joshua Torres
 
Exploration routing chapter_3
Exploration routing chapter_3Exploration routing chapter_3
Exploration routing chapter_3Joshua Torres
 
CCNA 2 Routing and Switching v5.0 Chapter 6
CCNA 2 Routing and Switching v5.0 Chapter 6CCNA 2 Routing and Switching v5.0 Chapter 6
CCNA 2 Routing and Switching v5.0 Chapter 6Nil Menon
 
CCNA2 Verson6 Chapter3
CCNA2 Verson6 Chapter3CCNA2 Verson6 Chapter3
CCNA2 Verson6 Chapter3Chaing Ravuth
 
Chapter 5 Routing.pptx
Chapter 5 Routing.pptxChapter 5 Routing.pptx
Chapter 5 Routing.pptxAyaanMohamed4
 
Week3 part 2
Week3  part 2Week3  part 2
Week3 part 2trayyoo
 
CCNA Exploration 2 - Chapter 1
CCNA Exploration 2 - Chapter 1CCNA Exploration 2 - Chapter 1
CCNA Exploration 2 - Chapter 1Irsandi Hasan
 
Exploration routing chapter_5
Exploration routing chapter_5Exploration routing chapter_5
Exploration routing chapter_5Joshua Torres
 
CCNA Exploration 2 - Chapter 3
CCNA Exploration 2 - Chapter 3CCNA Exploration 2 - Chapter 3
CCNA Exploration 2 - Chapter 3Irsandi Hasan
 
Cisco Router Basic Configuration
Cisco Router Basic ConfigurationCisco Router Basic Configuration
Cisco Router Basic ConfigurationProf. Erwin Globio
 
Chapter_2_CCNA2
Chapter_2_CCNA2Chapter_2_CCNA2
Chapter_2_CCNA2sunabozu
 
CCNA Exploration 2 - Chapter 5
CCNA Exploration 2 - Chapter 5CCNA Exploration 2 - Chapter 5
CCNA Exploration 2 - Chapter 5Irsandi Hasan
 
Exploration routing chapter 4
Exploration routing chapter 4Exploration routing chapter 4
Exploration routing chapter 4Sachii Dosti
 
CCNA_RSE_Chp3_Dynamic Routing NETWORKINGFBU.pptx
CCNA_RSE_Chp3_Dynamic Routing NETWORKINGFBU.pptxCCNA_RSE_Chp3_Dynamic Routing NETWORKINGFBU.pptx
CCNA_RSE_Chp3_Dynamic Routing NETWORKINGFBU.pptxManishkumarSharma338257
 
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 3
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 3CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 3
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 3Waqas Ahmed Nawaz
 
CCNA2 Verson6 Chapter1
CCNA2 Verson6 Chapter1CCNA2 Verson6 Chapter1
CCNA2 Verson6 Chapter1Chaing Ravuth
 

Similar to Cisco Static Routing Fundamentals (20)

CCNA Exploration 2 - Chapter 2
CCNA Exploration 2 - Chapter 2CCNA Exploration 2 - Chapter 2
CCNA Exploration 2 - Chapter 2
 
Exploration routing chapter_2
Exploration routing chapter_2Exploration routing chapter_2
Exploration routing chapter_2
 
CCNAv5 - S2: Chapter 6 Static Routing
CCNAv5 - S2: Chapter 6 Static RoutingCCNAv5 - S2: Chapter 6 Static Routing
CCNAv5 - S2: Chapter 6 Static Routing
 
KPUCC-Rs instructor ppt_chapter6_final
KPUCC-Rs instructor ppt_chapter6_finalKPUCC-Rs instructor ppt_chapter6_final
KPUCC-Rs instructor ppt_chapter6_final
 
Exploration routing chapter_1
Exploration routing chapter_1Exploration routing chapter_1
Exploration routing chapter_1
 
Exploration routing chapter_3
Exploration routing chapter_3Exploration routing chapter_3
Exploration routing chapter_3
 
CCNA 2 Routing and Switching v5.0 Chapter 6
CCNA 2 Routing and Switching v5.0 Chapter 6CCNA 2 Routing and Switching v5.0 Chapter 6
CCNA 2 Routing and Switching v5.0 Chapter 6
 
CCNA2 Verson6 Chapter3
CCNA2 Verson6 Chapter3CCNA2 Verson6 Chapter3
CCNA2 Verson6 Chapter3
 
Chapter 5 Routing.pptx
Chapter 5 Routing.pptxChapter 5 Routing.pptx
Chapter 5 Routing.pptx
 
Week3 part 2
Week3  part 2Week3  part 2
Week3 part 2
 
CCNA Exploration 2 - Chapter 1
CCNA Exploration 2 - Chapter 1CCNA Exploration 2 - Chapter 1
CCNA Exploration 2 - Chapter 1
 
Exploration routing chapter_5
Exploration routing chapter_5Exploration routing chapter_5
Exploration routing chapter_5
 
CCNA Exploration 2 - Chapter 3
CCNA Exploration 2 - Chapter 3CCNA Exploration 2 - Chapter 3
CCNA Exploration 2 - Chapter 3
 
Cisco Router Basic Configuration
Cisco Router Basic ConfigurationCisco Router Basic Configuration
Cisco Router Basic Configuration
 
Chapter_2_CCNA2
Chapter_2_CCNA2Chapter_2_CCNA2
Chapter_2_CCNA2
 
CCNA Exploration 2 - Chapter 5
CCNA Exploration 2 - Chapter 5CCNA Exploration 2 - Chapter 5
CCNA Exploration 2 - Chapter 5
 
Exploration routing chapter 4
Exploration routing chapter 4Exploration routing chapter 4
Exploration routing chapter 4
 
CCNA_RSE_Chp3_Dynamic Routing NETWORKINGFBU.pptx
CCNA_RSE_Chp3_Dynamic Routing NETWORKINGFBU.pptxCCNA_RSE_Chp3_Dynamic Routing NETWORKINGFBU.pptx
CCNA_RSE_Chp3_Dynamic Routing NETWORKINGFBU.pptx
 
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 3
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 3CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 3
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 3
 
CCNA2 Verson6 Chapter1
CCNA2 Verson6 Chapter1CCNA2 Verson6 Chapter1
CCNA2 Verson6 Chapter1
 

More from Sachii Dosti

Network technology Paper 2
Network technology Paper 2Network technology Paper 2
Network technology Paper 2Sachii Dosti
 
Network technology paper
Network technology paperNetwork technology paper
Network technology paperSachii Dosti
 
Subneting and vlsm ntpg
Subneting and vlsm ntpgSubneting and vlsm ntpg
Subneting and vlsm ntpgSachii Dosti
 
Subneting and vlsm ntpg (1)
Subneting and vlsm ntpg (1)Subneting and vlsm ntpg (1)
Subneting and vlsm ntpg (1)Sachii Dosti
 
Exploration routing chapter 10 & 11
Exploration routing chapter 10 & 11Exploration routing chapter 10 & 11
Exploration routing chapter 10 & 11Sachii Dosti
 
OSI Physical Layer
OSI Physical LayerOSI Physical Layer
OSI Physical LayerSachii Dosti
 
Addressing the Network – IPv4
Addressing the Network – IPv4Addressing the Network – IPv4
Addressing the Network – IPv4Sachii Dosti
 
OSI Transport Layer
OSI Transport LayerOSI Transport Layer
OSI Transport LayerSachii Dosti
 
Application Layer Functionality and Protocols
Application Layer Functionality and ProtocolsApplication Layer Functionality and Protocols
Application Layer Functionality and ProtocolsSachii Dosti
 
Network Fundamentals – Chapter 2
Network Fundamentals – Chapter 2Network Fundamentals – Chapter 2
Network Fundamentals – Chapter 2Sachii Dosti
 
Network Fundamentals – Chapter 1
Network Fundamentals – Chapter 1Network Fundamentals – Chapter 1
Network Fundamentals – Chapter 1Sachii Dosti
 

More from Sachii Dosti (15)

Network technology Paper 2
Network technology Paper 2Network technology Paper 2
Network technology Paper 2
 
Network technology paper
Network technology paperNetwork technology paper
Network technology paper
 
Subneting and vlsm ntpg
Subneting and vlsm ntpgSubneting and vlsm ntpg
Subneting and vlsm ntpg
 
Subneting and vlsm ntpg (1)
Subneting and vlsm ntpg (1)Subneting and vlsm ntpg (1)
Subneting and vlsm ntpg (1)
 
ip v6
ip v6ip v6
ip v6
 
Exploration routing chapter 10 & 11
Exploration routing chapter 10 & 11Exploration routing chapter 10 & 11
Exploration routing chapter 10 & 11
 
Ethernet
EthernetEthernet
Ethernet
 
OSI Physical Layer
OSI Physical LayerOSI Physical Layer
OSI Physical Layer
 
Data Link Layer
Data Link LayerData Link Layer
Data Link Layer
 
Addressing the Network – IPv4
Addressing the Network – IPv4Addressing the Network – IPv4
Addressing the Network – IPv4
 
OSI Network Layer
OSI Network LayerOSI Network Layer
OSI Network Layer
 
OSI Transport Layer
OSI Transport LayerOSI Transport Layer
OSI Transport Layer
 
Application Layer Functionality and Protocols
Application Layer Functionality and ProtocolsApplication Layer Functionality and Protocols
Application Layer Functionality and Protocols
 
Network Fundamentals – Chapter 2
Network Fundamentals – Chapter 2Network Fundamentals – Chapter 2
Network Fundamentals – Chapter 2
 
Network Fundamentals – Chapter 1
Network Fundamentals – Chapter 1Network Fundamentals – Chapter 1
Network Fundamentals – Chapter 1
 

Recently uploaded

Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...DhatriParmar
 
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17Celine George
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWQuiz Club NITW
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operationalssuser3e220a
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
ARTERIAL BLOOD GAS ANALYSIS........pptx
ARTERIAL BLOOD  GAS ANALYSIS........pptxARTERIAL BLOOD  GAS ANALYSIS........pptx
ARTERIAL BLOOD GAS ANALYSIS........pptxAneriPatwari
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesVijayaLaxmi84
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptxmary850239
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDhatriParmar
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxSayali Powar
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6Vanessa Camilleri
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 

Recently uploaded (20)

Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
 
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITW
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operational
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
ARTERIAL BLOOD GAS ANALYSIS........pptx
ARTERIAL BLOOD  GAS ANALYSIS........pptxARTERIAL BLOOD  GAS ANALYSIS........pptx
ARTERIAL BLOOD GAS ANALYSIS........pptx
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their uses
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 

Cisco Static Routing Fundamentals

  • 1. Static Routing Routing Protocols and Concepts – Lecture 7a ITE I Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 1
  • 2. Objectives  Define the general role a router plays in networks.  Describe the directly connected networks, different router interfaces  Examine directly connected networks in the routing table and use the CDP protocol  Describe static routes with exit interfaces  Describe summary and default route  Examine how packets get forwarded when using static routes  Identify how to manage and troubleshoot static routes ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 2
  • 3. General Role of the Router  Connections of a Router for WAN -A router has a DB-60 port that can support 5 different cabling standards  Connections of a Router for Ethernet -2 types of connectors can be used: Straight through and Cross-over Straight through used to connect: -Switch-to-Router, Switch-to-PC, Router-to-Server, Hub-to-PC, Hub-to-Server Cross-over used to connect: -Switch-to-Switch, PC-to-PC, Switch-to-Hub, Hubto-Hub, Router-to-Router ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 3
  • 4. Interfaces  Examining Router Interfaces -Show IP router command – used to view routing table -Show Interfaces command – used to show status of an interface -Show IP Interface brief command – used to show a portion of the interface information -Show running-config command – used to show configuration file in RAM ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 4
  • 5. Interfaces  Configuring an Ethernet interface -By default all serial and Ethernet interfaces are down -To enable an interface use the No Shutdown command ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 5
  • 6. Interfaces  Configuring a Serial interface -Enter interface configuration mode -Enter in the ip address and subnet mask -Enter in the no shut down command  Example: -R1(config)#interface serial 0/0 -R1(config-if)#ip address 172.16.2.1 255.255.255.0 -R1(config-if)#no shutdown -R1(config-if)#clockrate 56000 ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 6
  • 7. Routing Table and CDP Protocol  When a router only has its interfaces configured & no other routing protocols are configured then: -The routing table contains only the directly connected networks -Only devices on the directly connected networks are reachable ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 7
  • 8. Routing Table and CDP Protocol ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 8
  • 9. Routing Table and CDP Protocol  Purpose of CDP A layer 2 cisco proprietary tool used to gather information about other directly connected Cisco devices.  Concept of neighbors -2 types of neighbors Layer 3 neighbors Layer 2 neighbors ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 9
  • 10. Routing Table and CDP Protocol  Disabling CDP To disable CDP globally use the following command Router(config)#no cdp run Note : Enabled CDP can pose a security risk ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 10
  • 11. Static Routes with Exit Interfaces  Purpose A manually configured route used when routing from a network to a stub network ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 11
  • 12. Static Routes with Exit Interfaces  IP route command To configure a static route use the following command: ip route Example: -Router(config)# ip route network-address subnetmask {ip-address | exit-interface } ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 12
  • 13. Static Routes with Exit Interfaces  Dissecting static route syntax ip route - Static route command 172.16.1.0 - Network address of remote network 255.255.255.0 - Subnet mask of remote network 172.16.2.2 - Serial 0/0/0 interface IP address on R2, which is the "next-hop" to this network ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 13
  • 14. Static Routes with Exit Interfaces  Configuring routes to 2 or more remote networks Use the following commands for R1 -R1(config)#ip route 172.16.1.0 255.255.255.0 172.16.2.2 -R1(config)#ip route 192.168.2.0 255.255.255.0 172.16.2.2 ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 14
  • 15. Static Routes with Exit Interfaces  Zinin’s 3 routing principles Principle 1: "Every router makes its decision alone, based on the information it has in its own routing table.“ Principle 2: "The fact that one router has certain information in its routing table does not mean that other routers have the same information.“ Principle 3: "Routing information about a path from one network to another does not provide routing information about the reverse, or return path." ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 15
  • 16. Static Routes with Exit Interfaces  Using Zinin’s 3 routing principles, how would you answer the following? -Would packets from PC1 reach their destination? Yes, packets destined for 172.16.1.0/24 and 192.168.2.0/24 networks would reach their destination. -Does this mean that any packets from these networks destined for 172.16.3.0/24 network will reach their destination? No, because neither R2 nor R3 router has a route to the 172.16.3.0/24 network. ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 16
  • 17. Static Routes with Exit Interfaces  Resolving to an Exit Interface -Recursive route lookup - Occurs when the router has to perform multiple lookups in the routing table before forwarding a packet. A static route that forwards all packets to the next-hop IP address goes through the following process (recursive route lookup) The router first must match static route’s destination IP address with the Next hop address The next hop address is then matched to an exit interface ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 17
  • 18. Static Routes with Exit Interfaces  Configuring a Static route with an Exit Interface -Static routes configured with an exit interface are more efficient because the routing -Table can resolve the exit interface in a single search instead of 2 searches -Example of syntax required to configure a static route with an exit interface -R1(config)#ip route 172.16.1.0 255.255.255.0 s/0/0/0 -R1(config)#ip route 192.168.2.0 255.255.255.0 s0/0/0 ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 18
  • 19. Static Routes with Exit Interfaces – graphic2.5.3.1  Verifying the Static Route Configuration -Use the following commands Step 1 show running-config Step 2 verify static route has been entered correctly Step 3 show ip route Step 4 verify route was configured in routing table Step 5 issue ping command to verify packets can reach destination and that Return path is working ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 19
  • 20. Summary and Default Route  Summarizing routes reduces the size of the routing table.  Route summarization is the process of combining a number of static routes into a single static route. ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 20
  • 21. Summary and Default Route  Configuring a summary route Step 1: Delete the current static route Step 2: Configure the summary static route Step 3: Verify the new static route A summary route represent all the common bits for each network from left to right The 3 networks have 22 common bits from left to right ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 21
  • 22. Summary and Default Route  Default Static Route This is a route that will match all packets. Stub routers that have a number of static routes all exiting the same interface are good candidates for a default route. -Like route summarization this will help reduce the size of the routing table  Configuring a default static route Similar to configuring a static route. Except that destination IP address and subnet mask are all zeros Example: -Router(config)#ip route 0.0.0.0 0.0.0.0 [exitinterface | ip-address ] ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 22
  • 23. Static Routes and Packet Forwarding  Packet forwarding with static routes. (recall Zinin’s 3 routing principles)  For Router 1. A static route that forwards all packets to the next-hop IP address goes through the following process (recursive route lookup) The router first must match static route’s destination IP address with the Next hop address The next hop address is then matched to an exit interface ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 23
  • 24. Static Routes and Packet Forwarding  Troubleshooting a Missing Route  Tools that can be used to isolate routing problems include: -Ping– tests end to end connectivity -Traceroute– used to discover all of the hops (routers) along the path between 2 points -Show IP route– used to display routing table & ascertain forwarding process -Show ip interface brief- used to show status of router interfaces -Show cdp neighbors detail– used to gather configuration information about directly connected neighbors ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 24
  • 25. Static Routes and Packet Forwarding  Solving a Missing Route ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 25
  • 26. Static Routes and Packet Forwarding  Solving a Missing Route ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 26
  • 27. Summary  Routers -Operate at layer 3 -Functions include best path selection & forwarding packets  Connecting Networks WANs Serial cables are connected to router serial ports. In the lab environment clock rates must be configured for DCE LANs Straight through cables or cross over cables are used to connect to fastethernet port. (The type of cable used depends on what devices are being connected)  Cisco Discovery Protocol A layer 2 proprietary protocol Used to discover information about directly connected Cisco devices ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 27
  • 28. Summary  Static Routes -This is a manually configured path that specifies how the router will get to a certain point using a certain path.  Summary static routes -This is several static routes that have been condensed into a single static route.  Default route -It is the route packets use if there is no other possible match for their destination in the routing table.  Forwarding of packets when static route are used -Zinin’s 3 routing principles describe how packets are forwarded  Troubleshooting static routes may require some of the following commands: -Ping -Traceroute -Show IP route -Show ip interface brief -Show cdp neighbors detail ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 28