|

[ACSA Training #9] UDP Header

⏱️ Estimated reading time: Approx. 2 minutes (2 min read)

In the last post, we learned about TCP. TCP and UDP are the most representative protocols used at the Layer 4 transport layer. Today, let's take a look at UDP.

Source Port Length Disadvantages Connectionless • No reliability No flow control • 10.1.1.1 Host A Indicates app: DNS, TFTP, etc. Destination Port Optional Checksum Advantages Small header size • • Low overhead Low delay 10.2.2.2 Host B

If you look at the picture, the UDP header is Compare with TCP headerIf you do, you will see how simple it is.
It has the same source and destination ports as TCP, and only has length and checksum fields.

From an application's perspective, TCP is a remarkably dedicated and dedicated worker. It establishes a connection, checks for lost packets, retransmits any, and even adjusts data processing to minimize the burden on the receiving end.

Conversely, UDP can be viewed as a lazy worker, lacking connection, reliability, and flow control. It doesn't care whether packets reach their destination or whether the other end is unaffected. However, despite its apparent laziness, it's incredibly cheap. A smaller header size means less overhead. This means UDP can transmit data with lower latency.

Although it's less reliable, it's fast. This makes it ideal for applications like VoIP (Voice over IP) and video streaming. These applications don't require the full reliability of TCP, nor do they want to pay for it. Developers can easily implement the required reliability within their programs.

UDP can also use up to 65,536 ports, but like TCP, the first 1,024 are reserved for well-known applications. The remaining ports, 1025 through 65,525, are known as ephemeral ports, which, like TCP, are deleted after use.

In the past four or five posts, we've covered the expressions used from Layer 1 to Layer 4, as well as header information. I hope you now have a clear understanding of how Ethernet, IP, and TCP/UDP are used in the TCP/IP stack and why they're necessary.

Let's end the theoretical discussion here and learn about network devices in the next post.

Similar Posts

  • [ACSA Training #40] Safe Maintenance

    ⏱️ Estimated reading time: Approx. 19 minutes (19 min read) Network management is an essential skill for both network administrators and engineers. In this post, we will explore various foundational knowledge necessary to understand and perform the most important network management techniques. Out-of-Band Management Ports (OOBM) The ArubaOS-CX switch family includes… used solely for the monitoring and management of the switch…

  • [APSC Training #7] Aruba Central Device Management Method (2) – Site / Label

    ⏱️ Estimated reading time: Approx. 5 minutes (5 min read) In the last post, we looked at the device management methods provided by Aruba Central. We examined the Group method among the three methods: Group, Site, and Label. This time, we will look at the remaining two methods: Site and Label. Site A Site refers to a campus, branch, or…

  • [ACSA Training #8] TCP Header

    ⏱️ Estimated reading time: Approx. 7 minutes (7 min read) In the last post, we looked at the IPv4 header at Layer 3 (Network Layer). Today, we will explore TCP and UDP, which can be found at the Transport Layer, Layer 4. 3-Way Handshake First, before processing application data, TCP first ensures that data can be reliably delivered to the destination…

  • [ACSA Training #23] Frame Transmission Process

    ⏱️ Estimated read time: Approx. 4 minutes (4 min read) Previously, while examining representative Layer 2 technologies such as VLANs and 802.1Q, we also mentioned frames. In a previous post, I also explained Ethernet frames, which correspond to Layer 2 in the OSI model. Therefore, today, along with a practical example, when this frame performs Layer 2 communication…

  • [ACMA Training #2] RF Basics

    ⏱️ Estimated read time: Approx. 10 minutes (10 min read) Wireless networks are primarily designed considering coverage or capacity. When designing for WLAN coverage, the design must be based on the area to be covered. If you configure a coverage-based design that provides 100% coverage across the entire area, using high-power APs is less…

  • [ACSA Education #30] Link Aggregation

    ⏱️ Estimated read time: Approx. 3 minutes (3 min read) Switches must provide connections to many devices located on various VLANs. All traffic generated here communicates with each other by sharing links between switches. Therefore, multiple links are often connected between switches to ensure resilience. However, even so, the bandwidth of the connection between the two switches…