Networks Problem Set 3 Due Nov 10 Bonus Date Nov 9

Slides:



Advertisements
Similar presentations
COEN 445 Lab 7 Wireshark Lab: IP Claude Fachkha.
Advertisements

CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 25 Introduction to Computer Networks.
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
Internet Control Protocols Savera Tanwir. Internet Control Protocols ICMP ARP RARP DHCP.
Chapter 7: Transport Layer
Chapter 13: Troubleshooting network connectivity Unit objectives Identify TCP/IP troubleshooting tools Discuss the Telnet utility and its functions Discuss.
Dynamic Host Configuration Protocol (DHCP)
Subnetting.
Host Configuration: BOOTP and DHCP
COS 420 DAY 22. Agenda Assignment 4 Corrected 2 B’s Assignment 5 posted Chap Due May 4 Final exam will be take home and handed out May 4 and Due.
COEN 445 Communication Networks and Protocols Lab 3
TCP/IP Tools Lesson 5. Objectives Skills/ConceptsObjective Domain Description Objective Domain Number Using basic TCP/IP commands Understanding TCP/IP3.6.
Module 1: Reviewing the Suite of TCP/IP Protocols.
1 Lab 3 Transport Layer T.A. Youngjoo Han. 2 Transport Layer  Providing logical communication b/w application processes running on different hosts 
TRANSPORT LAYER T.Najah Al-Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
Network Layer – Subnetting and Control Protocols Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing,
Guide to TCP/IP, Second Edition1 Guide To TCP/IP, Second Edition Chapter 8 The Dynamic Host Configuration Protocol (DHCP)
資 管 Lee Application Layer and Client-Server Model A3.
DHCP Dynamic Host Configuration Protocol Information management 2 Groep T Leuven – Information department 2/18 Agenda Introduction BOOTP.
Guide to TCP/IP, Third Edition Chapter 8: The Dynamic Host Configuration Protocol.
PACKET ANALYSIS WITH WIRESHARK DHCP, DNS, HTTP Chanhyun park.
Sublayers Under the Network Layer: BOOTP & DHCP
Chapter 15 DHCP. Dynamic Host Configuration Protocol An Application Layer Protocol A client server protocol that automatically provides an IP host with.
Chapter 6-2 the TCP/IP Layers. The four layers of the TCP/IP model are listed in Table 6-2. The layers are The four layers of the TCP/IP model are listed.
BAI513 - PROTOCOLS DHCP BAIST – Network Management.
Guide to TCP/IP, Third Edition Chapter 8: The Dynamic Host Configuration Protocol.
Presented by Rebecca Meinhold But How Does the Internet Work?
Chapter 17 BOOTP and DHCP.
1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Dynamic Host Configuration Protocol (DHCP)
Chapter 18 Host Configuration : DHCP
Chapter 22 Bootstrap and Auto configuration (DHCP) History of Bootstrap -Bootstrap is used to assign IP address to the computer. -Constant changes in the.
Networks Part 3: Packet Paths + Wireshark NYU-Poly: HSWP Instructor: Mandy Galante.
Computer Communication: An example What happens when I click on
BAI513 - PROTOCOLS DHCP BAIST – Network Management.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Process-to-Process Delivery:
1 K. Salah Module 5.1: Internet Protocol TCP/IP Suite IP Addressing ARP RARP DHCP.
1 Kyung Hee University Chapter 16 Host Configuration : BOOTP and DHCP.
Dynamic Host Configuration Protocol (DHCP)
Instructor Materials Chapter 8: DHCP
© 2003, Cisco Systems, Inc. All rights reserved.
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Chapter 7: Transport Layer
LESSON Networking Fundamentals Understand TCP/IP.
Wireshark Tutorial KUAS, Hao-Xiang Gu.
Chapter 21 Address Mapping
Lab 2: Packet Capture & Traffic Analysis with Wireshark
Due: a start of class Oct 12
Networks Problem Set 4 Due Nov 19 Bonus Date Nov 16
Networks Problem Set 4 Due Dec 7 Bonus Date Dec 4
ARP and RARP Objectives Chapter 7 Upon completion you will be able to:
Networks Problem Set 3 Due Oct 29 Bonus Date Oct 26
Wireshark Lab#3.
Networks Problem Set 1 Due Oct 3 Bonus Date Oct 2
Due: a start of class Oct 26
Dynamic Host Configuration Protocol (DHCP)
BOOTP and DHCP Objectives
The Open System Interconnection (OSI) Model & Network Protocols.
Chapter 19 Domain Name System (DNS)
ECET 375 Competitive Success/snaptutorial.com
ECET 375 Education for Service-- snaptutorial.com.
ECET 375 Teaching Effectively-- snaptutorial.com.
Chapter 18 Host Configuration : DHCP
Network Fundamentals – Chapter 4
Process-to-Process Delivery:
Chapter 16 Host Configuration : BOOTP and DHCP
Wireshark(Ethereal).
Prepared by: Adeel Ahmad
Chapter 18 Host Configuration : DHCP
Chapter 2.1: Introduction to TCP/IP
Presentation transcript:

Networks Problem Set 3 Due Nov 10 Bonus Date Nov 9 Name(s) ______________________________ ______________________________ Run either Ethereal or Wireshark on your own machine or on one of the machines in the lab. 1. DHCP Packets In order to observe DHCP in action, we’ll perform several DHCP-related commands and capture the DHCP messages exchanged as a result of executing these commands. Do the following: 1. Begin by opening the Windows Command Prompt application (which can be found in your Accessories folder). “ipconfig /release”. The executable for ipconfig is in C:\windows\system32. This command releases your current IP address, so that your host’s IP address becomes 0.0.0.0. 2. Start up the Wireshark packet sniffer, as described in the introductory Wireshark lab and begin Wireshark packet capture. 3. Now go back to the Windows Command Prompt and enter “ipconfig /renew”. This instructs your host to obtain a network configuration, including a new IP address. 4. Wait until the “ipconfig /renew” has terminated. Then enter the same command “ipconfig /renew” again. 5. When the second “ipconfig /renew” terminates, enter the command “ipconfig/release” to release the previously-allocated IP address to your computer. 6. Finally, enter “ipconfig /renew” to again be allocated an IP address for your computer. 7. Stop Wireshark packet capture. To see only the DHCP packets, enter into the filter field “bootp”. (DHCP derives from an older protocol called BOOTP. Both BOOTP and DHCP use the same port numbers, 67 and 68. To see DHCP packets in the current version of Wireshark, you need to enter “bootp” and not “dhcp” in the filter.) 15

Whenever possible, when answering a question below, you should hand in a printout of the packet(s) within the trace that you used to answer the question asked. Annotate the printout to explain your answer. To print a packet, use File->Print, choose Selected packet only, choose Packet summary line, and select the minimum amount of packet detail that you need to answer the question. Answer the following questions: a. Are DHCP messages sent over UDP or TCP? b. Draw a timing datagram illustrating the sequence of the first four-packet Discover/Offer/Request/ACK DHCP exchange between the client and server. For each packet, indicated the source and destination port numbers. Are the port numbers the same as in the example given in this lab assignment? c. What is the link-layer (e.g., Ethernet) address of your host? d. What values in the DHCP discover message differentiate this message from the DHCP request message? e. What is the IP address of your DHCP server? f. What IP address is the DHCP server offering to your host in the DHCP Offer message? Indicate which DHCP message contains the offered DHCP address. g. What is the purpose of the DHCP release message? Does the DHCP server issue an acknowledgment of receipt of the client’s DHCP request? What would happen if the client’s DHCP release message is lost? h. Clear the bootp filter from your Wireshark window. Were any ARP packets sent or received during the DHCP packet-exchange period? If so, explain the purpose of those ARP packets.

• Stop Wireshark data collection 2. UDP Basics Start capturing packets in Wireshark and then do something that will cause your host to send and receive several UDP packets. (One way to do this would be to use the nslookup Command) After stopping packet capture, set your packet filter so that Wireshark only displays the UDP packets sent and received at your host. Pick one of these UDP packets and expand the UDP fields in the details window. Whenever possible, when answering a question you should hand in a printout of the packet(s) within the trace that you used to answer the question asked. Annotate the printout to explain your answer. To print a packet, use File->Print, choose Selected packet only, choose Packet summary line, and select the minimum amount of packet detail that you need to answer the question. Do the following • Open Wireshark and enter “ip.addr == your_IP_address” into the filter, where you obtain your_IP_address (the IP address for the computer on which you are running Wireshark) with ipconfig. This filter removes all packets that neither originate nor are destined to your host. • Start packet capture in Wireshark. • Open the Windows Command Window and enter nslookup www.mit.edu • Stop Wireshark data collection a. Select one packet (a DNS packet). From this packet, determine how many fields there are in the UDP header. Name these fields. b. From the packet content field, determine the length (in bytes) of each of the UDP header fields. c. The value in the Length field is the length of what? Verify your claim with your captured UDP packet. d. What is the protocol number for UDP? Give your answer in both hexadecimal and decimal notation. (To answer this question, you’ll need to look into the IP header.) 10