cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
431
Views
0
Helpful
4
Replies

UDP

ashraf_can2
Level 1
Level 1

Hi there! I hope someone is kind enough to help me with the following query:

I've read in a book that User Datagram Protocol does not segment the data. Is this true? I find this odd because if that's the case, does UDP send all data in one big chunk? Furthermore in a previous edition of this same book by the same author, he mentions that UDP does indeed segment data. I will be most grateful if someone can clear up this confusion.

Thank you in advance.

Best wishes,

Ashraf.

1 Accepted Solution

Accepted Solutions

williamsdo
Level 3
Level 3

Hi, The UDP protocol does not garantee delivery of data, with that said UDP does provide check sum. Yes it does segment data if I remember correctly the MTU is 1500bytes. UDP receives data from the application process attatches destination and source port numbers fields, add additional needed fields and passed the SEGMENT to the network layler. Have a look at the link below.

http://www-net.cs.umass.edu/kurose/transport/UDP.html

http://www.networksorcery.com/enp/protocol/udp.htm

View solution in original post

4 Replies 4

williamsdo
Level 3
Level 3

Hi, The UDP protocol does not garantee delivery of data, with that said UDP does provide check sum. Yes it does segment data if I remember correctly the MTU is 1500bytes. UDP receives data from the application process attatches destination and source port numbers fields, add additional needed fields and passed the SEGMENT to the network layler. Have a look at the link below.

http://www-net.cs.umass.edu/kurose/transport/UDP.html

http://www.networksorcery.com/enp/protocol/udp.htm

Thank you very much for your help. I appreciate it very much.

bvsnarayana03
Level 5
Level 5

Whether TCP or UDP, they have to be encapsulated & send as IP datagram. IP has the ability to fragment packets based on the mtu configured.

Unless of course the DF bit is set. However, if the DF bit is set and the datagram is too large to traverse a part of the network an ICMP message will be sent back to the sending station informing that "fragmentation is needed but DF is set".

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco