IP LAB 5 DHCP - ananthan05/Networking-Fundamentals-IP- GitHub Wiki

1 Perform the steps steps to capture the DHCP traffic

a.

image

b. start capurating

c.

image

d. image

e.

image

f.

image

g.Stoped Wireshark packet capture

image

a.

image

b.

image

c.

image

d.

dicover

image

request

image

e.The Transaction-ID in each of the first four (Discover/Offer/Request/ACK) DHCP messages are

image

The values of the Transaction-ID in the second set (Request/ACK) set of DHCP messages are

image

Transaction ID, a random number chosen by the client, used by the client and server to associate messages and responses between a client and a server.

f. Discover Src – 0.0.0.0, Dst – 255.255.255.255

Offer Src – 192.168.1.1, Dst – 255.255.255.255

Request Src – 0.0.0.0, Dst – 55.255.255.255

ACK DHCP – 192.168.1.1, Dst – 255.255.255.255

g. 192.168.178.36

h.

image

The DHCP message with “DHCP Message Type = DHCP Offer” contained the oddered IP

i. Since the IP is 0.0.0.0 it is telling us that there is no relay agent

image

j.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.

k. The client accepts the IP address given in the offer message within the request message. After being offered the IP address 192.168.1.101 in the offer message, my client sent back a message further requesting that specific IP address.

l.The purpose of lease time is to tell the client how long they can use the specific IP address assigned by the server before they will have to be assigned a new one."!The lease time in my experiment is 86400 seconds or 1 day

image

m. The purpose of the release message is to release the IP address back to the server."!There is no verification that the release message has been received by the server."!If the message is lost, the client releases the IP address, but the server will not reassign that address until the clients lease on the address expires.

n.

image

Yes, the DHCP server will issue ARP requests. Before offering an IP address to a client, the DHCP server issues an ARP request to ensure that the offered IP address is not taken by another workstation.