0% found this document useful (0 votes)
364 views1 page

DHCP Sequence Diagram

The PC broadcasts a DHCP Discover message to request an IP address from a DHCP server on the network. The DHCP server responds with a DHCP Offer message containing an offered IP address. The PC then sends a DHCP Request message to accept the offered IP address. The DHCP server acknowledges by responding with a DHCP ACK message, completing the handshake and providing the PC with a leased IP address.

Uploaded by

Manoj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
364 views1 page

DHCP Sequence Diagram

The PC broadcasts a DHCP Discover message to request an IP address from a DHCP server on the network. The DHCP server responds with a DHCP Offer message containing an offered IP address. The PC then sends a DHCP Request message to accept the offered IP address. The DHCP server acknowledges by responding with a DHCP ACK message, completing the handshake and providing the PC with a leased IP address.

Uploaded by

Manoj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

DHCP Client DHCP Server

DHCP sequence diagram with message details


This message flow shows how a computer boots up and obtains an IP address. The DHCP Discover and the DHCP Request handshakes are
covered here. (Click on any message in the sequence diagram to see full field level details).

Generated with EventStudio (http://www.eventhelix.com/eventstudio/) and VisualEther (http://www.eventhelix.com/VisualEther/)

A PC boots up and broadcasts an IP address request. The PC receives


an IP address offer.
DHCP Discover Client machine comes up without an IP address. It sends out a DHCP
00:0b:82:01:fc:42 ff:ff:ff:ff:ff:ff Discover message on its subnet to identify the DHCP Servers. The
message is sent as an Ethernet broadcast.
Client IP address: 0.0.0.0 (0.0.0.0),
Your (client) IP address: 0.0.0.0 (0.0.0.0),
Parameter Request List Item: (1) Subnet
Mask,
Parameter Request List Item: (3) Router,
Parameter Request List Item: (6) Domain
Name Server,
Parameter Request List Item: (42) Network
Time Protocol Servers

DHCP Offer A DHCP server on the network receives the Ethernet broadcast and
00:0b:82:01:fc:42 00:08:74:ad:f1:9b offers an IP address.
Client IP address: 0.0.0.0 (0.0.0.0),
Your (client) IP address: 192.168.0.10
(192.168.0.10),
Next server IP address: 192.168.0.1
(192.168.0.1),
Relay agent IP address: 0.0.0.0 (0.0.0.0),
Renewal Time Value: (1800s) 30 minutes,
IP Address Lease Time: (3600s) 1 hour,
DHCP Server Identifier: 192.168.0.1
(192.168.0.1)

The PC accepts the IP address offered by the DHCP server


DHCP Request DHCP Client sends out a DHCP Request as a subnet broadcast. The
00:0b:82:01:fc:42 ff:ff:ff:ff:ff:ff selected IP address is stored in the client IP address field.
Client IP address: 0.0.0.0 (0.0.0.0),
Your (client) IP address: 0.0.0.0 (0.0.0.0),
DHCP Server Identifier: 192.168.0.1
(192.168.0.1),
Parameter Request List Item: (1) Subnet
Mask,
Parameter Request List Item: (3) Router,
Parameter Request List Item: (6) Domain
Name Server,
Parameter Request List Item: (42) Network
Time Protocol Servers

DHCP ACK DHCP Server 1 responds by a unicast. This requires that the ARP Cache
00:0b:82:01:fc:42 00:08:74:ad:f1:9b is updated with the hardware address for the device.
Client IP address: 0.0.0.0 (0.0.0.0),
Your (client) IP address: 192.168.0.10
(192.168.0.10),
Renewal Time Value: (1800s) 30 minutes,
IP Address Lease Time: (3600s) 1 hour,
DHCP Server Identifier: 192.168.0.1
(192.168.0.1),
Option End: 255

Find more networking sequence diagrams at: Networking http://www.eventhelix.com/realtimemantra/networking/

You might also like