Wireshark Lab: DHCP v8.1
Computer Networking: A Top-Down Approach
Questions
- Is this DHCP Discover message sent out using UDP or TCP as the underlying transport protocol?
- UDP
- What is the source IP address used in the IP datagram containing the Discover message? Is there anything special about this address? Explain.
Source Address: 0.0.0.0
- 클라이언트가 아직 IP 주소를 할당받지 않았음을 의미한다.
- What is the destination IP address used in the datagram containing the Discover message. Is there anything special about this address? Explain.
Destination Address: 255.255.255.255
- 브로드캐스트 주소: 해당 서브넷의 모든 호스트(DHCP 서버)에게 전송한다.
- What is the value in the transaction ID field of this DHCP Discover message?
Transaction ID: 0x56f415ed
- Now inspect the options field in the DHCP Discover message. What are five pieces of information (beyond an IP address) that the client is suggesting or requesting to receive from the DHCP server as part of this DHCP transaction?
Parameter Request List
Maximum DHCP Message Size
Client identifier
IP Address Lease Time
Host Name
Figure 1. DHCP Discover message
- How do you know that this Offer message is being sent in response to the DHCP Discover message you studied in questions 1-5 above?
Transaction ID
가 동일함
- What is the source IP address used in the IP datagram containing the Offer message? Is there anything special about this address? Explain.
Source Address: 192.168.86.1
(DHCP 서버의 IP 주소)
- What is the destination IP address used in the datagram containing the Offer message? Is there anything special about this address? Explain. [Hint: Look at your trace carefully. The answer to this question may differ from what you see in Figure 4.24 in the textbook. If you really want to dig into this, consult the DHCP RFC, page 24.]
Destination Address: 192.168.86.65
(클라이언트에게 제안되는 IP 주소)
- Now inspect the options field in the DHCP Offer message. What are five pieces of information that the DHCP server is providing to the DHCP client in the DHCP Offer message?
Subnet Mask
Broadcast Address
Router
Domain Name
Domain Name Server
- What is the UDP source port number in the IP datagram containing the first DHCP Request message in your trace? What is the UDP destination port number being used?
Source Port: 68
Destination Port: 67
- What is the source IP address in the IP datagram containing this Request message? Is there anything special about this address? Explain.
Source Address: 0.0.0.0
- 클라이언트가 아직 IP 주소를 할당받지 않았음을 의미한다.
- What is the destination IP address used in the datagram containing this Request message. Is there anything special about this address? Explain.
Destination Address: 255.255.255.255
- 브로드캐스트 주소: 해당 서브넷의 모든 호스트(DHCP 서버)에게 전송한다.
- What is the value in the transaction ID field of this DHCP Request message? Does it match the transaction IDs of the earlier Discover and Offer messages?
Transaction ID: 0x56f415ed
- Discover 및 Offer 메시지의
Transaction ID
와 같음
Now inspect the options field in the DHCP Discover message and take a close look at the “Parameter Request List”. The DHCP RFC notes that
The client can inform the server which configuration parameters the client is interested in by including the ‘parameter request list’ option. The data portion of this option explicitly lists the options requested by tag number.
What differences do you see between the entries in the ‘parameter request list’ option in this Request message and the same list option in the earlier Discover message?
- Request와 Discover 메시지의
Parameter Request List
는 동일함
Figure 3. DHCP Request message
- Request와 Discover 메시지의
- What is the source IP address in the IP datagram containing this ACK message? Is there anything special about this address? Explain.
Source Address: 192.168.86.1
(DHCP 서버의 IP 주소)
- What is the destination IP address used in the datagram containing this ACK message. Is there anything special about this address? Explain.
Destination Address: 192.168.86.65
(클라이언트에게 할당된 IP 주소)
- What is the name of the field in the DHCP ACK message (as indicated in the Wireshark window) that contains the assigned client IP address?
Your (client) IP address
- For how long a time (the so-called “lease time”) has the DHPC server assigned this IP address to the client?
IP Address Lease Time: 1 day (86400)
- What is the IP address (returned by the DHCP server to the DHCP client in this DHCP ACK message) of the first-hop router on the default path from the client to the rest of the Internet?
Router: 192.168.86.1
References
이 글은 저작자의 CC BY-SA 4.0 라이선스를 따릅니다.