Blogger Templates Skip to main content

DHCP (Dynamic Host Configuration Protocol) | DNS (Domain Name System)

DHCP (Dynamic Host Configuration Protocol)

DHCP is a network protocol that is used to assign various network parameters to a device. This greatly simplifies administration, since there is no need to assign static network parameters for each device separately. DHCP is a client-server protocol. A client is a device that is configured to use DHCP to request network parameters from a DHCP server. DHCP server maintains a pool of available IP addresses and assignes one of them to the host. A DHCP server can also provide some other parameters, such as: • subnet mask • default gateway • domain name • DNS server
Cisco routers can be used as a DHCP server.
DHCP process explained:
DHCP client goes through the four step process:

1: A DHCP client sends a broadcast packet (DHCP Discover) to discover DHCP servers on the LAN segment.
2: The DHCP servers receive the DHCP Discover packet and respond with DHCP Offer packets, offering IP addressing information.
3: If the client receives the DHCP Offer packets from multiple DHCP servers, the first DHCP Offer packet is accepted. The client responds by broadcasting a DHCP Request packet, requesting network parameters from a single server.
4: The DHCP server approves the lease with a DHCP Acknowledgement packet. The packet includes the lease duration and other configuration information.

DNS (Domain Name System)

DNS is a network protocol used to translate hostnames into IP addresses. DNS is not required to establish a network connection, but it is much more user friendly for human users than the numeric addressing scheme. Consider this example. You can access the Google homepage by typing 74.125.227.99, but it’s much easier just to type www.google.com!
To use DNS, you must have a DNS server configured to handle the resolution process. A DNS server have a special-purpose application installed. The application maintains a table of dynamic or static hostname-to-IP address mappings. When a user request some network resource using a hostname, (for example by typing www.google.com in a browser), a DNS request is sent to the DNS server asking for the IP address of the hostname. The DNS server then replies with the IP address. The user’s browser can now use that IP address to access www.google.com.
The figure below explains the concept:
Suppose that the DNS Client wants to communicate with the server named Server1. Since the DNS Client doesn’t know the IP address of Server1, it sends a DNS Request to the DNS Server, asking for Server1’s IP address. The DNS Server replies with the IP address of Server1 (DNS Reply)

Comments

Popular posts from this blog

By passing windows 7/8/8.1/10 login password using ease of access

I am almost certain that this has been covered elsewhere. If you have seen this before, then I am sorry I wasted a precious few minutes of your life. 1, Boot up using a Windows 7/8/8.1/10 Installation CD or Bootable Pendrive. 2, At the first splash screen click “INSTALL NOW” then accept the license agreement click "NEXT". 3, Press "SHIT+F10" Simultaneously. Command prompt will open up. 4, Now u need to find out at what partition your OS is installed. you can check this by typing DISKPART>LIST DISK >SELECT DISK 1 > LIST VOL and in the volumes check for the BOOT partition and note down the volume label e.g "C" (it can be different for you). 5, Type in the following commands: cd C: cd Windows/system32 copy UtilMan.exe abc.exe copy cmd.exe Utilman.exe So what did we just do here? The first two commands changed our current working directory to "/Windows/system32". This location contains both "cmd.exe" (...

Microsoft Has Fixed Network Connectivity Issue in Windows 10

Microsoft has released out-of-band updates that resolve the Windows connectivity issue which the company had encountered last week. The issue, as you may remember, was preventing cloud apps like Microsoft Teams, Microsoft Office, Microsoft Office 365, Microsoft Outlook from their normal work, and also was affecting VPN connections. The released updates are not available via the Windows Update as of this writing. The user has to download them manually from the Microsoft Update Catalog.  The links are as follows: Windows 10, version 1909 (KB4554364 ) Windows 10, version 1903 (KB4554364 ) Windows 10, version 1809 (KB4554354 ) Windows 10, version 1803 (KB4554349 ) Windows 10, version 1709 (KB4554342 ) Source : https://docs.microsoft.com/en-us/windows/release-information/windows-message-center