• edited by
28,900 views
69 69 votes

Host A (on TCP/IP v4 network A) sends an IP datagram D to host B (also on TCP/IP v4 network B). Assume that no error occurred during the transmission of D. When D reaches B, which of the following IP header field(s) may be different from that of the original datagram D?

  1. TTL
  2. Checksum
  3. Fragment Offset
  1. $\text{i}$ only
  2. $\text{i}$ and $\text{ii}$ only
  3. $\text{ii}$ and $\text{iii}$ only
  4. $\text{i, ii}$ and $\text{iii}$

12 Answers

Best answer
117 117 votes

The answer is OPTION D.

Whenever an IP packet is transmitted, the value in Time to Live (TTL) field will be decremented on every single hop. Hence, TTL is changed on every hop.

Now, since TTL changes, hence the Checksum of the packet will also change.

For the Fragmentation offset, A packet will be fragmented if the packet has a size greater than the Maximum Transmission Unit (MTU) of the network. Hence, Fragmentation offset can also be changed.

• edited by
15 15 votes
Answer should be B and not D

Reason :- Since, in the question it clearly says that the Datagram D reaches the destination, if there was fragmentation done along the way, the Datagram D would have been divided into different datagrams say A, B, C. Obviously if the same datagram D is reaching, there was no fragmentation hence no change in Frag. offset.

So, only TTL and checksum will be different.
4 4 votes
Correct Option Will be -D

TTL:: It is obvious that TTL value will be change at each router so checksum will also.

Fragment::It may change or not depend upon MTU of forwarding device as router here.But in worst it must be change.
2 2 votes
TTL will change (No doubt)

Due to change in TTL it will cause change in the header and since CHECKSUM will find some changes (due to change in TTL value) CHECKSUM value will be changing at each spot.

Now coming to the FRAGMENT OFFSET part, since question has asked about options which MAY be different from original Datagram then, YES FRAGMENT OFFSET ''MAY" also change if the MTU of other network is smaller.

Hope this helps.
1 1 vote

Answer is D

If due to MTU restriction we need to fragment the packets the Checksum value changes/recomputed wether error has occured or not...

So, TTL changes in every hop, Fragment Offset can change hence Checksum changes

http://stackoverflow.com/questions/27111459/how-does-the-udp-checksum-change-for-ip-fragments  In this answer see last bullet point in box :)

1 1 vote
D option is correct bcoz at each inetermediate node ttl value will be change so  checksum also and each node fragmention may also be possible so all are correct.
Answer:
Position:
Show:

Related questions

66 66 votes
13 answers 13 answers
34.0k
34.0k views
go_editor asked Sep 28, 2014
34,041 views
An $IP$ router with a $\text{Maximum Transmission Unit (MTU)}$ of $1500$ bytes has received an $IP$ packet of size $4404\text{ bytes}$ with an $IP$ header of length $20\t...
9 9 votes
5 answers 5 answers
8.9k
8.9k views
go_editor asked Sep 28, 2014
8,915 views
In the context of modular software design, which one of the following combinations is desirable?High cohesion and high couplingHigh cohesion and low couplingLow cohesion ...
122 122 votes
16 answers 16 answers
37.9k
37.9k views
go_editor asked Sep 28, 2014
37,869 views
Every host in an $\textsf{IPv4}$ network has a $1\text{-second}$ resolution real-time clock with battery backup. Each host needs to generate up to $1000$ unique identifie...
74 74 votes
7 answers 7 answers
27.8k
27.8k views
go_editor asked Sep 28, 2014
27,776 views
An IP router implementing Classless Inter-domain Routing (CIDR) receives a packet with address $131.23.151.76$. The router's routing table has the following entries:$$\be...