Sdasednfd
Sdasednfd
Laboratory Exercise 3
Packet Tracer - Implementation of Static Routing
InfoSys 04 – IT Infrastructure and Network Technologies
1st Semester, A.Y. 2024-2025
Table of Contents
INTRODUCTION ................................................................................................................................. 2
STEPS TO CONFIGURE AND VERIFY TWO ROUTER CONNECTIONS........................................................ 2
STEP 1. DEVICES ON PACKET TRACER .............................................................................................................2
Table 1. Active and Passive Components. ........................................................................................... 2
Table 2. IP Addressing Table for PCs and Server................................................................................... 2
Figure 1. Network topology for Laboratory Exercise 3 using Packet Tracer. ............................................ 2
STEP 2: CONFIGURE THE PCS (HOSTS) WITH IPV4 ADDRESS, SUBNET MASK, AND DNS ACCORDING TO THE IP ADDRESSING
TABLE GIVEN ABOVE. ...................................................................................................................................3
Figure 2. PC IPv4 Configuration. ......................................................................................................... 3
STEP 3: CONFIGURE THE SERVER-PT WITH IPV4 ADDRESS, SUBNET MASK, AND DNS ACCORDING TO THE IP ADDRESSING
TABLE GIVEN ABOVE. ADDITIONAL CONFIGURATION FOR HTTP, HTTPS, AND DOMAIN NAME SYSTEM (DNS). ...................3
Figure 3. Server-PT IPv4 Configuration. ............................................................................................... 3
Figure 4. Server-PT Services for HTTP and HTTPS Configuration. .......................................................... 4
Figure 5. Server-PT Services for DNS Configuration. ............................................................................ 4
STEP 4: CONFIGURE ROUTER WITH IP ADDRESS AND SUBNET MASK.........................................................................5
Table 3. Router Information and Configuration. ................................................................................... 5
Table 4. Static Routing Information and Configuration ......................................................................... 5
Figure 6. Terminal connection for router configuration. ........................................................................ 5
Step 4.1. How to configure the hostname of the Router. ...................................................................... 6
Step 4.2. How to configure the IPv4 Address of WAN Serial Interface. ................................................... 6
Step 4.3. How to configure the IPv4 Address of LAN Gigabit Ethernet. .................................................. 7
Step 4.4. How to configure the Static Route of the router. .................................................................... 8
STEP 5: VERIFYING THE NETWORK BY PINGING THE IP ADDRESS OF ANY PC. YOU WILL USE THE PING COMMAND TO DO SO. . 11
Figure 7. Successful ping test results................................................................................................ 11
Step 5.1. Verifying if the Server-PT Services configuration is correct. .................................................. 11
Figure 8. A landing page of https://usm.edu.ph ................................................................................. 11
Step 5.2. Simulation. ....................................................................................................................... 12
Figure 8. Successful Simple PDU test results. ................................................................................... 12
REFERENCE(S): ................................................................................................................................ 12
Page 1 of 12
Introduction
Static routing is a routing protocol that helps to keep your network organized and to optimize
routing performance. It enables the router to assign a specific path to each network segment
and to keep track of network changes. This helps to improve network stability and continuity.
This adds security because a single administrator can only authorize routing to particular
networks.
This laboratory exercise will further develop your skills in configuring static routing on a given
network topology, where three (3) Cisco Routers function as public networks that oOer
unified connectivity across diOerent network segments.
Page 2 of 12
Step 2: Configure the PCs (hosts) with IPv4 address, Subnet Mask, and DNS according to the IP
addressing table given above.
Step 3: Configure the Server-PT with IPv4 address, Subnet Mask, and DNS according to the IP
addressing table given above. Additional configuration for HTTP, HTTPS, and Domain Name
System (DNS).
• To enable the Server-PT services, such as HTTP and HTTPS, click on Services
and select the HTTP menu, as shown below.
Page 3 of 12
Figure 4. Server-PT Services for HTTP and HTTPS Configuration.
• To enable the DNS services, click on the DNS menu and fill in the necessary
information: Name: usm.edu.ph, Type: A Record, Address: 192.168.10.3. Then,
click the Add button and ensure that the On option is selected in the DNS
service section, as shown below.
Page 4 of 12
Step 4: Configure router with IP address and subnet mask.
• Now, you will configure the three routers using the command-line interface (CLI)
by clicking on the PCs connected via console cables. From the desktop, select
Terminal, as shown in the image below.
Page 5 of 12
• Change the hostname of three (3) routers with MAIN to (main), KCC to (kcc), and
PALMA to (palma).
• Assign the appropriate IPv4 addresses based on the IP addressing for the Gigabit
Ethernet and Serial interfaces, as shown in Table 3 above.
• Add manually the static routes of each routers following the Table 4 above.
SUMMARY STEPS
1. configure terminal
2. hostname
3. end
4. write memory
DETAILED STEPS
Command Purpose
Example:
Router (config)# hostname main
Example:
main(config)# end
Example:
main# write memory
Step 4.2. How to configure the IPv4 Address of WAN Serial Interface.
SUMMARY STEPS
1. configure terminal
2. interface serial slot/port
3. ip address ip-address mask
4. no shutdown
5. exit
6. end
7. write memory
DETAILED STEPS
Command Purpose
Page 6 of 12
The Cisco 2911 features four slots—0,
1, 2, and 3. It's crucial to verify the
specific slot utilized for installing the
HWIC-2T.
Step 3 ip address ip-address mask Sets the IP address and subnet mask
for the specified Serial interface.
Example:
main(config-if)# ip address 10.0.0.1 255.255.255.252
Example:
main(config)# end
Example:
mainr# write memory
Step 4.3. How to configure the IPv4 Address of LAN Gigabit Ethernet.
SUMMARY STEPS
1. configure terminal
2. interface gigabitethernet slot/port
3. ip address ip-address mask
4. no shutdown
5. exit
6. end
7. write memory
DETAILED STEPS
Command Purpose
Step 3 ip address ip-address mask Sets the IP address and subnet mask
for the specified Gigabit ethernet
Example: interface.
Page 7 of 12
main(config-if)# ip address 192.168.10.1 255.255.255.0
Example:
main(config)# end
Example:
mainr# write memory
• Repeat the same procedure for the other routers to complete their configuration.
• Verify the configuration using the ping tool, which allows you to test connectivity
between the router and the PC, as illustrated in the table below.
MAIN Router
main#ping 192.168.10.2
KCC Router
kcc#ping 192.168.20.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.20.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms
PALMA Router
palma#ping 192.168.30.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.30.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms
SUMMARY STEPS
1. configure terminal
2. ip route
3. end
4. write memory
DETAILED STEPS
Command Purpose
Page 8 of 12
main# configure terminal
• Repeat the same procedure for the other routers to complete their configuration.
• To validate your configuration, issue the command show running-config as shown
below to verify that your static routes have been saved.
MAIN Router
main#show running-config
Building configuration...
main#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
KCC Router
kcc#sh run
Building configuration...
Page 9 of 12
Current configuration : 1020 bytes
!
hostname kcc
!
interface GigabitEthernet0/0
ip address 192.168.20.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0/0
ip address 10.0.0.2 255.255.255.252
clock rate 2000000
!
ip classless
ip route 192.168.10.0 255.255.255.0 10.0.0.1
ip route 10.0.0.0 255.255.255.252 10.0.0.1
ip route 192.168.30.0 255.255.255.0 10.0.0.1
ip route 10.1.0.0 255.255.255.252 10.0.0.1
!
end
kcc#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
PALMA Router
palma#sh run
Building configuration...
palma#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Page 10 of 12
Step 5: Verifying the network by pinging the IP address of any PC. You will use the ping command
to do so.
• First, click on kcc-pc01 then Go to the command prompt
• Then type ping <IP address of targeted node>
• As we can see in the below image we are getting replies which means the
connection is working very fine.
Page 11 of 12
Step 5.2. Simulation.
• Add a Simple PDU and click from kcc-pc01 to palma-pc02. If the configuration is
correct, you will see a successful "last status" as shown in the image below. If the
result shows failure, please review and verify all configurations of the routers,
switch, and PCs, as outlined in the steps above.
Reference(s):
o Cisco Systems, Inc. (2015). Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated
Services Routers Generation 2 Software Configuration Guide.
https://www.cisco.com/c/en/us/td/docs/routers/access/1900/software/configuration/guide/Softwar
e_Configuration.pdf
o GeeksforGeeks. (2024, May 6). Implementation of Static Routing in Cisco 2 Router Connections.
GeeksforGeeks. https://www.geeksforgeeks.org/implementation-of-static-routing-in-cisco-2-
router-connections
o GeeksforGeeks. (2024, July 16). Types of Routing. GeeksforGeeks.
https://www.geeksforgeeks.org/types-of-routing
Page 12 of 12