Cisco Static Routing Guide: Setup & Test
Cisco Static Routing Guide: Setup & Test
INTRODUCTION
Static routing is the simplest routing to implement. Moreover, it offers
advantages in terms of security and consumes only a little bandwidth compared to protocols of
Dynamic Routing that we will see later in other tutorials.
Despite these net advantages, it still presents a drawback to highlight: its maintenance becomes more
heavier than dynamic routing protocols once the number of nodes (Routers) increases in
the network (Beyond 4 Routers).
Nonetheless, for a computer network of 3 routers, static routing proves to be advantageous to implement.
work.
WORK SCHEME
Create the diagram below in Packet Tracer, which we have three (3) Cisco 2800 routers and two
Computers (for the test). Assign IP addresses to the different interfaces as illustrated in the diagram. For
To do this, type the commands located in the pre-configuration section.
Pre-configuration
Type the following commands one after the other on the different routers to assign IP addresses to them
interferences according to the above diagram:
• Router 1
Router1>enable
Router1#configure terminal
Router1(config)#interface FastEthernet0/0
Router1(config-if)#ip address [Link] [Link]
Router1(config-if)# no sh
Router1(config-if)#exit
Router1(config)#interface FastEthernet1/0
Router1(config-if)#ip address [Link] [Link]
Router1(config-if)#no sh
Router1(config-if)#end
• Router 2
Router2>enable
Router2#configure terminal
Router2(config)#interface FastEthernet1/0
Router2(config-if)#ip address [Link] [Link]
Router2(config-if)# no sh
Router2(config-if)#exit
Router2(config)#interface FastEthernet1/1
Router2(config-if)#ip address [Link] [Link]
Router2(config-if)#no sh
Router2(config-if)#end
• Router 3
Router3>en
Router3#configure terminal
Router3(config)#interface FastEthernet1/0
Router3(config-if)#ip address [Link] [Link]
Router3(config-if)# no shutdown
Router3(config-if)#exit
Router3(config)#interface FastEthernet0/0
Router3(config-if)#ip address [Link] [Link]
Router3(config-if)#no sh
Router3(config-if)#end
Après cette étape, toutes les interfaces doivent passer à l'état [Link] sure they are before moving on to
the next section.
ROUTING CONFIGURATION
STATIC
The principle of static routing is as follows: For each router, identify all the networks that are not
neighbors (In other words, who are not directly connected) to this one. Then it is necessary to define a route (to
the help of a gateway) to access each of these networks.
• For Router 1
• For Router 2
The networks that are not directly connected to router 2 are: [Link]/24 and [Link]/24.
The gateway to reach the network [Link]/24 is: [Link]
The gateway to reach the network [Link]/24 is: [Link]
• For Router 3
The networks that are not directly connected to router 3 are: [Link]/30 and [Link]/24
The gateway to reach them is: [Link]
Then type the following commands in each router to configure static routing.
That is all regarding the routing setup. In the next part, we will see how to test this.
configuration with some Cisco commands.
Cisco: Static Routing (PART 2)
INTRODUCTION
In PART 1, we saw how to configure Static Routing on
Cisco routers. We worked according to the diagram shown below:
We will now see how to test our configuration and use some
Cisco commands related to Routing.
To do this, we must assign them an IP address within their respective range like the
show the images below (Don’t forget to put the gateway address):
show ip route
For example, let's try to find the route taken by the packets to reach the
PC2 from PC1 and Router 1.
From PC1:
From Router 1:
We therefore have an idea of the number of routers crossed, the gateway as well as the
temps de réponse minimum, moyen et maximum.