0% found this document useful (0 votes)
5 views2 pages

Assignment 2

The assignment from COMSATS University Islamabad requires students to subnet the IP address block 192.168.10.0/24 for three departments in a software company, ensuring each subnet supports at least 50 hosts. It includes tasks on subnetting, packet forwarding, and IP fragmentation, with specific questions on subnet masks, valid subnet addresses, and the packet forwarding process. The assignment is due on March 12 and is worth a total of 10 marks.

Uploaded by

fa24-bse-097
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views2 pages

Assignment 2

The assignment from COMSATS University Islamabad requires students to subnet the IP address block 192.168.10.0/24 for three departments in a software company, ensuring each subnet supports at least 50 hosts. It includes tasks on subnetting, packet forwarding, and IP fragmentation, with specific questions on subnet masks, valid subnet addresses, and the packet forwarding process. The assignment is due on March 12 and is worth a total of 10 marks.

Uploaded by

fa24-bse-097
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

COMSATS University Islamabad, Sahiwal Campus

DEPARTMENT OF COMPUTER SCIENCE

Assignment # 2

Program: FA24-BSE-A/B Deadline: 12th March


Course: Computer Networks Marks: 10

Q. No. 1 Scenario-Based Assignment (10 Marks)

Scenario: A software company TechSolutions is setting up its office network in a


new building. The company has three departments:

1. Development Department
2. Marketing Department
3. Administration Department

The company receives the IP address block: [Link]/24

The IT administrator wants to:

• Divide the network into three subnets


• Each subnet must support at least 50 hosts
• All departments must communicate through a central router
• The router provides Internet connectivity
• The company will use Network Address Translation (NAT) to access the Internet through
a single public IP address

Question 1 – Subnetting (5 Marks)

Apply subnetting on [Link]/24 to create networks for the three departments. Answer the
following:

a) Determine the new subnet mask that supports at least 50 hosts per subnet. (2 marks)
b) Write three valid subnet addresses. (1.5 marks)
c) Write the host range and broadcast address for each subnet. (1.5 marks)

Question 2 – Packet Forwarding (3 Marks)

A computer in the Development Department has IP: [Link]

It sends a packet to a computer in the Administration Department with IP: [Link]

1
Explain the packet forwarding process:

• How the router checks the destination address


• Which interface the router selects

Question 3 – IP Fragmentation Scenario (2 Marks)

Network sends a packet with:

• Total IP packet size = 2400 bytes


• MTU of the outgoing link = 700 bytes
• IP header size = 20 bytes

Tasks:

a) Determine how many fragments will be created.


b) Calculate the data size in each fragment.
c) Explain how the receiving host reassembles fragments using the Identification field.

*****The End*****

You might also like