GateAI
Network Address Translation

GATE CSE 2024 Set 1 · Q31

MSQ1 markEasy

Time

Which of the following fields is/are modified in the IP header of a packet going out of a network address translation (NAT) device from an internal network to an external network?

Select all that applyOne or more correct

Pick every correct option

Solution

Step-by-step verified solution

Official answer: A) Source IP; C) Header Checksum

Network Address Translation

When an IP packet travels from an internal (private) network to an external (public) network through a NAT router:

  1. Source IP Address: The private source IP address of the internal host is translated (replaced) with a globally routable public IP address assigned to the NAT device. Thus, the Source IP is modified.

  2. Destination IP Address: The destination IP address remains that of the external server/host and is not modified for outbound packets.

  3. Header Checksum: Because the Source IP address inside the IPv4 header has changed, the IPv4 Header Checksum must be recalculated and updated.

  4. Total Length: Translating an IPv4 address does not change the size of the header or the payload, so the Total Length remains unchanged.

Therefore, the correct options are A and C.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Network Address Translation previous year question is Q31 of the GATE CSE 2024 Set 1 paper. Find more GATE CSE PYQs on Network Address Translation in Computer Networks, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 1 related Network Address Translation PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Network Address Translation in GATE CSE

GATE CSE 2024 Set 1 Q31 is the only Network Address Translation question in the GATE CSE papers so far.

How GATE tests Network Address Translation

More from GATE CSE 2024 Set 1

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2024 Set 1 · Q31 · MSQ

Which of the following fields is/are modified in the IP header of a packet going out of a network address translation (NAT) device from an internal network to an external network?

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.