Difference between revisions of "DHCP"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
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.
 
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.
  
  #The host that wants to join a network finds a DHCP server, it broadcasts a DHCP discovery message over the network.  
+
  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.
+
    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,
 +
    network mask, lease time and a transaction ID.

Revision as of 12:36, 28 February 2017

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.

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