Họ và tên: Trần Nhật Huy MSSV: 1913566: Solution
Họ và tên: Trần Nhật Huy MSSV: 1913566: Solution
MSSV: 1913566
LAB_3A
1) Select one UDP packet from your trace. From this packet, determine how many
fields there are in the UDP header. (You shouldn’t look in the textbook! Answer
these questions directly from what you observe in the packet trace.) Name these
fields.
SOLUTION
4) What is the maximum number of bytes that can be included in a UDP payload?
SOLUTION
The maximum number of bytes that can be included in a UDP payload is (2^16 –
1) bytes plus the header bytes. This gives 65535 bytes – 8 bytes = 65527 bytes.
6) What is the protocol number for UDP? Give your answer in both hexadecimal
and decimal notation.
SOLUTION
The IP protocol number for UDP is 0x11 hex, which is 17 in decimal value.
7) Examine a pair of UDP packets in which your host sends the first UDP packet
and the second UDP packet is a reply to this first UDP packet.
SOLUTION
The relationship between port numbers is that the source port on the send message
is the destination port of the receive message. The destiantion port for the send
message is also the source port for the receive message.
UDP sent by my Host
UDP reply to Host