CCNA 1.2: Compare and contrast TCP and UDP protocols


TCP is a full-duplex, connection-oriented, reliable and accurate protocol. It’s not a simple task to do all of those things and the cost is additional overhead. If a TCP packet is not received, the hosts will communicate this and the sending host can send the packet again. Before transmitting, a sending host establishes a connection with the TCP host. This is done via a few handshake messages.

UDP requires less bandwidth than TCP because it doesn’t care about reliability. It doesn’t need to be connection-oriented and know whether a packet is received or not. The best example of this is Voice over IP. VoIP packets are real-time. They are played as they’re received. If one is not received, it doesn’t make sense to retransmit it because it would be out of order anyways when it is received. So it makes sense for VoIP application developers to use UDP for their transport layer protocol.

Study Notes:

Here is a quick reference chart describing the differences between TCP and UDP


PacketTracer Lab: CCNA-1.2-Compare-and-contrast-TCP-and-UDP-protocols.pkt

Subscribe Now for access to the labs!

  1. Gwendoline Nubila
    Gwendoline Nubila
    February 18, 2019 at 6:13 pm

    While doing the lab,I only got DNS and ARP details.I didn’t get http in the simulator window after typing on the web browser in PC0. Any idea why?

    • Joe Barger (CCNP/CCDP)
      Joe Barger (CCNP/CCDP) • Post Author •
      February 18, 2019 at 10:42 pm

      In simulation mode you’ll need to click Capture/Forward about 14 times for the DNS, ARP and TCP handshakes to occur before you’ll see the first HTTP transmissions. HTTP shows up around the 15 second mark. I updated the lab instructions based on your comments. Thank you

Leave a Reply
Built by TrailSix