Difference between revisions of "DHCP"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Dynamic Host Configurations Protocol(DHCP) is a protocol that give an IP to the host with its own IP address, gives it a subnet mask and a default gateway. The process happens in four stages.
+
=Overview=
 +
Dynamic Host Configurations Protocol(DHCP) is a protocol to give a configuration to the host device, with its own IP address, a subnet mask and a default gateway. The process happens in four stages.
  
1. The host that wants to join a network finds a DHCP server, it broadcasts a DHCP discovery message over the network.  
+
<youtube>https://www.youtube.com/watch?v=4pMIl6ZwZ0k&list=PLCiOXwirraUCw0BWhWk_5rInOWRnzf8Xm&index=11</youtube>
    At this point the host has no subnet address or the IP of the DHCP server, so it just broadcasts to all nodes.
+
 
2. The DHCP server will discover the message that the host is broadcasting and send a reply, which would contain a proposed IP address,
+
https://www.youtube.com/watch?v=4pMIl6ZwZ0k&list=PLCiOXwirraUCw0BWhWk_5rInOWRnzf8Xm&index=11
    network mask, lease time and a transaction ID. Then it would take the details and link it to the new client.  
+
 
3. The new client responds to the offer which accepts the configuration parameters.
+
==Stage 1==
4. The server responds to the DHCP request message with a DHCP ACK message, and it confirms the requested parameters.
+
The host that wants to join a network finds a DHCP server, it broadcasts a DHCP discovery message over the network.  
 +
At this point the host has no subnet address or the IP of the DHCP server, so it just broadcasts to all nodes.
 +
 
 +
==Stage 2==
 +
The DHCP server will discover the message that the host is broadcasting and send a reply, which would contain a proposed IP address,
 +
network mask, lease time and a transaction ID. Then it would take the details and link it to the new client.  
 +
 
 +
==Stage 3==
 +
The new client responds to the offer which accepts the configuration parameters.
 +
 
 +
==Stage 4==
 +
The server responds to the DHCP request message with a DHCP ACK message, and it confirms the requested parameters.

Latest revision as of 14:27, 23 June 2020

Overview

Dynamic Host Configurations Protocol(DHCP) is a protocol to give a configuration to the host device, with its own IP address, a subnet mask and a default gateway. The process happens in four stages.

https://www.youtube.com/watch?v=4pMIl6ZwZ0k&list=PLCiOXwirraUCw0BWhWk_5rInOWRnzf8Xm&index=11

Stage 1

The host that wants to join a network finds a DHCP server, it broadcasts a DHCP discovery message over the network. At this point the host has no subnet address or the IP of the DHCP server, so it just broadcasts to all nodes.

Stage 2

The DHCP server will discover the message that the host is broadcasting and send a reply, which would contain a proposed IP address, network mask, lease time and a transaction ID. Then it would take the details and link it to the new client.

Stage 3

The new client responds to the offer which accepts the configuration parameters.

Stage 4

The server responds to the DHCP request message with a DHCP ACK message, and it confirms the requested parameters.