Lab#5
Lab#5
Lab#5
Network Laboratory
7. The devices of the network A were assigned the IP Addresses from the Class C having
subnet mask (255.255.255.0).The Gateway to this network was assigned as
192.168.1.100 which will be later on be using while we connect the router.
a. Laptop0 was assigned IP Address:192.168.1.1 and Gateway:192.168.1.100
b. Laptop1 was assigned IP Address:192.168.1.2 and Gateway:192.168.1.100
c. Similarly, Laptop2 was assigned IP Address:192.168.1.3
and Gateway:192.168.1.100
8. The devices to the network B were assigned the IP Addresses from Class A having
subnet mask(255.0.0.0).The Gateway to this network was assigned as 12.0.0.100
a. Laptop 3 was assigned IP Address:12.0.0.1 and Gateway:12.0.0.100
b. Laptop 4 was assigned IP Address:12.0.0.2 and Gateway:12.0.0.100
c. Similarly, Laptop 5 was assigned IP Address:12.0.0.3 and Gateway:12.0.0.100
9. The whole network will look like the following:
10. Then we placed a router from the console below in the router category, and
dragged Router 1941 router to the middle of the networks.
11. We connected the two networks to the router i.e. from Switch0 and Switch1.
12. For configuration we first entered to each interface of both networks, then got them
ON, then Assigned IP’s to each and then got exit.
13. The steps taken to configure the router for these networks involved the followings:
Prepared by: Engr. Noman Muslim
Electrical Engineering Department Computer Networks 18
Sarhad University of Science and IT Peshawar
a. Double click on Router
b. Go to CLI
c. Type ‘No’ to continue with configuration dialogue.
d. Type ‘enable’ to go to Privilege mode
e. Type ‘Configure Terminal’ to go to Configuration mode in which we
will configure the router.
f. It’s time to set an interface, first look at the left side network interface which is
Gig0/0. So, type ‘interface Gigabitethernet 0/0’ and hit enter
g. Type ‘no shutdown’
h. Give Gateway Address of network A along with subnet mask by writing ‘IP
address 192.168.1.100 255.255.255.0’ and hit enter.
i. Now then write ‘exit’ and press enter.
j. Now similarly for another network, first know its interface which is Gig0/1 and
then write ‘Interface Gigabitethernet 0/1’, then write ‘no shutdown’.
k. Then assign Gateway Address of network B along with its subnet mask as
well. So, write ‘IP address 12.0.0.100 255.0.0.0’ and then write ‘exit’ and hit
enter.