ITT542 - Case Study 1 Network Layer Protocol J
ITT542 - Case Study 1 Network Layer Protocol J
ITT542– TCP/IP
Case Study 1 on Network Layer Protocols
Teamwork
Semester Oct 2021 – Due Friday 3/12/2021 (5pm)
Team Name
Case Study 1/2
# Team members Student ID % Work Signature Final
marks
1 MUHAMMAD AMMAR QUSHAIRY BIN MOHD ARIS 2020462512
2
ITT542 CASE STUDY 1 OCT2021/SAH
QUESTION 1: IPv4 ADDRESSING (30 marks)
1) Your company has been assigned the IP address of 201.222.5.0 and require having 20
subnets. As the company’s network administrator, find the following:
2) A company has been assigned the 200.35.1.0/24 network block. The company wants to
have 20 hosts on each subnet.
a. Define an extended network prefix to meet this requirement (2m)
- 200.35.1.0/27
b. What is the maximum number of hosts that can be assigned to each subnet? (2m)
- 30 host excluding network address and broadcast address
c. What is the maximum number of subnets that can be defined? (2m)
- 8 subnets
d. Specify the subnets of 200.35.1.0/24 (8m)
- 200.35.1.0 0 subnet
- 200.35.1.32 1st subnet
- 200.35.1.64 2nd subnet
- 200.35.1.96 3rd subnet
- 200.35.1.128 4th subnet
- 200.35.1.160 5th subnet
- 200.35.1.192 6th subnet
- 200.35.1.224 7th subnet
e. List the range of host addresses that can be assigned to the 6th subnet. (4m)
- 200.35.1.193 – 200.35.1.222
f. What is the broadcast address for the 6th subnet? (2m)
- 200.35.1.223
g. What is the network address for the 6th subnet? (2m)
- 200.35.1.192
3
ITT542 CASE STUDY 1 OCT2021/SAH
QUESTION 2: ROUTING TABLES (30 marks)
1) What is the purpose of IP routing table? (3m)
IP routing table contains the information necessary to forward a packet along the best path
towards its destination. Each packet is labelled with its origin and destination information.
The routing table gives the device instructions on how to send the packet to the next hop
on its network route.
2) Based on Figure 2, answer the following questions:
Figure 1
4
ITT542 CASE STUDY 1 OCT2021/SAH
b. Find the routing table for R2. (4m)
5
ITT542 CASE STUDY 1 OCT2021/SAH
e. A packet arrives at router R1 with destination address 145.80.14.26. Show how it
is forwarded. (5m)
6
ITT542 CASE STUDY 1 OCT2021/SAH
QUESTION 3: IP DATAGRAM (18 MARKS)
1) Internet Protocol (IP) is an unreliable and connectionless datagram protocol. Briefly explain.
Unreliable Connectionless
(4 marks)
2) An IP datagram has arrived with the following information in the header (in hexadecimal):
49 00 05 DC 26 2E 20 B7 10 11 00 00 C0 0A 0C 0B 00 00 00 C0
7
ITT542 CASE STUDY 1 OCT2021/SAH
f. Consider that this fragment is as of its maximum size fit for the MTU of the network it is
now in, what is the MTU value for this network? (2m)
MTU = C0 0A 0C 0B
g. Calculate how far the packet is allowed to travel to from this point before it is being
dropped.
(2m)
Finding TTLF (time-to-live-field, skip 8 bytes (16 hexadecimal digits)
Time-to-live-field is ninth byte, which is = 10
Meaning that the packet can travel 16 hops.
8
ITT542 CASE STUDY 1 OCT2021/SAH
QUESTION 4: DYNAMIC ROUTING PROTOCOLS (22 MARKS)
1) Define the function of Garbage Collection Timer in RIP operation and state the duration of
the timer. (2m)
The function of the Garbage Collection Timer in RIP operation is it controls how long
before a route is completely flushed from the routing table. The duration of the timer is
120 seconds.
2) A routing table has currently twenty-five (25) entries. It does not receive information
about ten (10) routes for 185 seconds, however 100 seconds after that, came updates of 5
routes which was long-awaited. 10 seconds later, an update came for 1 more route from
the 10 mentioned routes. List the quantity of all the timers currently in use. State the time
(in seconds) running on the Garbage Collection Timer. (4m)
Periodic: 1
Expiration: 25 – 4 = 21
Garbage Collection: 4
GCT: 4
3) Based on Figure 2, construct the routing table for node A using the shortest path tree
2 G
B
6 7 I
A 1
2
2
3
4
4
C H F
1
4
3
D
1
Figure 2
9
ITT542 CASE STUDY 1 OCT2021/SAH
Iteration A B C D E F G H I NEXT
1 0 2 3 * 4 * * * * B
2 0 2 3 4 4 6 * * * C
3 0 2 3 4 4 6 7 * * E
4 0 2 3 4 4 6 7 * * D
5 0 2 3 4 4 6 7 * * F
6 0 2 3 4 4 6 7 1 * G
7 0 2 3 4 4 6 7 1 * H
8 0 2 3 4 4 6 7 1 2 -
10
ITT542 CASE STUDY 1 OCT2021/SAH