Protocol and DHCP (Dynamic Host Configuration Protocol) services
Normally, in the area of technology we hear and talk about DHCP, but after all, what is it?
Well … the DHCP protocol is a service of the TCP / IP, it works in order to assign an IP address, netmask, and optional attributes dns, gateway and others.
It is based on the model of client-server, in which a client requests a message via UDP to DHCP server for DHCP. It will reach the criteria associated with the customer and permissions, and return a package containing at least one IP address, netmask, and optionally gateway and dns servers. There are basically three ways to deliver an address and network mask for a DHCP client.
Manually – There is a table set up by an administrator, to manually associate a MAC address with a default IP address set, it means that IP is reserved for the customer corresponding to the MAC.
Automatically – There is a range of IP available by the administrator in which, when the client requesting the connection, receive one of these IP already allocated and available for use.
Dynamic – Works through the reuse of IP, this means that when a client requests a connection and is within the appropriate criteria, it receives the IP, netmask and attributes / additional settings, so the client terminate the connection, ie, complete the link between this connection and the associated IP, the IP that was used will be available for another client who wants the connection, usually for each connection, a different IP is assigned.