Microsoft Word - Lab 6 5. One of the b In this lab, w packets cap behave. The Hypertext T Step 1: Sta Step 2: Spe overview of 5.1DHCP Step 3: Incl The file con server; see Load the tra Note: you w...

1 answer below »
hi this is lab exercise assignment kindly check it out I want this on time and with correct format as mentioned in document and I want my name id and email on file as wellstudent name: AHMER NASIRStudent ID: 6880101Student Email: [email protected]


Microsoft Word - Lab 6 5. One of the b In this lab, w packets cap behave. The Hypertext T Step 1: Sta Step 2: Spe overview of 5.1DHCP  Step 3: Incl The file con server; see Load the tra Note: you w Wireshark o Step 4: At t this step, yo Step 5: In th related pack Now answe 1. What are Google. Wh Imp 2. Draw a ti Laborat best ways to we will use a ptured on a te ese are: dyn Transfer Proto rt Wireshark end 10-15 m f Wireshark. luded in the z ntains DHCP the figure be ace file into W will not be ab on your home this step, you ou are ready he “Filter” fie kets. In othe er these ques e the four DH hat other DHC portant: Dete ming diagram tory 5 – W o learn about a powerful pa est network. amic host co ocol (HTTP) IMPORTA k. Ask the lab inutes readin zip file you d messages s elow. Wireshark by le to capture e machine a u should hav to answer th eld, type “boo r words, the stions. HCP message CP message ermine whet m showing th Wireshar computer ne acket sniffer c Then, using onfiguration p and the Dom NT: We use b demonstrat ng the file eth downloaded f sent by client y going to “Fi e any packets nd monitor o e the trace fi he following q otp” (without “Protocol” co es that you c es are there? her a messa he exchange rk/DHCP etworking pro call Wiresha g this trace fil protocol (DH main Name S e Windows t tor if you do h-intro2.pdf ( from Moodle ts to a DHCP ileOpen”. s from the la outgoing and ile loaded. If questions. the quotes), olumn only li can see? Wh ? age is sent by e of DHCP m /ARP/DN otocols is to rk. You will b e, you will ob HCP), Addres System (DNS his week (n not know how (included in t e is a file calle P server, and b’s machine. incoming pa you’re unsu and hit ente sts “DHCP” hat is the pur y a client or t messages. NS/HTTP observe them be given trac bserve how a ss Resolution S)). ot Ubuntu) w to. the zip file). T ed “dhcp-Wir d also messa . However, I ackets on you re, ask the la er. You shoul packets. pose of each the server. P  m working in ce files conta a number of n Protocol (A This will give reshark-trace ages sent by encourage y ur home LAN ab demonstr ld now see o h message? n the “wild”. ining applications ARP), e you an e-1.cap”. a DHCP you to install N. rator. After only DHCP Ask s 3. Click on the first DHCP Discover message. a. Notice that the source and destination address is 0.0.0.0 and 255.255.255.255 respectively. What is the reason for these addresses? b. Is the DHCP Discovery message sent over UDP or TCP? c. What is the source and destination port number? d. In the middle window, click “Bootstrap Protocol”. What is the client’s MAC address? What is the name of the client? What IP address is the client requesting? In the “Parameter Request List”, identify other parameters that the client is requesting from the server. 4. What is the IP address of the DHCP server? 5. Click on the “DHCP Offer” message. a. Identify the following network parameters: (i) subnet mask, (ii) router, (iii) domain name server addresses, (iv) IP address lease time, and (v) the IP address offered to the client. 6. What is the purpose of the lease time in DHCP offer messages? 7. Click on the first “DHCP Request” message. Which IP address did the client request? 5.2ARP  Clear the “Filter” field, and then type “arp” (without the quotes). 1. Draw a timing diagram showing the exchange of ARP messages. 2. Why does a host need to use ARP? 3. Identify the MAC address corresponding to the IP address 192.168.1.101. Part 2: HTTP/DNS The Internet owes much of its success to the World Wide Web. In this lab, you will observe two protocols that are crucial to the Web; Hypertext Transfer Protocol (HTTP) and Domain Name System (DNS). Using Google or your textbook, describe briefly how the aforementioned protocols work. 5.3HTTP  Step 1: Load the file “http-Wireshark-trace-1.cap” (included in the zip file) into Wireshark. Step 2: At this step, you should have the trace file loaded. If you’re unsure, ask the lab demonstrator. You are now ready to answer the following questions. . Type “http” (without the quotes) into the Filter field. 1. Identify the client and server’s IP address. 2. Did the client connect using TCP or UDP? 3. What is the source and destination port? 4. Draw a timing diagram showing the messages transmitted by the client and server. 5. Click on the first GET message. Then in the middle window, expand the label “Hypertext Transfer Protocol”. a. Name the HTML file which the client is trying to get? b. What version of HTTP is the client running? c. Which web browser is the client using? d. Determine the purpose of the following fields: (i) Host, (ii) Accept, (iii) Keep-Alive, and (iv) Connection. 6. Now click on the second message. In the middle window, identify the following: a. What is the version of the web server? b. Is the server running on a Linux or Windows machine? c. What is the length of the content? What does it say? 5.4DNS  Step 1: Load the file “dns-Wireshark-trace-1.cap” into Wireshark. Step 2: Type “dns” (wtq) in the Filter field. 1. Identify the source and destination IP address. 2. Are DNS messages sent over UDP or TCP? 3. What is the source and destination port number? 4. In the middle window, click on “Domain Name System”. a. What is the client trying to resolve? 5. Now, click on the second packet. a. How many answers did the server give the client? What are they? b. How long is the client allowed to keep the answer? Step 3: Now, load the file “dns-Wireshark-trace-2.cap” into Wireshark. Step 4: Type “dns” (wtq) in the Filter field. 1. What is the client asking the server to resolve? 2. What did the server answer? 3. Investigate the third message. What is the client trying to resolve? Is the client successful in resolving its query? 4. Lastly, click on the fourth packet. Click on “Authoritative nameservers”. a. Identify the name server. What domain is the name server responsible for?
Answered 1 days AfterJan 12, 2021

Answer To: Microsoft Word - Lab 6 5. One of the b In this lab, w packets cap behave. The Hypertext T Step 1:...

Swapnil answered on Jan 14 2021
144 Votes
Name: AHMER NASIR
Student Id: 6880101
Student Email: [email protected]
5.1 DHCP
    1
    
    DHCPDISCOVER message: This message is for discovery. It uses
Ethernet, Source IP address = sender's (Client's) MAC or 0.0.0.0; destination (DHCP server's) IP address = FF:FF:FF:FF:FF:FF or 255.255.255.255. It is an IP address lease request.
DHCPOFFER message: It uses Ethernet: Source IP address = Sender's (DHCP server's) MAC or 192.168.1.1; destination (Client machine's) IP address = Client MAC address (255.255.255.255).
DHCPREQUEST message: The client replies to the DHCP server to the server's DHCP offer sending a DHCPREQUEST message, broadcasting to the server, and requesting the offered address. It uses Ethernet: Source IP address = sender's (client's) MAC i.e., 0.0.0.0; destination (DHCP server's) IP address = FF:FF:FF:FF:FF:FF i.e., 255.255.255.255.
DHCPACK message: After receiving the DHCPREQUEST message from the client. It uses Ethernet: Source IP address = Sender's (DHCP server) MAC i.e., 192.168.1.1; Destination IP address = Client's MAC i.e., 255.255.255.255
    2
    
    
    3
    A
    Because the client doesn’t have any IP assigned to it. While sending DHCP request packet to find its IP address. It has to fill its IP address field in the packet 0.0.0.0 IP address indicates that I don’t have any IP assigned to me.
Because client doesn’t know the DHCP servers Ip address just because of that it will broadcast the packet to all the nodes in the network by putting 255.255.255.255 as destination address. SO that ultimately it will reach the DHCP...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here