Computer Networking Basics

In the four-layer TCP/IP model, which layer do TCP and UDP belong to?

  1. AApplication layer
  2. BInternet layer
  3. CTransport layer
Show answer and explanation

Answer: C. Transport layer

The TCP/IP model is described with four layers, from the bottom: the link layer (network interface layer), the internet layer, the transport layer and the application layer. TCP and UDP are transport-layer protocols, and they use port numbers to tell which application on a host the traffic is for. IP, in the internet layer, is responsible for delivering packets from one host to another. HTTP and DNS are application-layer protocols. Mapped onto the OSI reference model, the transport layer corresponds to layer 4 and the internet layer to layer 3.

  • A. The application layer holds protocols used between applications, such as HTTP and DNS.
  • B. The internet layer holds IP, which delivers packets from host to host.
  • C. Correct. TCP and UDP are in the transport layer and identify applications by port number.
Practice this topic Back to topic

Related calculators

Books on Computer Networking Basics Ad

As an Amazon Associate I earn from qualifying purchases.

More Computer Networking Basics questions

  1. When a web page's data is sent, what happens on the sending side each time the data is passed from an upper layer to a lower layer?
  2. Which statement about MAC addresses is correct?
  3. Compared with a hub (repeater hub), which correctly describes how an L2 switch operates?
  4. On one L2 switch, VLANs are configured so that ports 1–4 are in VLAN 10 and ports 5–8 are in VLAN 20. Which statement about its operation is correct?
  5. Which correctly shortens the IPv6 address 2001:0db8:0000:0000:0000:0000:0000:0001 according to the abbreviation rules?