CCNA Technical Interview Questions on Packets and MTU

Technical CCNA answers should identify the data unit, header and assumption involved in a decision. These original questions cover encapsulation, addressing, TCP and UDP, MTU, routing and diagnostic evidence. A worked example calculates whether a supplied UDP payload fits a stated IPv4 MTU. The checked Python performs arithmetic only; it sends no packets.

Aug 14, 2024 - 11:36
Updated: 
101.8k

Networking in IT Infrastructure · Interview preparation

CCNA Technical Interview Questions on Packets and MTU

Quick answer: Technical CCNA answers should identify the data unit, header and assumption involved in a decision. These original questions cover encapsulation, addressing, TCP and UDP, MTU, routing and diagnostic evidence. A worked example calculates whether a supplied UDP payload fits a stated IPv4 MTU. The checked Python performs arithmetic only; it sends no packets. Use the answer cues to explain why a small successful probe does not establish that every application packet will work.

Key takeaways

  • Identify whether a length describes payload, IP packet or Ethernet frame.
  • Account for the actual headers and encapsulation.
  • Treat IPv4 and IPv6 fragmentation separately.
  • TCP delivers bytes without preserving application message boundaries.
  • Match diagnostic evidence to the traffic being discussed.

Table of Contents

What changes when data passes through network layers?

An application supplies data to a transport protocol, which adds transport information. IP carries the transport unit, and a local link frames the IP packet for transmission. The labels matter: “a 1,500-byte payload” is ambiguous unless you say which layer's payload you mean.

UDP has an eight-byte header. A basic IPv4 header without options is 20 bytes, while the fixed IPv6 header is 40 bytes before extension headers. Those lengths are not interchangeable with an Ethernet frame length. In an interview, ask whether an MTU describes the IP packet or another implementation-specific limit before calculating. Tunnels, options, tags and security encapsulation can change the budget further.

Will a 1,473-byte UDP payload fit an IPv4 MTU of 1,500?

Under the supplied assumptions, no: 1,473 payload bytes plus eight UDP bytes and 20 IPv4 bytes total 1,501 bytes. A 1,472-byte payload totals exactly 1,500. This fictional exercise assumes no IPv4 options, no additional tunnel overhead and an IP MTU of 1,500 bytes.

The calculation does not decide whether a real device fragments, drops or reports an error. That depends on flags, protocol, path and implementation. IPv4 Path MTU Discovery explains the role of the Don't Fragment flag and ICMP feedback. The checked offline example makes the size boundary visible without generating a probe or interpreting a real capture.

mtu = 1500
for payload in (1472, 1473):
    total = payload + 8 + 20
    result = "fits" if total <= mtu else "exceeds MTU"
    print(f"UDP payload {payload}: IPv4 packet {total}, {result}")

Expected output:

UDP payload 1472: IPv4 packet 1500, fits
UDP payload 1473: IPv4 packet 1501, exceeds MTU
ComponentBytes in this exerciseScope
UDP data1,472 or 1,473Supplied application payload
UDP header8No additional application framing counted
IPv4 header20No options
IP packet budget1,500Not an Ethernet on-wire total

Would an IPv6 router fragment the same oversized packet?

IPv6 routers do not fragment packets in transit; fragmentation, when used, is performed by the source. The IPv6 specification makes this an important difference from IPv4. An oversized IPv6 packet can cause a Packet Too Big response, subject to the relevant processing and path conditions.

Do not carry the previous 20-byte IPv4-header arithmetic into IPv6. Recalculate using the IPv6 header and any extension headers or encapsulation. If an interviewer says small packets work but large transfers stall, MTU handling becomes a plausible hypothesis. It is still a hypothesis: congestion, application behavior and filtering can produce other symptoms. Ask for size-dependent evidence from an authorised test and the actual encapsulated path.

Does one TCP send become one receive at the application?

No. TCP exposes an ordered byte stream. A receiver can obtain part of an application message, several messages together, or a different grouping from the sender's write calls. TCP’s service definition separates application bytes from the segments used to carry them.

An application therefore needs its own framing, such as a declared length or an unambiguous delimiter. TCP acknowledgement establishes transport receipt of bytes, not successful parsing or completion of a business action. If an interview question supplies two application writes and one read, do not infer lost data merely because the read boundaries differ. Ask whether the application loops correctly and checks for incomplete input, connection closure and defined message limits.

Which MAC address carries a packet to a remote server?

On an ordinary Ethernet IPv4 LAN, the source uses its routing decision to identify an on-link next hop. For an off-subnet server reached through the gateway, the frame's destination MAC belongs to that gateway interface, while the IP destination remains the server, unless a translation or other intervening function changes it.

ARP resolves the on-link mapping. A router then removes the incoming link-layer framing and forwards using the appropriate outgoing link. This is why a remote server's MAC address is normally absent from the source host's ARP table. A switch learns a source MAC from an arriving frame; that learning process is different from a host resolving an IPv4 address with ARP.

Does a lower route metric always win?

Only after identifying which comparison is being made. Ordinary destination-based forwarding chooses the most specific matching installed prefix. Route-source selection and a routing protocol's path calculation determine which candidates become installed; those processes have their own rules.

IPv4 router specification describes longest matching prefixes. A lower OSPF cost does not allow a broad installed route to override a more specific installed route merely because the numeric cost is smaller. Nor can you compare an OSPF cost directly with an unrelated protocol's metric as though they shared units. State the prefix, route source and selection stage before discussing preference. Additional policy and routing contexts must be supplied explicitly.

Interview observationReasonable inferenceUnsupported leap
Small probe succeedsThat probe received a responseAll packet sizes work
TCP acknowledges bytesTransport receipt progressedApplication transaction committed
ARP contains gatewayLocal mapping existsRemote server is healthy

How do you turn a technical answer into a useful next check?

Specify the same source, destination, protocol, size and time window when comparing observations. A successful IPv4 ping does not establish IPv6 reachability. A permitted ICMP exchange does not establish that a TCP service is listening. A single traceroute can reveal responding hops for its probes without proving a unique, permanent route for every application flow.

Use the CCNA objectives to connect these interpretations to practical study: interface errors, IP connectivity, transport, addressing and security. For the size exercise, the useful next question is which exact packet length and encapsulation traverse the smallest link MTU. Give an expected observation and an alternative explanation before suggesting any operational change.

Related reading: CCNA networking interview questions; CCNA troubleshooting questions.

References

Frequently Asked Questions

No, it adds supplied integer lengths in memory and prints whether they exceed the stated fictional IP MTU.

The header size is an explicit assumption, so options, IPv6 or tunnelling require a different calculation and interpretation.

They describe different boundaries, and an on-wire Ethernet calculation also needs the relevant link-layer overhead and conventions.

IPv6 fragmentation is performed by the source rather than transit routers, which changes how oversized-packet problems are investigated.

TCP presents a byte stream, so applications must implement framing and correctly handle incomplete or combined message data.

For an off-link IPv4 destination, the client needs the local next-hop MAC to construct its outgoing Ethernet frame.

A small successful probe does not establish that larger packets or different encapsulations can traverse the complete path.

Explain the route-source selection rules first because unrelated protocol metrics are not generally comparable as a shared numerical scale.

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Wow Wow 0
Sad Sad 0
Angry Angry 0
Anjali

I am passionate about technology, invention and big challenging tasks on my to- do list. In terms of the work I am doing also at Bunnyshell, I am most passionate about the technologies that we are using., I'm devoted to delivering content that not only informs but also inspires. Whether you need in- depth analysis pieces, educational attendants, or study- provoking opinion pieces, I draft content that resonates with tech suckers and professionals likewise.