100% Free Forever
AI-Powered Learning
Industry Expert Content
Certificates & Badges
Learn At Your Own Pace

What is Full-Duplex vs Half-Duplex Communication?

Learn the difference between full-duplex and half-duplex communication, collisions, CSMA/CD, and duplex mismatch issues.

easyQ148 of 224 in Computer Networks Est. time: 5 minsLast updated:
Open Code Lab

Expected Interview Answer

Full-duplex means a link can send and receive data simultaneously in both directions at once, while half-duplex means only one direction can transmit at a time and both ends must take turns, sharing the same channel capacity.

In a half-duplex link, such as old hub-based Ethernet or a walkie-talkie channel, only one device can transmit at any given instant; if both try at once, a collision occurs and both must back off and retransmit, which is why hub-based networks used CSMA/CD to detect and recover from collisions. Full-duplex links, standard on modern switched Ethernet, use physically separate transmit and receive paths (or separate frequencies/timeslots), so both ends can send and receive at the same time with no collisions possible, which roughly doubles effective throughput and removes the need for collision detection entirely. Modern switches and NICs auto-negotiate duplex mode and speed; a mismatch between full-duplex and half-duplex settings on either end of a link is a classic cause of dropped packets and poor performance that shows up as late collisions in interface statistics.

  • Full-duplex removes collisions, doubling effective usable throughput
  • Half-duplex still works over a single shared channel/medium
  • Modern switches make full-duplex the effective default
  • Understanding duplex mismatch is key to diagnosing link performance issues

AI Mentor Explanation

Half-duplex is like a single-channel radio commentary booth shared by two commentators who must take turns talking, one waiting silently while the other speaks, or their voices collide and both are unintelligible. Full-duplex is like each commentator having their own dedicated microphone and headset feed, so both can talk and listen at the exact same moment without ever stepping on each other. Switched Ethernet works the same way full-duplex commentary does, giving each side its own channel instead of sharing one.

Step-by-Step Explanation

  1. Step 1

    Shared vs. separate paths

    Half-duplex shares one channel for both directions; full-duplex uses separate transmit/receive paths.

  2. Step 2

    Collision handling

    Half-duplex needs CSMA/CD to detect and recover from collisions when both ends transmit at once.

  3. Step 3

    Auto-negotiation

    Modern NICs and switches auto-negotiate speed and duplex mode when a link comes up.

  4. Step 4

    Mismatch symptoms

    A duplex mismatch between two ends shows up as late collisions and poor throughput in interface stats.

What Interviewer Expects

  • Correct definition: full-duplex = simultaneous both ways, half-duplex = one direction at a time
  • Knows half-duplex needs collision detection (CSMA/CD), full-duplex does not
  • Aware that modern switched Ethernet defaults to full-duplex
  • Can identify duplex mismatch as a real-world troubleshooting symptom

Common Mistakes

  • Thinking full-duplex just means β€œfaster” rather than simultaneous bidirectional transfer
  • Assuming all Ethernet is inherently full-duplex regardless of hardware/config
  • Not knowing collisions are a half-duplex-specific phenomenon
  • Overlooking duplex mismatch as a cause of degraded link performance

Best Answer (HR Friendly)

β€œFull-duplex means both sides of a connection can talk and listen at the exact same time, like a normal phone call. Half-duplex means only one side can transmit at a time and they have to take turns, like an old walkie-talkie. Most modern wired networks are full-duplex, which is a big reason they are so much faster and smoother than older, collision-prone setups.”

Code Example

Checking the duplex mode of a network interface
# Show negotiated speed and duplex mode for eth0
ethtool eth0 | grep -E "Speed|Duplex"

# Example output:
# Speed: 1000Mb/s
# Duplex: Full

# Check interface stats for collisions (a half-duplex symptom)
ip -s link show eth0

Follow-up Questions

  • What is CSMA/CD and when is it used?
  • What causes a duplex mismatch and how do you diagnose it?
  • Why did the shift from hubs to switches make half-duplex mostly obsolete?
  • How does full-duplex affect effective throughput compared to half-duplex?

MCQ Practice

1. What best describes full-duplex communication?

Full-duplex allows simultaneous bidirectional transmission using separate transmit/receive paths.

2. What mechanism do half-duplex links use to handle simultaneous transmission attempts?

CSMA/CD detects collisions on shared half-duplex media and triggers retransmission after backoff.

3. What is a common symptom of a duplex mismatch between two connected devices?

A duplex mismatch commonly manifests as late collisions and poor link performance.

Flash Cards

Full-duplex? β€” Both directions can transmit simultaneously using separate paths β€” no collisions possible.

Half-duplex? β€” Only one direction can transmit at a time; both ends share the channel and must take turns.

What handles half-duplex collisions? β€” CSMA/CD (Carrier Sense Multiple Access with Collision Detection).

Common half-duplex/full-duplex problem? β€” Duplex mismatch β€” causes late collisions and poor throughput.

1 / 4

Continue Learning