0% found this document useful (0 votes)
7 views3 pages

Lab 6 - IP Subneting and Routing (02 Routers)

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views3 pages

Lab 6 - IP Subneting and Routing (02 Routers)

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

HCMC International University Computer Networks

Dr. Phuong Vo Date: Oct-2022

Laboratory 7 – IP subnetting and routing


Student name: Nguyễn Minh Hùng Student ID: ITITIU22064

Topology

PC1
Router 1 Router 2 PC2

Learning Objectives
Upon completion of this lab, you will be able to:
• Design the IP addresses for the network.
• Configure static routes between routers to allow data transfer between routers without the use
of dynamic routing protocols.

Task 1: IP addressing
Step 1. How many subnetworks are there in the above topology?

There are two subnetworks in the topology:

- Subnetwork between PC1 and Router 1


- Subnetwork between Router 1 and Router 2, which also includes the connection to PC2 through
Router 2

Step 2. Given a range of addresses 100. ID.0/16 (ID is associated with your student ID). Each subnet
requires 600 IP addresses. List three subnet addresses
- 100.220.0.0/22
- 100.220.4.0/22
- 100.220.8.0/22

Step 3. Assign the IP addresses to the interfaces of the devices?


Device Interface IP Address Subnet Mask Default Gateway
R1 FE 100.220.0.1 255.255.252.0

Serial 100.220.4.1 255.255.252.0


R2 FE 100.220.4.2 255.255.252.0

Serial 100.220.8.1 255.255.252.0

PC1 NIC 100.220.4.10 255.2255.252.0 100.220.0.1

PC2 NIC 100.220.4.10 255.255.252.0 100.220.4.2


Task 2: Basic router configuration
Step 1. Start the routers. Configure the router names, passwords of the routers.
Step 2. Configure the IP addresses of the interfaces of all the devices in the topology according to the
information in step 3, task 1.
(show the status of the interfaces of the routers (show ip interface brief), show all the configuration
of the routers.)
Step 2. From Router 1, can you “ping” to PC 1?
From PC1, can you “ping” to PC2?

HCMC International University Computer Networks


Dr. Phuong Vo Date: Oct-2022
Task 3: Static IP routing
Step 1. Static IP routing
On router 1, configure the static IP routing to see the LAN 2.
(R1(config)#ip route <LAN2 subnet> <LAN2 mask> <outgoing interface>)
Check the routing table using the command show ip route? Explain the entries in the routing table.
From PC1, can you “ping” to PC2 now?
On router 2, configure the static IP routing to see the LAN 1.
From PC1, can you “ping” to PC2 and vice versa?
Step 2. Show the configurations of the routers (show running-configuration).

Task 4: Static IP routing with default route


Step 1. If Router 1 is the ISP’s router that connects to many routers at the customer site like Router 2,
we can use the default route at router 2:
- Clear the current IP routing configuration
- Input the command: R2(config)#ip route 0.0.0.0 0.0.0.0 <outgoing interface> Can the PCs
ping each other?
Step 2. Show the configurations of the routers (show running-configuration).

Task 4: Advanced task – routing with OSPF


Step 1. Clear the static routing configurations on the routers.
Step 2. Configure OSPF routing on the routers.
R1(config)#router ospf 1
R1(config-router)#network <address1> <wildcard-mask1> area 0
R1(config-router)#network <address2> <wildcard-mask2> area 0

Step 3. Check the routing tables of the router (show ip route).


Step 4. Check if the PCs can ping to each other.
Step 5. Show the configurations of the routers (show running-configuration).

THE END.
2

You might also like