Name: Hoàng Vũ Tĩnh Student No.: 1814355 Computer Networks Lab 4b Wireshark Lab: DHCP v8.0 1. Are DHCP Messages Sent Over UDP or TCP?
Name: Hoàng Vũ Tĩnh Student No.: 1814355 Computer Networks Lab 4b Wireshark Lab: DHCP v8.0 1. Are DHCP Messages Sent Over UDP or TCP?
Name: Hoàng Vũ Tĩnh Student No.: 1814355 Computer Networks Lab 4b Wireshark Lab: DHCP v8.0 1. Are DHCP Messages Sent Over UDP or TCP?
4. What values in the DHCP discover message differentiate this message from the
DHCP request message?
DHCP Message Type and Column Info
Discover :0xff1d81f3
Offer:0xff1d81f3
Request:0xff1d81f3
ACK:0xff1d81f3
Second two (Request/ACK) DHCP messages :
Request:0xb290d9fb
ACK:0xb290d9fb
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.
172.16.0.1
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.
The DHCP server offered the IP address 172.20.14.236 to my client machine
The ip address being 0.0.0.0 indicates the absence of a relay agent. There is no relay
agent in my experiment.
10. Explain the purpose of the router and subnet mask lines in the DHCP offer
message.
The router line indicates to the client what its default gateway should be. The subnet
mask line tells the client which subnet mask it should use.
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
first server OFFER message, does the client accept this IP address? Where in the
client’s RESPONSE is the client’s requested address?
The lease time in my experiment is 18600s. The purpose of this is the amount of time
the DHCP server assigns an IP address to a client.
13. What is the purpose of the DHCP release message? Does the DHCP server
issue an acknowledgement of receipt of the client’s DHCP request? What would
happen if the client’s DHCP release message is lost?
A DHCP release message is sent by the client to to cancel the lease on an IP address
given to it by the DHCP server.
The DHCP server does not send a message back to the client acknowledging the
DHCP Release message.
If the DHCP Release message from the client is lost, the DHCP server would have to
wait until the lease period is over for that IP address until it could reuse it for another
client
14. 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.
No