You are on page 1of 2

COMSATS University Islamabad, Attock Campus

Department of Electrical and Computer Engineering

Spring Semester 2019

Assignment #1

Course Title and Code: Special Topics in Computer Networks


Instructor: Dr. Ajmal Khan

Total Marks:30

1. An organization is granted the block 16.0.0.0/8. The administrator wants to


create 500 fixed-length subnets.
a. Find the subnet mask.
b. Find the number of addresses in each subnet.
c. Find the first and the last address in the first subnet.
d. Find the first and the last address in the last subnet (subnet 500).

2. An organization is granted the block 130.56.0.0/16. The administrator wants to


create 1024 subnets.
a. Find the subnet mask.
b. Find the number of addresses in each subnet.
c. Find the first and the last address in the first subnet.
d. Find the first and the last address in the last subnet (subnet 1024).

3. An organization is granted the block 211.17.180.0/24. The administrator wants to


create 32 subnets.
a. Find the subnet mask.
b. Find the number of addresses in each subnet.
c. Find the first and the last address in the first subnet.
d. Find the first and the last address in the last subnet (subnet 32).
4. Write the following mask in slash notation (/n):
a. 255.255.255.0
b. 255.0.0.0
c. 255.255.224.0
d. 255.255.240.0
5. Find the range of addresses in the following blocks:
a. 123.56.77.32/29
b. 200.17.21.128/27
c. 17.34.16.0/23
d. 180.34.64.64/30
6. In Figure 6.8, find the routing table for router R2.
7. In Figure 6.8, find the routing table for router R3.
8. A packet arrives at router R1 in Figure 6.8 with destination address 192.16.7.42.
Show how it is forwarded.
9. A packet arrives at router R1 in Figure 6.8 with destination address 145.80.14.26.
Show how it is forwarded.
10. A packet arrives at router R1 in Figure 6.8 with destination address 147.26.50.30.
Show how it is forwarded.

You might also like