Sajjad Qureshi 2k19/SWE/93: Name: Roll No
Sajjad Qureshi 2k19/SWE/93: Name: Roll No
Assignment No: 1
Date: 08-January-2021
Due On: 27-February-2021
Course Instructor: Dr. Abdul Waheed Mahesar
INSTRUCTION(S) TO CANDIDATES:
This assignment is due on February 5th, 2021 and is worth 40% of your grade. You must
complete it without group. The late submitted assignments will be marked as zero.
GRADING SUMMARY
QUESTIONS OBTAINED MAXIMUM
POINTS POINTS
1 20
2 08
3 05
4 05
5 02
TOTAL 40
1. Use the figure below to answer the questions 1a to 1g. (20 marks)
1
1a. Use 192.168.41.0 as the network address of the figure above, and provide its subnet
mask. Show your calculations if needed. (1 Mark)
192.168.41.0 255.255.255.0
Using the given network address in question (1a), Extract 8 subnet addresses that will be
assign to each subnet in the following ways:
CONCEPTUAL QUESTION:
Q2. Match the OSI model layers with their appropriate functions. (08 marks)
1. Defines higher-level structure of data (packets)
2. Defines representation of data on the medium
3. Defines the type of media to be used
4. Defines “physical” address structure for hosts
5. Provides a portal for the application to access the network
6. Defines the network representation of data
7. Provides a logically persistent connection between processes
8. Provides process-to-process data transfer
Answer:
Q3. Answer the question based on the given diagram: (05 marks)
5
Please enter the values of the following routing table based on the above network diagram:
Router R1 R2 R3 R4
Number of logical interfaces 3 3 4 2
Logical Interface addresses
Next addresses
ANSWER:
a) How many valid subnets can be formed?
2^8 = 256 valid subnets can be formed because there are 8 1’s in Host ID part.
172.16.0.0 172.16.252.0
172.16.1.0 172.16.253.0
172.16.2.0 172.16.254.0
172.16.3.0 172.16.255.0
Q5. A Class B network needs to be subnetted such that it supports 100 subnets and 100
hosts/subnet. Which of the following answers list a workable combination for the number
of networks, subnet, and host bits? (Select two answers.) (2 marks)
7
a. Network = 16, subnet = 7, host = 7
b. Network = 16, subnet = 8, host = 8
c. Network = 16, subnet = 9, host = 7
d. Network = 8, subnet = 7, host = 17
Answer B:
B should be correct: N = 16, S = 8, H = 8 bits, Because an IPv4
address contain 32 bits in this option Total bits become 16+8+8=32
and because this is class B network in class B network 16 bits are for
network id and 2^8 = 256 subnets can be formed and (2^8)-2 = 254
host can be formed so it can support 100 subnets as well as 100 hosts.
Answer C:
C should be correct: N = 16, S = 9, H = 7, Because an IPv4 address
contain 32 bits in this option Total bits become 16+9+7=32 and
because this is class B network in class B network 16 bits are for
network id and 2^9 = 512 subnets can be formed and (2^7)-2 = 126
host can be formed so it can support 100 subnets as well as 100 hosts.
THE END