Docsity

CSCE 515: Computer Network Programming - Homework 2, Assignments of Computer Science

Toggle sidebar
bg1
CSCE 515: Computer Network Programming Spring 2005
Homework 2 (Undergraduate) 02/24/05
1. (2 points) A UDP datagram sent from source address 129.252.11.254 to destination
address 224.0.0.2 is as follows. What is the correct value for the UDP checksum of this
datagram? (You can use either hexadecimal or binary representation.)
2. (1 point) Use Ethereal to capture IGMP packets that the host menkar.cse.sc.edu uses
to join and leave the multicast group 234.5.6.7. Save the captured packets in a file
named “IGMPxxxx”, where xxxx stands for the last 4 digits of your SSN, and submit the
file along with your homework. (Hint: The IGMP implemented in menkar.cse.sc.edu
is Version 2, so a Leave Group packet will be sent out when menkar leaves a multicast
group.)
3. (2 points) Use Ethereal to capture DNS query packets for the domain name
www.uz.ac.zw. Save the captured packets in a file named “DNSxxxx”, where xxxx
stands for the last 4 digits of your SSN, and submit the file along with your homework.
Then answer the following question: What is the canonical name for www.uz.ac.zw?
You need to submit your neatly typed answers for the problems via the Dropbox named
homework02. In order to get the points, you need to explain your answer when you are
asked to. This homework is due on Mar. 4 at 11:59pm.
07 c1 07 c1
00 1c ?
00 00 10 03
0a 6e 0b 00
76 6c 61 6e
31 31 00 00
81 fc 0b 01

Partial preview of the text

Download CSCE 515: Computer Network Programming - Homework 2 and more Assignments Computer Science in PDF only on Docsity!

CSCE 515: Computer Network Programming Spring 2005 Homework 2 (Undergraduate) 02/ 2 4/

  1. (2 points) A UDP datagram sent from source address 129.252.11.254 to destination address 224.0.0.2 is as follows. What is the correct value for the UDP checksum of this datagram? (You can use either hexadecimal or binary representation.)
  2. (1 point) Use Ethereal to capture IGMP packets that the host menkar.cse.sc.edu uses to join and leave the multicast group 234.5.6.7. Save the captured packets in a file named “IGMPxxxx”, where xxxx stands for the last 4 digits of your SSN, and submit the file along with your homework. ( Hint : The IGMP implemented in menkar.cse.sc.edu is Version 2, so a Leave Group packet will be sent out when menkar leaves a multicast group.)
  3. (2 points) Use Ethereal to capture DNS query packets for the domain name www.uz.ac.zw. Save the captured packets in a file named “DNSxxxx”, where xxxx stands for the last 4 digits of your SSN, and submit the file along with your homework. Then answer the following question: What is the canonical name for www.uz.ac.zw? You need to submit your neatly typed answers for the problems via the Dropbox named homework0 2. In order to get the points, you need to explain your answer when you are asked to. This homework is due on Mar. 4 at 11:59pm. 07 c1 07 c 00 1c? 00 00 10 03 0a 6e 0b 00 76 6c 61 6e 31 31 00 00 81 fc 0b 01