Networking Wireshark Lab Homework The values which differentiate the Discover message from the Request

subject Type Homework Help
subject Pages 7
subject Words 1654
subject Authors James F. Kurose, Keith W. Ross

Unlock document.

This document is partially blurred.
Unlock all pages and 1 million more documents.
Get Access
page-pf1
Wireshark Lab: DHCP
SOLUTION
Supplement to Computer Networking: A Top-Down
Approach, 6th ed., J.F. Kurose and K.W. Ross
Here is a screen shot of the Command Prompt window similar to Figure 1 in the lab assignment:
page-pf2
1. DHCP messages are sent over UDP (User Datagram Protocol).
2. The port numbers are the same as the example in the Lab.
3. The Link Layer address of my workstation is: 00:90:4b:69:dd:34
User Datagram Protocol, Src Port: bootpc (68), Dst Port: bootps (67)
Source port: bootpc (68)
Frame 1 (342 bytes on wire, 342 bytes captured)
Ethernet II, Src: 192.168.243.92 (00:90:4b:69:dd:34), Dst: Broadcast
(ff:ff:ff:ff:ff:ff)
Destination: Broadcast (ff:ff:ff:ff:ff:ff)
page-pf3
4. The values which differentiate the Discover message from the Request
message are in “Option 53: DHCP Message Type”.
page-pf4
5. The value of the Transaction ID is 0xe6746a7d. The second Transaction
ID is 0xe4eff25f. A Transaction ID is used so that the DHCP server can
differentiate between client requests during the request process.
6. The DHCP client and server both use 255.255.255.255 as the destination
address. The client uses source IP address 0.0.0.0, while the server uses its
actual IP address as the source.
7. The IP address of the DHCP server is 192.168.243.1
8. The DHCP server offered the IP address 192.168.243.92 to my client
machine. The DHCP message with “DHCP Message Type = DHCP Offer”
contained the offered IP.
No. Time Source Destination Protocol Info
27 12.075229 192.168.243.92 192.168.243.1 DHCP DHCP Request - Transaction ID 0xe4eff25f
No. Time Source Destination Protocol Info
2 0.020995 192.168.243.1 255.255.255.255 DHCP DHCP Offer - Transaction ID 0xe6746a7d
4 0.124018 192.168.243.1 255.255.255.255 DHCP DHCP ACK - Transaction ID 0xe6746a7d
No. Time Source Destination Protocol Info
Frame 2 (590 bytes on wire, 590 bytes captured)
Ethernet II, Src: 192.168.243.1 (00:08:da:50:49:c5), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
Client IP address: 0.0.0.0 (0.0.0.0)
Your (client) IP address: 192.168.243.92 (192.168.243.92)
Next server IP address: 0.0.0.0 (0.0.0.0)
Relay agent IP address: 0.0.0.0 (0.0.0.0)
Client MAC address: 192.168.243.92 (00:90:4b:69:dd:34)
page-pf5
9. The “Relay agent IP address” is 0.0.0.0, which indicates that there is no
DHCP Relay used. There was no Relay Agent used in my experiment.
10. 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.
Frame 4 (590 bytes on wire, 590 bytes captured)
Ethernet II, Src: 192.168.243.1 (00:08:da:50:49:c5), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
0... .... .... .... = Broadcast flag: Unicast
.000 0000 0000 0000 = Reserved flags: 0x0000
Client IP address: 0.0.0.0 (0.0.0.0)
Your (client) IP address: 192.168.243.92 (192.168.243.92)
Next server IP address: 0.0.0.0 (0.0.0.0)
Frame 4 (590 bytes on wire, 590 bytes captured)
Ethernet II, Src: 192.168.243.1 (00:08:da:50:49:c5), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
0... .... .... .... = Broadcast flag: Unicast
.000 0000 0000 0000 = Reserved flags: 0x0000
Client IP address: 0.0.0.0 (0.0.0.0)
Your (client) IP address: 192.168.243.92 (192.168.243.92)
Next server IP address: 0.0.0.0 (0.0.0.0)
page-pf6
11. In my experiment, the host requests the offered IP address in the DHCP
Request message.
12. The lease time is the amount of time the DHCP server assigns an IP
address to a client. During the lease time, the DHCP server will not assign the IP
given to the client to another client, unless it is released by the client. Once the
lease time has expired, the IP address can be reused by the DHCP server to give
to another client. In my experiment, the lease time is 3 days.
Frame 3 (350 bytes on wire, 350 bytes captured)
Ethernet II, Src: 192.168.243.92 (00:90:4b:69:dd:34), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
Internet Protocol, Src: 0.0.0.0 (0.0.0.0), Dst: 255.255.255.255 (255.255.255.255)
Your (client) IP address: 0.0.0.0 (0.0.0.0)
Next server IP address: 0.0.0.0 (0.0.0.0)
Relay agent IP address: 0.0.0.0 (0.0.0.0)
Client MAC address: 192.168.243.92 (00:90:4b:69:dd:34)
Server host name not given
Seconds elapsed: 1280
Bootp flags: 0x0000 (Unicast)
Client IP address: 0.0.0.0 (0.0.0.0)
Your (client) IP address: 192.168.243.92 (192.168.243.92)
Next server IP address: 0.0.0.0 (0.0.0.0)
Option 6: Domain Name Server = 192.168.243.1
Option 5: Name Server = 24.29.103.10
Option 15: Domain Name = "nyc.rr.com"
Option 31: Perform Router Discover = Enabled
End Option
page-pf7
13. The client sends a DHCP Release message to cancel its lease on the IP
address given to it by the DHCP server. The DHCP server does not send a
14. Yes, there are ARP requests made by the DHCP server. Before offering an
IP address to a client, the DHCP server issues an ARP request for the offered IP
to make sure the IP address is not already in use by another workstation.
Frame 2 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: 192.168.243.1 (00:08:da:50:49:c5), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
Address Resolution Protocol (request)
Hardware type: Ethernet (0x0001)

Trusted by Thousands of
Students

Here are what students say about us.

Copyright ©2022 All rights reserved. | CoursePaper is not sponsored or endorsed by any college or university.