You are on page 1of 8

Lab 7

Configure Static Routing


Cisco Router

1
1.1

Background knowledge
Router

A router is a networking device that forwards data packets between computer networks.
Routers perform the traffic directing functions on the Internet. A data packet is typically
forwarded from one router to another through the networks that constitute the internetwork
until it reaches its destination node.
A router is connected to two or more data lines from different networks. When a data packet
comes in on one of the lines, the router reads the address information in the packet to determine
the ultimate destination. Then, using information in its routing table or routing policy, it directs
the packet to the next network on its journey. This creates an overlay internetwork.
The most familiar type of routers are home and small office routers that simply pass IP packets
between the home computers and the Internet. An example of a router would be the owner's
cable or DSL router, which connects to the Internet through an Internet service provider (ISP).
More sophisticated routers, such as enterprise routers, connect large business or ISP networks
up to the powerful core routers that forward data at high speed along the optical fiber lines of
the Internet backbone. Though routers are typically dedicated hardware devices, softwarebased routers also exist. Figure 1 shows sample of Cisco routers.

Figure 1. Cisco 2951 Integrated Services Router

1.2

Static Routing

Configure Static Routing is the routing that network administrator configure the network
routers manually, instead of using routing protocols, RIP or OSPF which used in the dynamic
routing. The benefits of static routing is minimum bandwidth usage, no overhead on router
CPU and many more and perfect for small network with a few routers. But it is not without
cons. Difficult to configure all routers manually in the large network and troubleshooting is
always harder than configuration. It help you to understand the process and functions of routing
in the network clearly.
2

Configure Static Routing Using Cisco Packet Tracer

To perform this task you must create your lab and configure the basic IP addressing for all PCs
and Routers.
1) Add 6 PCs, change names PC0, PC1, PC2, PC3, PC4, and PC5
2) Click on PC1 Desktop IP Configuration and set values as bellow (Setting
IP Address: 192.168.30.3
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.30.1
3) Repeat step 2 for other PCs as shown in Table 1

Table 1. PCs IP Address and Default Gateway

PC

IP

Gateway

PC0

192.168.30.3

192.168.30.1

PC1

192.168.30.2

192.168.30.1

PC2

192.168.10.2

192.168.10.1

PC3

192.168.10.3

192.168.10.1

PC4

192.168.20.3

192.168.20.1

PC5

192.168.20.2

192.168.20.1
2

4) Add 3 Routers 2811 and rename then as R1, R2, and R3


5) Add 3 Switches 2950-24 and rename them as SW1, SW2, and SW3
6) Connect PC0 and PC1 to SW2 using Copper Straight-Through
PC0 (FastEthernet0 FastEthernet0/1)
PC0 (FastEthernet0 FastEthernet0/2)
7) Connect PC2 and PC3 to SW3 using Copper Straight-Through
8) Connect PC4 and PC5 to SW1 using Copper Straight-Through
9) Connect SW2 to R2 using Copper Straight-Through (FastEthernet0/3 FastEthernet0/0)
10) Connect SW3 to R3 using Copper Straight-Through (FastEthernet0/3 FastEthernet0/0)
11) Connect SW1 to R1 using Copper Straight-Through (FastEthernet0/3 FastEthernet0/0)
-- Before step 12 try to do step 13 and 14
12) We are going to connect routers using Serial DTE connection, so we have to add relative
features to routers. Therefore for all routers bellow steps should be done: (Figure 2 shows the
steps)
12-1 and 12-2) click on routers Physical mod
12-3) Power off the router
12-3) Drag WIC-2T to their relative place as
12-5) Power on the router

Figure 2. Adding the WIC-2T

The dual-serial port WAN interface cards (WICs) feature Cisco`s new, compact, high-density
Smart Serial connector to support a wide variety of electrical interfaces when used with the
appropriate transition cable. Two cables are required to support the two ports on the WIC. Each
port on a WIC is a different physical interface and can support different protocols such as Pointto-Point protocol (PPP) or Frame Relay and Data Terminal Equipment/Data Communications
Equipment (DTE/DCE).

13) Connect R2 to R1 using Serial DTE connection (Serial 0/3/0 Serial 0/3/0)
14) Connect R3 to R1 using Serial DTE connection (Serial 0/3/0 Serial 0/3/1))
15) The IP address should be assigned between routers connections:
15-1) Click on R2ConfigSerial 0/3/0
IP address: 10.10.20.2
Subnet Mask: 255.255.255.0
15-2) R2ConfigFastEthernet0/0
IP address: 192.168.30.1
Subnet Mask: 255.255.255.0
The IP addresses are assigned as bellow table:
4

Router

Interface

IP

Subnet

R1

Serial0/3/0

10.10.20.1

255.255.255.0

R1

Serial0/3/1

10.10.10.1

255.255.255.0

R1

FastEthernet0/0

192.168.20.1

255.255.255.0

R2

FastEthernet0/0

192.168.30.1

255.255.255.0

R2

Serial0/3/0

10.10.20.2

255.255.255.0

R3

FastEthernet0/0

192.168.10.1

255.255.255.0

R3

Serial0/3/0

10.10.10.2

255.255.255.0

Figure 3 presents the network screenshot.

Figure 3. Screenshot of sample network

16) Click on one of the PCs (e.g. PC3) Desktop Command Prompt ping 192.168.30.3
(e.g. PC0)
Result is Time out because the routers cannot route the packets.

17) Configure the routers: (Static Route)


Static Routing command syntax:
ip route [destination network address] [mask] [next hop address or interface name]

17-1) click on R2 Config Serial 0/3/0 CLI


Then enter bellow commands
ip route 192.168.10.0 255.255.255.0 10.10.10.1 150
ip route 10.10.10.0 255.255.255.0 10.10.20.1 150
ip route 192.168.20.0 255.255.255.0 10.10.20.1 150

Figure 4 shows router configure screenshot

Figure 4. Screenshot of router config

17-2) R3 Config Serial 0/3/0 CLI


ip route 192.168.30.0 255.255.255.0 10.10.20.1 150
ip route 10.10.20.0 255.255.255.0 10.10.10.1 150
ip route 192.168.20.0 255.255.255.0 10.10.10.1 150

17-3) R1 Config Serial 0/3/0 CLI


6

ip route 192.168.30.0 255.255.255.0 10.10.20.2 150


ip route 192.168.10.0 255.255.255.0 10.10.10.2 150

18) Dont forgot to click on routers and SET ON related ports as it shown in Figure 5.

Figure 5. Set ON port status

19) Repeat step 16 and see the result.

20) Show the connectivity of network using SIMPLE PDU as it shown in bellow figure.

References:
http://www.technig.com/ccna-configure-static-routing-in-cisco-packet-tracer/
https://en.wikipedia.org/wiki/Router_(computing)

You might also like