Lab Report 2

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

LAB REPORT

CSE-314: : Computer Networks Lab

Submitted To
Mr. Husne Mubarak
Lecturer
Department of CSE, Daffodil International University

Submitted By
Student ID: 221-15-5899
Section: 61 _R2
Student Name: Md. Tayef Islam Raja

Experiment Name: Static Routing


Objective:
To configure a network with specified IP addresses, establish connections between routers and
PCs, and enable static routing for network communication.

Network Information
Network Address (Left Side of Router 0): 192.168.2.0/24
Network Address (Right Side of Router 1): 192.168.100.0/24
Network Address (Between Routers): 12.0.0.0/8

Step 1: Assign IP Addresses


PC0: 192.168.2.2 with default gateway 192.168.2.1
PC1: 192.168.2.3 with default gateway 192.168.2.1
Router 0 Fa0/0: 192.168.2.1
Router 0 Serial0/0: 12.0.0.1
Router 1 Serial0/0: 12.0.0.2
Router 1 Fa0/0: 192.168.100.1
PC2: 192.168.100.2 with default gateway 192.168.100.1

Step 2: Physical Connections


Connect:
PCs to Switch via Ethernet cables.
Switch to Router 0 using an Ethernet cable.
Router 0 and Router 1 using a Serial cable (for Serial0/0 interfaces).
Step 3: Configuration Commands
➢ Router 0 Configuration:
➢ enable
➢ configure terminal
➢ interface fa0/0 ip address 192.168.2.1 255.255.255.0
➢ no shutdown
➢ exit
➢ interface serial0/1/0
➢ ip address 12.0.0.1 255.0.0.0
➢ no shutdown
➢ exit
➢ ip route 192.168.100.0 255.255.255.0 12.0.0.2
➢ end
Router 1 Configuration:

➢ enable
➢ configure terminal
➢ interface fa0/0
➢ ip address 192.168.100.1 255.255.255.0
➢ no shutdown
➢ exit
➢ interface serial0/1/0 ip address 12.0.0.2 255.0.0.0
➢ no shutdown
➢ exit
➢ ip route 192.168.2.0 255.255.255.0 12.0.0.1
➢ end
PC0:
IP Address: 192.168.2.2
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.2.1

PC1:
IP Address: 192.168.2.3
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.2.1

PC2:
IP Address: 192.168.100.2
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.100.1

Conclusion
With this setup, Router 0 and Router 1 use static routing to create communication between two
distinct networks. Pings from PC0 to PC2 that are successful show proper routing and
configuration. All of the configuration commands, connections, and actions required to confirm
the setup are included in this lab report format. Please let me know if you require any more
sections or help.

You might also like