

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


TCN2141 Computer Networks
Tutorial 2 Solution
Important instruction:
Print and prepare the all Solution before the Tutorial Class
Submit to tutor before class start.
Classless Inter-Domain Routing (CIDR) allows the allocation of any power of 2 sized IP address range, instead of fixed size class A, B, and C subnets. Name two advantages of using CIDR.
Identify all the fields of the IP header.
In an IPv4 datagram, the value of total-length field is (00A0) 16 and the value of the header-length (HLEN) is (5) (^) 16. How many bytes of payload are being carried by the datagram? What is the efficiency (ratio of the payload length to the total length) of this datagram?
a. What is meant by IP fragmentation?
b. Why is an IP datagram fragmented?
c. Is it possible to select an IP datagram size to always avoid fragmentation?
a. Where an IP datagram may get fragmented?
b. Where are the IP datagram fragments reassembled?
c. How to prevent an IP datagram from being fragmented?
1 SK FIST 2015
d. What happens when a datagram must be fragmented to traverse a network, but the "don't fragment" flag in the datagram is set?
e. Will all the fragments of a datagram reach the destination using the same path?
f. What happens to the original IP datagram when one or more fragments are lost?
g. Will all the fragments of a datagram arrive at the destination system in the correct order?
(IP Fragmentation) 2 points:
Consider sending a 2400-byte datagram into a link that has an MTU of 700 bytes. Suppose the original datagram is stamped with the identification number 422. How many fragments are generated? What are the values in the various fields in the IP datagram(s) generated related to fragmentation?
2 SK FIST 2015