in Computer Networks edited by
533 views
1 vote
1 vote

Host A (on TCP/ IPv4 network A) sends an IP datagram to host B (also on TCP/IPV4 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
  4. HLEN (Header length)
in Computer Networks edited by
533 views

2 Comments

@anupamsworld a,b,c,d?

0
0

Given answer is A,B,C.

However,
as per your answer, I understand A,B,C but could you please describe how HLEN may change?
I understand HLEN is depending on OPTION field.
So, may OPTION field of an ip packet be changed in transit? If yes, how?  @Sunnidhya Roy

0
0

1 Answer

2 votes
2 votes

@anupamsworld Options field can hold Record Route right?? So as and when the datagram passes through intermediate nodes it adds the IP addresses in the Record Route in the options field which in turn affects the HLEN so that is why I am saying that option D may change on transit.

If the question asked was “will always change on transit” then A and B would have been the answer because TTL will always change which in turn will change Checksum value but Fragmentation and Record Route might not always happen in the channel. 

4 Comments

@Sunnidhya Roy

Got it , Thanks :)

“will always change on transit” then A and B would have been the answer because TTL will always change which in turn will change Checksum value but Fragmentation and Record Route might not always happen in the channel. 

Here , if MTU is bigger than the data to be transmitted, then fragment offset will not change right?

and what about record route? when there is only one route in that case it will not change? 

is this correct reasoning for both of these cases?

1
1
edited by

@Pranavpurkar Yes the reasoning for Fragmentation is absolutely correct, for the Record Route Part there can be another case when the configuration only does not support/ implement Record Route as it is an optional requirement.

1
1

got it ,  Thanks @Sunnidhya Roy.

1
1

Related questions

1 vote
1 vote
0 answers
3