fbpx

In IPv6, is the verification that TCP and UDP would perform still as functional?

In IPv6, the functionalities of the TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) protocols in terms of checking and handling data remain essentially the same as in IPv4, although with some adaptations to function properly in the new environment. IPv6 addressing and additional features.

We will explain how each protocol fits and works in the context of IPv6:

TCP over IPv6

TCP is a connection-oriented protocol, which provides reliable data transmission, flow control, congestion management, and retransmission mechanisms. In IPv6, TCP continues to offer these same functionalities:

  1. Connection Start and Termination: TCP uses the same handshake mechanisms (such as the three-way handshake) to establish and terminate connections.
  2. Flow and Congestion Control: Implements flow control by using receive windows and congestion control algorithms such as TCP Reno or TCP Cubic.
  3. Error Checking: Uses checksums to ensure the integrity of transmitted data.

One notable difference is that the IPv6 header does not include a checksum field, unlike IPv4. In IPv6, the responsibility for the checksum falls entirely on upper layer protocols such as TCP and UDP. This means that the TCP checksum in IPv6 covers both the header and data of the TCP segment, and also includes parts of the IPv6 header to verify the integrity of the packet during transmission.

UDP over IPv6

UDP is a connectionless protocol, used for applications that require fast transmissions, such as video streaming or online gaming. As in IPv4, UDP in IPv6 offers:

  1. Datagram Transmission: Send datagrams without establishing a prior connection.
  2. Optional Integrity Check: In IPv4, UDP checksum is optional, but in IPv6 it is mandatory. This improves the reliability of applications that use UDP, ensuring that no corrupt datagrams are processed.

In IPv6, the UDP checksum is always required and covers the IPv6 pseudo-header (which includes the source and destination addresses, packet length, and other values), the UDP header, and the data. This checksum ensures that datagrams arrive intact and to the correct endpoints.

Conclusion

While the basic functionality of TCP and UDP remains the same in IPv6, the main difference is in how these protocols implement and handle checksums, adapting to the IPv6 design that seeks to improve packet processing efficiency and network security. .

The mandatory checksum in UDP and the inclusion of the pseudo-header in checksums are significant changes intended to take advantage of the structural improvements of IPv6.

There are no tags for this post.
Did this content help you?
Facebook
Twitter
LinkedIn
WhatsApp
Telegram

Other documents in this category

Leave your comment

Your email address will not be published. Required fields are marked with *

Tutorials available at MikroLABs

No Courses Found!

DISCOUNT CODE

AN24-LIB

applies to MikroTik books and book packs

Days
Hours
Minutes
Seconds

Introduction to
OSPF - BGP - MPLS

Sign up for this Free course

MAE-RAV-ROS-240118
Days
Hours
Minutes
Seconds

Sign up for this Free course

MAS-ROS-240111

Promo for Three Kings Day!

KINGS24

15%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the Three Kings Day discount code!

* promotion valid until Sunday January 7, 2024
** the code (KINGS24) applies to shopping cart
*** buy your course now and take it until March 31, 2024

New Year's Eve Promo!

NY24

20%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the New Year's Eve discount code!

* promotion valid until Monday, January 1, 2024
** the code (NY24) applies to shopping cart
*** buy your course now and take it until March 31, 2024

Christmas discounts!

XMAS23

30%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the discount code for Christmas!!!

**codes are applied in the shopping cart
Promo valid until Monday December 25, 2023

CYBER WEEK DISCOUNTS

CW23-MK

17%

all MikroTik OnLine courses

CW23-AX

30%

all Academy courses

CW23-LIB

25%

all MikroTik Books and Book Packs

Take advantage of the discount codes for Cyber ​​Week!!!

**codes are applied in the shopping cart
Promo valid until Sunday December 3, 2023

BLACK FRIDAY DISCOUNTS

BF23-MX

22%

all MikroTik OnLine courses

BF23-AX

35%

all Academy courses

BF23-LIB

30%

all MikroTik Books and Book Packs

Take advantage of the discount codes for Black Friday!!!

**Codes are applied in the shopping cart

codes are applied in the shopping cart
valid until Sunday November 26, 2023

Days
Hours
Minutes
Seconds

Sign up for this Free course

MAE-VPN-SET-231115

Halloween promo

Take advantage of discount codes for Halloween.

Codes are applied in the shopping cart

HW23-MK

11% discount on all MikroTik OnLine courses

11%

HW23-AX

30% discount on all Academy courses

30%

HW23-LIB

25% discount on all MikroTik Books and Book Packs

25%

Register and participate in the free course Introduction to Advanced Routing with MikroTik (MAE-RAV-ROS)

Today (Wednesday) October 11, 2023
7pm to 11pm (Colombia, Ecuador, Peru)

MAE-RAV-ROS-231011