正在加载图片...
What to Hand In: You should hand of the Command Prompt window Figre1 above. pos sible should hand printout of the pack to answer the qu printou to expla ain your answer.To print a packet >Print,choose Selected pac t only,choose Packet summary line,and select the minimum amount of packet detail that you need to answer the question. Answer the following questions: 1.Are DHCP messages sent over UDP or TCP? 2.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? 3.What is the link-layer (e.g.,Ethernet)address of your host? 4.What values in the DHCP discover message differentiate this message from the DHCP request message? What is the value of the trar saction-ID in each of the first four over/Of ction-ID in th estACK)DHCP。 es?What are the values of the uest/ACK)set of DHCP messages?What is the ofthe Tr ID 6. purpo st uses DHO D P addr among other thing But a host's IP ess is not confi until t he nd of the four-mes ge exch f th e IF address et until end t e four-message exch nge,th t values are grams in the four-message exch se each f the four DHCP messages(Discover/Offer/Request/ACK DHCP),indi ate the source and destination IP addresses that are carried in the encapsulating IP datagram. What is the IP address of your DHCP server? 8.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 9.In the example screenshot in this assignment,there is no relay agent between the host and the DHCP server.What values in the trace indicate the absence of a relay agent?Is there a relay agent in your experiment?If so what is the IP address of the agent? 10.Explain the purpose of the router and subnet mask lines in the DHCP offer message 11.In the DHCP trace file noted in footnote 2,the DHCP server offers a address to the clie nt (see also question 8.abo ve).In the client's se to the What do we mean by"annotate"?If you hand in a paper opy.please highlight where in the printout you've found colored highlight wer and add some text(preferably with If you hand in an electron hat you found in what e copy,wou ghlight and What to Hand In: You should hand in a screen shot of the Command Prompt window similar to Figure 1 above. 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 printout3 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: 1. Are DHCP messages sent over UDP or TCP? 2. 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? 3. What is the link-layer (e.g., Ethernet) address of your host? 4. What values in the DHCP discover message differentiate this message from the DHCP request message? 5. What is the value of the Transaction-ID in each of the first four (Discover/Offer/Request/ACK) DHCP messages? What are the values of the Transaction-ID in the second set (Request/ACK) set of DHCP messages? What is the purpose of the Transaction-ID field? 6. A host uses DHCP to obtain an IP address, among other things. But a host’s IP address is not confirmed until the end of the four-message exchange! If the IP address is not set until the end of the four-message exchange, then what values are used in the IP datagrams in the four-message exchange? For each of the four DHCP messages (Discover/Offer/Request/ACK DHCP), indicate the source and destination IP addresses that are carried in the encapsulating IP datagram. 7. What is the IP address of your DHCP server? 8. 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. 9. In the example screenshot in this assignment, there is no relay agent between the host and the DHCP server. What values in the trace indicate the absence of a relay agent? Is there a relay agent in your experiment? If so what is the IP address of the agent? 10. Explain the purpose of the router and subnet mask lines in the DHCP offer message. 11. In the DHCP trace file noted in footnote 2, the DHCP server offers a specific IP address to the client (see also question 8. above). In the client’s response to the 3 What do we mean by “annotate”? If you hand in a paper copy, please highlight where in the printout you’ve found the answer and add some text (preferably with a colored pen) noting what you found in what you ‘ve highlight. If you hand in an electronic copy, it would be great if you could also highlight and annotate
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有