Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University
WEEK-END ASSIGNMENT-04
Computer Networking Workshop (CSE 4541)
Publish on: 05-03-2024 Submission on: 11-03-2024
Course Outcome: CO1 Program Outcome: PO1 , PO3 Learning Level: L4
Configuration, verification and troubleshooting IPv4 addressing and subnetting
1. You have a network that needs 29 subnets while maximizing the Answer Remark
number of host addresses available on each subnet. How many
bits must you borrow from the host field to provide the correct q
subnet mask?
Justification:
(A) 2 (D) 5
(B) 3 (E) 6
(C) 4 (F) 7
2. Compute the subnetwork address for a host with the IP address 200.10.5.68/28?
Answer Remark
(A) 200.10.5.56
q
(B) 200.10.5.32
Justification:
(C) 200.10.5.64
(D) 200.10.5.0
3. The network address of 172.16.0.0/19 provides how many subnets and hosts?
Answer Remark
(A) 7 subnets, 30 hosts each q
(B) 7 subnets, 2,046 hosts each Show the calculation:
(C) 7 subnets, 8,190 hosts each
(D) 8 subnets, 30 hosts each
(E) 8 subnets, 2,046 hosts each
(F) 8 subnets, 8,190 hosts each
4. Which mask should you use on point-to-point links in order to reduce the waste of IP addresses?
(A) /27 Answer Remark
(B) /28
q
Justification:
(C) /29
(D) /30
(E) /31
WEA04-1
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University
5. The subnet mask for a particular network is 255.255.31.0. Which of the following pairs of IP ad-
dresses could belong to this network? [GATE 2003]
Answer Remark
(A) 172.57.88.62 and 172.56.87.233
q
Justification:
(B) 10.35.28.2 and 10.35.29.4
(C) 191.203.31.87 and 191.234.31.88
(D) 128.8.129.43 and 128.8.161.55
6. You have an interface on a router with the IP address of 192.168.192.10/29. Including the router
interface, how many hosts can have IP addresses on the LAN attached to the router interface?
Answer Remark
(A) 6
q
Show the computation:
(B) 8
(C) 30
(D) 62
7. Using the following illustration, what would be the IP address of E0 if you were using the eighth
subnet? The network ID is 192.168.10.0/28 and you need to use the last available IP address in the
range. The zero subnet should not be considered valid for this question.
Answer Remark
q
Show the detailed computation of all subnets:
(A) 192.168.10.142
(B) 192.168.10.66
(C) 192.168.100.254
(D) 192.168.10.143
(E) 192.168.10.126
WEA04-2
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University
8. You have a network in your data center that needs 310 hosts. Which mask should you use so you
waste the least amount of addresses?
Answer Remark
(A) 255.255.255.0
q
Justification:
(B) 255.255.254.0
(C) 255.255.252.0
(D) 255.255.248.0
9. Your router has the following IP address on Ethernet0: 172.16.2.1/23. Which of the following can be
valid host IDs on the LAN interface attached to the router? (Choose two.)
(A) 172.16.0.5 Answer Remark
(B) 172.16.1.100 q
(C) 172.16.1.198 Justification:
(D) 172.16.2.255
(E) 172.16.3.0
(F) 172.16.3.255
10. Given an IP address 172.16.28.252 with a subnet mask of 255.255.240.0, find the correct network
address.
(A) 172.16.16.0 Answer Remark
q
(B) 172.16.0.0
Justification:
(C) 172.16.24.0
(D) 172.16.28.0
11. Which two statements describe the IP address 10.16.3.65/23? (Choose two.)
(A) The subnet address is 10.16.3.0 Answer Remark
255.255.254.0. q
(B) The lowest host address in the subnet Justification:
is 10.16.2.1 255.255.254.0.
(C) The last valid host address in the sub-
net is 10.16.2.254 255.255.254.0.
(D) The broadcast address of the subnet is
10.16.3.255 255.255.254.0.
(E) The network is not subnetted.
WEA04-3
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University
12. You need to configure a server that is on the subnet 192.168.19.24/29. The router has the first avail-
able host address. Which of the following should you assign to the server?
Answer Remark
(A) 192.168.19.0 255.255.255.0
q
(B) 192.168.19.33 255.255.255.240
Show calculation:
(C) 192.168.19.26 255.255.255.248
(D) 192.168.19.31 255.255.255.248
(E) 192.168.19.34 255.255.255.240
13. You have an interface on a router with the IP address of 192.168.192.10/29. What is the broadcast
address the hosts will use on this LAN?
Answer Remark
(A) 192.168.192.15
q
(B) 192.168.192.31
Show calculation:
(C) 192.168.192.63
(D) 192.168.192.127
(E) 192.168.192.255
14. You need to subnet a network that has 5 subnets, each with at least 16 hosts. Which classful subnet
mask would you use?
Answer Remark
(A) 255.255.255.192
q
(B) 255.255.255.224
Justification:
(C) 255.255.255.240
(D) 255.255.255.248
15∗ . You configure a router interface with the IP address 192.168.10.62 255.255.255.192 and receive the
following error: Bad mask /26 for address 192.168.10.62
Why did you receive this error?
Answer Remark
(A) You typed this mask on a WAN link q
and that is not allowed.
Justification:
(B) This is not a valid host and subnet
mask combination.
(C) ip subnet-zero is not enabled on
the router.
(D) The router does not support IP.
16. If an Ethernet port on a router were assigned an IP address of 172.16.112.1/25, what would be the
valid subnet address of this interface?
WEA04-4
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University
(A) 172.16.112.0 Answer Remark
(B) 172.16.0.0
q
Justification:
(C) 172.16.96.0
(D) 172.16.255.0
(E) 172.16.128.0
17∗ . You have a network with a host address of 172.16.17.0/22. From the following options, which is
another valid host address in the same subnet?
(A) 172.16.17.1 255.255.255.252
Answer Remark
(B) 172.16.0.1 255.255.240.0 q
(C) 172.16.20.1 255.255.254.0 Justification:
(D) 172.16.16.1 255.255.255.240
(E) 172.16.18.255 255.255.252.0
(F) 172.16.0.1 255.255.255.0
18. To test the IP stack on your local host, which IP address would you ping
Answer Remark
(A) 172.0.0.1
q
(B) 1.0.0.127
Justification:
(C) 127.0.0.1
(D) 127.255.255.255
(E) 255.255.255.255
Subnet Practice Written Lab #4.1:
Complete the following based on the decimal IP address.
Decimal IP Address Number of Subnet Number Number of Hosts
Address Class and Host Bits of Subnets (2x − 2)
(2x )
10.25.66.154/23 A 15-19 32768 510
172.31.254.12/24
192.168.20.123/28
63.24.89.21/18
128.1.1.254/20
208.100.54.209/30
WEA04-5
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University
Subnet Practice Written Lab #4.2:
Given a Class B network and the net bits identified (CIDR), complete the following table to identify the
subnet mask and the number of host addresses possible for each mask.
Classful Address Subnet Mask Number of Hosts per Subnet (2x − 2)
/16 255.255.0.0 216 − 2 = 65534
/17
/18
/19
/20
/21
/22
/23
/24
/25
/26
/27
/28
/29
/30
Subnet Practice Written Lab #4.3:
1. Write the subnet, broadcast address (DBA & LBA), and a valid host range for the given address
192.168.100.25/30. (Hint: The IP 192.168.100.25 belongs to one of the host address in a particular
subnet).
Answer Remark
Subnet:
First Host:
..
.
Last Host:
Broadcast(DBA):
Broadcast(LBA):
Subnetmask:
WEA04-6
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University
2. Write the subnet, broadcast address(DBA & LBA), and a valid host range for the given address
192.168.100.99/25.
Answer Remark
Subnet:
First Host:
..
.
Last Host:
Broadcast(DBA):
Broadcast(LBA):
Subnetmask:
3. Write the subnet, broadcast address (DBA & LBA), and a valid host range for the given address
192.168.100.66/27.
Answer Remark
Subnet:
First Host:
..
.
Last Host:
Broadcast(DBA):
Broadcast(LBA):
Subnetmask:
4. Write the subnet, broadcast address (DBA & LBA), and a valid host range for the given address
192.168.100.99/26.
WEA04-7
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University
Answer Remark
Subnet:
First Host:
..
.
Last Host:
Broadcast(DBA):
Broadcast(LBA):
Subnetmask:
Experiment with Cisco Packet Tracer (CPT)
Problem Statement: Design a physical topology using Cisco packet tracer to interconnect 4 subnetworks
for the given class C IP address 200.1.2.0. Additionally mention the subnetwork address and subnet mask
of each subnetwork in the physical topology. All the valid IP addresses related to each of the subnets must
be configured for the hosts.
WEA04-8
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University
Simulation Setup for Logical View
Paste the Logical View of the Topology
Simulation Setup for Physical View
Paste the Physical View of the Topology
WEA04-9
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University
Subnetwork Configuration
Details of Each Subnet
Subnet: 0 64 128 192
First Host:
..
.
Last Host:
Broadcast(DBA):
Broadcast(LBA):
Subnetmask:
Devices used in the Simulation
Answer
•
• Number of Switche(s)
•
• Number of Router(s)
•
• Number of connecting cables
•
• Type of cable used
•
• Number of Router interfaces
Routing Table Information
Display the routing table at each of the router used in the simulation. [ Commad to display routing table:
Router# show ip route ]
Routing Table
WEA04-10
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University
IP address Configuration
Representation of Logical Views
Router Interface IP: 0 64 128 192
One IP from Subnetwork 0: It’s default gateway
One IP from Subnetwork 1: It’s default gateway
One IP from Subnetwork 2: It’s default gateway
One IP from Subnetwork 3: It’s default gateway
Simulation Testing
Status
• Send packet with in the same subnet •
• Send packet from one subnet to other •
subnet
•
• Local network Broadcast
•
• Distant network broadcast
Show the Simulation of Broadcasting
Paste your Diagram
WEA04-11
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University
Troubleshoot IP address Problems
(a) Change the configuration of host address present in the subnet 2. Start sending packet to that host
from subnet 0. State your observations from the simulation.
Observation
(b) Change one of the Router Interface IP and forward packet from one subnet to other using that inter-
face.
Observation
(c) Change the IP address of one of the host in subnet 0 to a different IP not belonging to that subnet.
Select an ARP packet and forward from any host of subnet 0.
Observation
WEA04-12