Question

In: Computer Science

Class, A Dynamic Host Configuration Protocol (DHCP) allows the computers on a network to automatically receive...

Class, A Dynamic Host Configuration Protocol (DHCP) allows the computers on a network to automatically receive IP addresses and other host configuration information automatically. A DNS is used to translate host names such as srv-1.experimental.lab into an address.

Describe how these two services work.

Solutions

Expert Solution

(1) DHCP works in the following way:

(a) When a device, personal computer, for example, connects with a network it will act as a DHCP client and it will start looking for a DHCP server in the network.

(b) When DHCP server is discovered than from the server end an offer of IP address will be given to the client means our computer.

(c) Our computer (DHCP Client) will then send a request to take the IP address for the particular time period.

(d) After receiving the request DHCP server will send the IP address along with other information related to hosting configuration.

(2) DNS works in the following way:

In a network, all the devices communicate with each other with the help of their IP addresses. For us it is not possible to remember those numbers so we use some name instead of that and DNS will link those two things.

(a) When we type and enter srv-1.experimental.lab, DNS start searching for the IP address.

(b) DNS will start searching for the .lab nameservers. And will get the IP address of the nameserver if it exists.

(c) Then DNS will look for experimental.lab nameserver in the .lab nameserver. And will get the IP address of the nameserver if it exists.

(d) Then DNS will look for srv-1.experimental.lab nameserver in the experimental.lab nameserver. And will get the IP address of the nameserver if it exists.

(e) The DNS is able to find out the exact IP address and the device will be connected to the IP address and the necessary information will be retrieved from the source.


Related Solutions

Differentiate between Dynamic Host Configuration Protocol (DHCP) and Domain Name System
Differentiate between Dynamic Host Configuration Protocol (DHCP) and Domain Name System
Describe possible security issues that may affect Dynamic Host Configuration Protocol
Describe possible security issues that may affect Dynamic Host Configuration Protocol
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT