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.
Topic: Networking in IT Infrastructure · Interview preparation
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?
- Will a 1,473-byte UDP payload fit an IPv4 MTU of 1,500?
- Would an IPv6 router fragment the same oversized packet?
- Does one TCP send become one receive at the application?
- Which MAC address carries a packet to a remote server?
- Does a lower route metric always win?
- How do you turn a technical answer into a useful next check?
- References
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
| Component | Bytes in this exercise | Scope |
|---|---|---|
| UDP data | 1,472 or 1,473 | Supplied application payload |
| UDP header | 8 | No additional application framing counted |
| IPv4 header | 20 | No options |
| IP packet budget | 1,500 | Not 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 observation | Reasonable inference | Unsupported leap |
|---|---|---|
| Small probe succeeds | That probe received a response | All packet sizes work |
| TCP acknowledges bytes | Transport receipt progressed | Application transaction committed |
| ARP contains gateway | Local mapping exists | Remote 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
- RFC 768: UDP
- RFC 1191: IPv4 Path MTU Discovery
- RFC 8200: IPv6
- RFC 9293: TCP
- RFC 826: ARP
- RFC 1812: IPv4 router requirements
- Cisco CCNA v1.1 exam topics (last day to test v1.1 is 2 February 2027; v2.0 is scheduled from 3 February 2027)
Frequently Asked Questions
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Wow
0
Sad
0
Angry
0