Which of the following fields is/are modified in the header of a packet going out of a network address translation device from an internal network to an external network?
View worked solution
Answer: A;C
When an IP packet travels from an internal (private) network to an external (public) network through a Network Address Translation (NAT) device, the following modifications occur in the IP header:
- Source IP Address (Option A): The NAT device translates the private source IP address of the internal host to a public IP address. Thus, the Source IP is modified.
- Destination IP Address (Option B): The destination IP address remains unchanged because the packet is still destined for the same external host.
- Header Checksum (Option C): Since the Source IP address field in the IP header is modified, the Header Checksum must be recalculated and updated to ensure packet integrity.
- Total Length (Option D): The size of the IP packet does not change during address translation, so the Total Length field remains unchanged.
Therefore, the modified fields are Source IP and Header Checksum.
Free practice · Your answers on this page are not saved.
