DEPARTMENT OF ELECTRONICS ENGINEERING
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
COMPUTER COMMUNICATION & NETWORKING
(7th Term, 4th Year) LAB EXPERIMENT # 9/1
Name: ___Shayan Fatima___________________________ Roll No: ___18TL06______
Score: ____________Signature of the Lab Tutor: _______________ Date: ___________
CONFIGURATION OF ROUTER INTERFACES
PERFORMANCE OBJECTIVE
Upon successful completion of this experiment, the student will be able to learn:
(i) To configure the interfaces of a router for communication between user of
different networks.
Setting Up a Network:
Step 1: Configuring Router interfaces
DEPARTMENT OF ELECTRONICS ENGINEERING
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
COMPUTER COMMUNICATION & NETWORKING
(7th Term, 4th Year) LAB EXPERIMENT # 9/2
For Router0:
Question: Why we have assigned IP address of which class and how many host IP address it has?
Ans: we have assigned IP address of class c and c class has255 host IP
Step 2: Configuring the workstations:
PC0
PC1
DEPARTMENT OF ELECTRONICS ENGINEERING
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
COMPUTER COMMUNICATION & NETWORKING
(7th Term, 4th Year) LAB EXPERIMENT # 9/3
Question: Why the hosts have been assigned the default gateway addresses?
Ans: If your device has multiple interfaces, then certain other devices or networks may be
reachable only through a subset of the interfaces. You must add specific routes for those. The
default route is the route to "the rest of the internet". It tells your device to which interface to send
those packets.
Step 3: Check the interface status:
Router1#sh ip int brief
Step 4: Check the routing table entries:
Router0#sh ip route
Step 7: Check connectivity from host to host
Ping PC-0 to PC-1:
DEPARTMENT OF ELECTRONICS ENGINEERING
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
COMPUTER COMMUNICATION & NETWORKING
(7th Term, 4th Year) LAB EXPERIMENT # 9/4
Ping PC-1 to PC-0:
Lab Exercise:
Submit a lab with performing a task connect three access layer switches of HR, Sales and accounts
department with router using crossover cable and configure router interfaces with three different
networks using class c IP address scheme.
Topology:
DEPARTMENT OF ELECTRONICS ENGINEERING
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
COMPUTER COMMUNICATION & NETWORKING
(7th Term, 4th Year) LAB EXPERIMENT # 9/5
PC1:
PC2:
PC3:
PC4:
Gateway:
DEPARTMENT OF ELECTRONICS ENGINEERING
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
COMPUTER COMMUNICATION & NETWORKING
(7th Term, 4th Year) LAB EXPERIMENT # 9/6
Router Configuration:
DEPARTMENT OF ELECTRONICS ENGINEERING
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
COMPUTER COMMUNICATION & NETWORKING
(7th Term, 4th Year) LAB EXPERIMENT # 9/7
Pinging from PC1 to PC3:
Pinging from PC4 to PC2: