SlideShare a Scribd company logo
1 of 19
Host Configuration &
Domain Name System
Bootstrap Protocol (BOOTP):
• Bootstrap Protocol (BOOTP) is a networking protocol which is used
by networking administration to give IP addresses to each member of
that network for participating with other networking devices by the
main server.
• It is a basic protocol that automatically provides each participant in a
network connection with a unique IP address for identification and
authentication as soon as it connects to the network. This helps the
server to speed up data transfers and connection requests.
• This shortens the connection time between the server and the client.
It starts the process of downloading and updating the source code
even with very little information.
Bootstrap Protocol (BOOTP):
• BOOTP uses a combination of DHCP (Dynamic Host Configuration
Protocol) and UDP (User Datagram Protocol) to request and receive
requests from various network-connected participants and to handle
their responses.
• In a BOOTP connection, the server and client just need an IP address
and a gateway address to establish a successful connection. Typically,
in a BOOTP network, the server and client share the same LAN, and
the routers used in the network must support BOOTP bridging.
• In this scenario, when the BOOTP client is booted up, it initially has no
IP configuration. Instead, it broadcasts its media access control
address to the network as a BOOTP request. The BOOTP server then
picks up the message and replies with IP address, hostname,
subnet mask, default gateway address, boot file, and transaction ID.
BOOTP
• BOOTP requests and replies are encapsulated in UDP datagrams
BOOTP Packet format
• format of the 300-byte BOOTP request and reply
• Opcode: is 1 for a request and 2 for a reply.
• Hardware type field: is 1 for a 10 Mbits/sec Ethernet, the same value
that is in the field of the same name in an ARP request or reply
• Hop count: is set to 0 by the client, but can be used by a proxy server
• transaction ID: is a 32-bit integer set by the client and returned by
the server. This lets the client match a response with a request. The
client should set this to a random number for each request.
• Number of seconds: can be set by the client to the time since it
started trying to bootstrap. The servers can look at this value, and
perhaps a secondary server for a client won't respond until the
number of seconds has exceeded some value, implying that the
client's primary server is down.
BOOTP Packet format
• client IP Addr: If the client already knows its IP address, it fills in
the client IP address. Otherwise, the client sets this to 0.
• Your IP Addr: In the latter case the server fills in your IP address with
the client's IP address.
• Gateway IP Addr: The server IP address is filled in by the server. If a
proxy server is used, that proxy server fills in its gateway IP address.
• Client hardware addr: this is the same value as in the Ethernet
header
• Server hostname: is a null terminated string that is optionally filled in
by the server.
• boot filename: The server can also fill in the boot filename with the
fully qualified, null terminated pathname of a file to bootstrap from.
BOOTP Packet format
Vendor-Specific Information
• This area contains optional information
for the server to return to the client.
• The first 4 bytes of this area are set to
the IP address 99.130.83.99.
This is called the magic cookie
and means there is information in the
area.
BOOTP Packet format
DHCP: Dynamic Host Configuration Protocol
• Dynamic Host Configuration Protocol (DHCP) is a client-server
protocol that automatically assigns an Internet Protocol (IP)
address to a device as well as other related configurations.
• Every computer on a network must have an IP address to
communicate with other devices. An IP address is an identifier
for a computer or device on a network.
• There are two ways an IP address is assigned to a computer –
static and dynamic.
• Static: A static IP is where a user assigns an IP address
manually to a computer. However, this process is tedious and
error-prone as it requires manual intervention every time a
device joins the network.
DHCP: Dynamic Host Configuration Protocol
• A dynamic IP is where
a computer receives an
IP address from a
DHCP server. Moreover,
a DHCP server also
assigns a device a
subnet mask, default
gateway, and the
Domain Name System
(DNS) server in addition.
• The assignment between the DHCP client and server follows four
steps,
1.Server Discovery: Once a device joins a network and requires an
IP address, it broadcasts a message to the network asking for it. The
DHCP server will process this request and all other devices in the
network will ignore this message
2.DHCP Offer: The DHCP server looks for an available IP address
from its pool of addresses and offers one to the requesting device
3.DHCP Request: The device responds to the DHCP server by
confirming the provided IP address
4.Acknowledgment: The DHPC server provides the IP address,
subnet mask, default gateway and the DNS server details to the
device
DHCP: Dynamic Host Configuration Protocol
• The IP address information assigned by DHCP is only valid for
a limited period of time and is known as a DHCP lease and the
period of validity is called the DHCP Lease time.
• When the lease expires, the client can no longer use the IP
address and has to stop all communication with the IP network
unless it requests to extend the lease via the DHCP lease
renewal cycle.
• To avoid impacts of the DHCP server not being available at the
end of the lease time, clients generally start renewing their lease
halfway through the lease period. This renewal process ensures
robust IP address allocation to devices.
DHCP: Dynamic Host Configuration Protocol
Benefits of DHCP
DHCP offers several benefits over static IP configuration:
1. Reliable IP address management: DHCP minimizes
configuration errors caused by manual IP address
configuration, such as typographical errors, or address conflicts
caused by the assignment of an IP address to more than one
computer at the same time Reduced Manual Intervention:
2. DHCP lets network administrators centralize and automate
the IP address configuration process. DHCP lets efficient
management of IP addresses. For example, if a device leaves
the network or moves to a different location, the assigned IP
address is removed and assigned to another device
Comparison between BootP and DHCP
Domain Name System (DNS)
• “When users type domain names into the URL bar in their
browser, DNS servers are responsible for translating those
domain names to numeric IP addresses, leading them to the
correct website.”
• DNS is a hostname for IP address translation service. DNS
is a distributed database implemented in a hierarchy of name
servers. It is an application layer protocol for message
exchange between clients and servers.
• Requirement: Every host is identified by the IP address but
remembering numbers is very difficult for the people also the IP
addresses are not static therefore a mapping is required to
change the domain name to the IP address. So DNS is used to
convert the domain name of the websites to their numerical IP
Domain Name
System (DNS)
Domain: There are various kinds of DOMAIN:
1.Generic domain: .com(commercial) .edu(educational)
.mil(military) .org(non profit organization) .net(similar to
commercial) all these are generic domain.
2.Country domain .in (india) .us .uk
3.Inverse domain if we want to know what is the domain name of
the website. Ip to domain name mapping. So DNS can provide
both the mapping for example to find the IP addresses of
geeksforgeeks.org then we have to type nslookup
Organization of Domain:
It is very difficult to find out the IP address associated to a website
because there are millions of websites and with all those websites we
should be able to generate the IP address immediately, there should
not be a lot of delay for that to happen organization of database is very
important.
DNS record: Domain name, IP address what is the validity?? what is
the time to live ?? and all the information related to that domain name.
These records are stored in tree like structure.
Namespace: Set of possible names, flat or hierarchical. The naming
system maintains a collection of bindings of names to values – given a
name, a resolution mechanism returns the corresponding value.
Name Server
The host requests the DNS name server
to resolve the domain name. And the
name server returns the IP address
corresponding to that domain name to the
host so that the host can future connect
to that IP address.
The client machine sends a
request to the local name server,
which , if root does not find the
address in its database, sends a
request to the root name server ,
which in turn, will route the query
to an top-level domain (TLD) or
authoritative name server.

More Related Content

Similar to Host Configuration & DNS: BOOTP, DHCP, and Domain Name System

DHCP (dynamic host configuration protocol)
DHCP (dynamic host configuration protocol)DHCP (dynamic host configuration protocol)
DHCP (dynamic host configuration protocol)Netwax Lab
 
06 coms 525 tcpip - dhcp and dns
06   coms 525 tcpip - dhcp and dns06   coms 525 tcpip - dhcp and dns
06 coms 525 tcpip - dhcp and dnsPalanivel Kuppusamy
 
Networking DHCP server Setup Reports
Networking DHCP server Setup ReportsNetworking DHCP server Setup Reports
Networking DHCP server Setup ReportsJiaul Hasan Jony
 
Dhcp server configuration
Dhcp server configurationDhcp server configuration
Dhcp server configurationUttamAgarwal9
 
DHCP Server & Client Presentation
DHCP Server & Client PresentationDHCP Server & Client Presentation
DHCP Server & Client Presentationraini
 
Customized Dynamic Host Configuration Protocol
Customized Dynamic Host Configuration ProtocolCustomized Dynamic Host Configuration Protocol
Customized Dynamic Host Configuration ProtocolIDES Editor
 
dynamichost configuration protocol
dynamichost configuration protocoldynamichost configuration protocol
dynamichost configuration protocolrajisri2
 
DHCP in windows server 2012
DHCP in windows server 2012DHCP in windows server 2012
DHCP in windows server 2012Abaady Sahal
 
IP/MAC Address Translation
IP/MAC Address TranslationIP/MAC Address Translation
IP/MAC Address TranslationIsmail Mukiibi
 
6 understanding DHCP
6 understanding DHCP6 understanding DHCP
6 understanding DHCPHameda Hurmat
 
Administration of DHCP Addressing
Administration of DHCP AddressingAdministration of DHCP Addressing
Administration of DHCP Addressingpaperpublications3
 
98 366 mva slides lesson 6
98 366 mva slides lesson 698 366 mva slides lesson 6
98 366 mva slides lesson 6suddenven
 

Similar to Host Configuration & DNS: BOOTP, DHCP, and Domain Name System (20)

DHCP (dynamic host configuration protocol)
DHCP (dynamic host configuration protocol)DHCP (dynamic host configuration protocol)
DHCP (dynamic host configuration protocol)
 
DHCP
DHCPDHCP
DHCP
 
DHCP basics
DHCP basicsDHCP basics
DHCP basics
 
Dhcp
DhcpDhcp
Dhcp
 
06 coms 525 tcpip - dhcp and dns
06   coms 525 tcpip - dhcp and dns06   coms 525 tcpip - dhcp and dns
06 coms 525 tcpip - dhcp and dns
 
Linux05 DHCP Server
Linux05 DHCP ServerLinux05 DHCP Server
Linux05 DHCP Server
 
Networking DHCP server Setup Reports
Networking DHCP server Setup ReportsNetworking DHCP server Setup Reports
Networking DHCP server Setup Reports
 
DHCP Protocol
DHCP ProtocolDHCP Protocol
DHCP Protocol
 
Dhcp server configuration
Dhcp server configurationDhcp server configuration
Dhcp server configuration
 
DHCP Server & Client Presentation
DHCP Server & Client PresentationDHCP Server & Client Presentation
DHCP Server & Client Presentation
 
Customized Dynamic Host Configuration Protocol
Customized Dynamic Host Configuration ProtocolCustomized Dynamic Host Configuration Protocol
Customized Dynamic Host Configuration Protocol
 
dynamichost configuration protocol
dynamichost configuration protocoldynamichost configuration protocol
dynamichost configuration protocol
 
DHCP in windows server 2012
DHCP in windows server 2012DHCP in windows server 2012
DHCP in windows server 2012
 
IP/MAC Address Translation
IP/MAC Address TranslationIP/MAC Address Translation
IP/MAC Address Translation
 
15 Application layer.pptx
15 Application layer.pptx15 Application layer.pptx
15 Application layer.pptx
 
6 understanding DHCP
6 understanding DHCP6 understanding DHCP
6 understanding DHCP
 
Lecture 14
Lecture 14Lecture 14
Lecture 14
 
Administration of DHCP Addressing
Administration of DHCP AddressingAdministration of DHCP Addressing
Administration of DHCP Addressing
 
MVA slides lesson 6
MVA slides lesson 6MVA slides lesson 6
MVA slides lesson 6
 
98 366 mva slides lesson 6
98 366 mva slides lesson 698 366 mva slides lesson 6
98 366 mva slides lesson 6
 

Recently uploaded

Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 

Recently uploaded (20)

Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 

Host Configuration & DNS: BOOTP, DHCP, and Domain Name System

  • 2. Bootstrap Protocol (BOOTP): • Bootstrap Protocol (BOOTP) is a networking protocol which is used by networking administration to give IP addresses to each member of that network for participating with other networking devices by the main server. • It is a basic protocol that automatically provides each participant in a network connection with a unique IP address for identification and authentication as soon as it connects to the network. This helps the server to speed up data transfers and connection requests. • This shortens the connection time between the server and the client. It starts the process of downloading and updating the source code even with very little information.
  • 3. Bootstrap Protocol (BOOTP): • BOOTP uses a combination of DHCP (Dynamic Host Configuration Protocol) and UDP (User Datagram Protocol) to request and receive requests from various network-connected participants and to handle their responses. • In a BOOTP connection, the server and client just need an IP address and a gateway address to establish a successful connection. Typically, in a BOOTP network, the server and client share the same LAN, and the routers used in the network must support BOOTP bridging. • In this scenario, when the BOOTP client is booted up, it initially has no IP configuration. Instead, it broadcasts its media access control address to the network as a BOOTP request. The BOOTP server then picks up the message and replies with IP address, hostname, subnet mask, default gateway address, boot file, and transaction ID.
  • 4.
  • 5. BOOTP • BOOTP requests and replies are encapsulated in UDP datagrams
  • 6. BOOTP Packet format • format of the 300-byte BOOTP request and reply
  • 7. • Opcode: is 1 for a request and 2 for a reply. • Hardware type field: is 1 for a 10 Mbits/sec Ethernet, the same value that is in the field of the same name in an ARP request or reply • Hop count: is set to 0 by the client, but can be used by a proxy server • transaction ID: is a 32-bit integer set by the client and returned by the server. This lets the client match a response with a request. The client should set this to a random number for each request. • Number of seconds: can be set by the client to the time since it started trying to bootstrap. The servers can look at this value, and perhaps a secondary server for a client won't respond until the number of seconds has exceeded some value, implying that the client's primary server is down. BOOTP Packet format
  • 8. • client IP Addr: If the client already knows its IP address, it fills in the client IP address. Otherwise, the client sets this to 0. • Your IP Addr: In the latter case the server fills in your IP address with the client's IP address. • Gateway IP Addr: The server IP address is filled in by the server. If a proxy server is used, that proxy server fills in its gateway IP address. • Client hardware addr: this is the same value as in the Ethernet header • Server hostname: is a null terminated string that is optionally filled in by the server. • boot filename: The server can also fill in the boot filename with the fully qualified, null terminated pathname of a file to bootstrap from. BOOTP Packet format
  • 9. Vendor-Specific Information • This area contains optional information for the server to return to the client. • The first 4 bytes of this area are set to the IP address 99.130.83.99. This is called the magic cookie and means there is information in the area. BOOTP Packet format
  • 10. DHCP: Dynamic Host Configuration Protocol • Dynamic Host Configuration Protocol (DHCP) is a client-server protocol that automatically assigns an Internet Protocol (IP) address to a device as well as other related configurations. • Every computer on a network must have an IP address to communicate with other devices. An IP address is an identifier for a computer or device on a network. • There are two ways an IP address is assigned to a computer – static and dynamic. • Static: A static IP is where a user assigns an IP address manually to a computer. However, this process is tedious and error-prone as it requires manual intervention every time a device joins the network.
  • 11. DHCP: Dynamic Host Configuration Protocol • A dynamic IP is where a computer receives an IP address from a DHCP server. Moreover, a DHCP server also assigns a device a subnet mask, default gateway, and the Domain Name System (DNS) server in addition.
  • 12. • The assignment between the DHCP client and server follows four steps, 1.Server Discovery: Once a device joins a network and requires an IP address, it broadcasts a message to the network asking for it. The DHCP server will process this request and all other devices in the network will ignore this message 2.DHCP Offer: The DHCP server looks for an available IP address from its pool of addresses and offers one to the requesting device 3.DHCP Request: The device responds to the DHCP server by confirming the provided IP address 4.Acknowledgment: The DHPC server provides the IP address, subnet mask, default gateway and the DNS server details to the device DHCP: Dynamic Host Configuration Protocol
  • 13. • The IP address information assigned by DHCP is only valid for a limited period of time and is known as a DHCP lease and the period of validity is called the DHCP Lease time. • When the lease expires, the client can no longer use the IP address and has to stop all communication with the IP network unless it requests to extend the lease via the DHCP lease renewal cycle. • To avoid impacts of the DHCP server not being available at the end of the lease time, clients generally start renewing their lease halfway through the lease period. This renewal process ensures robust IP address allocation to devices. DHCP: Dynamic Host Configuration Protocol
  • 14. Benefits of DHCP DHCP offers several benefits over static IP configuration: 1. Reliable IP address management: DHCP minimizes configuration errors caused by manual IP address configuration, such as typographical errors, or address conflicts caused by the assignment of an IP address to more than one computer at the same time Reduced Manual Intervention: 2. DHCP lets network administrators centralize and automate the IP address configuration process. DHCP lets efficient management of IP addresses. For example, if a device leaves the network or moves to a different location, the assigned IP address is removed and assigned to another device
  • 16. Domain Name System (DNS) • “When users type domain names into the URL bar in their browser, DNS servers are responsible for translating those domain names to numeric IP addresses, leading them to the correct website.” • DNS is a hostname for IP address translation service. DNS is a distributed database implemented in a hierarchy of name servers. It is an application layer protocol for message exchange between clients and servers. • Requirement: Every host is identified by the IP address but remembering numbers is very difficult for the people also the IP addresses are not static therefore a mapping is required to change the domain name to the IP address. So DNS is used to convert the domain name of the websites to their numerical IP
  • 17. Domain Name System (DNS) Domain: There are various kinds of DOMAIN: 1.Generic domain: .com(commercial) .edu(educational) .mil(military) .org(non profit organization) .net(similar to commercial) all these are generic domain. 2.Country domain .in (india) .us .uk 3.Inverse domain if we want to know what is the domain name of the website. Ip to domain name mapping. So DNS can provide both the mapping for example to find the IP addresses of geeksforgeeks.org then we have to type nslookup
  • 18. Organization of Domain: It is very difficult to find out the IP address associated to a website because there are millions of websites and with all those websites we should be able to generate the IP address immediately, there should not be a lot of delay for that to happen organization of database is very important. DNS record: Domain name, IP address what is the validity?? what is the time to live ?? and all the information related to that domain name. These records are stored in tree like structure. Namespace: Set of possible names, flat or hierarchical. The naming system maintains a collection of bindings of names to values – given a name, a resolution mechanism returns the corresponding value.
  • 19. Name Server The host requests the DNS name server to resolve the domain name. And the name server returns the IP address corresponding to that domain name to the host so that the host can future connect to that IP address. The client machine sends a request to the local name server, which , if root does not find the address in its database, sends a request to the root name server , which in turn, will route the query to an top-level domain (TLD) or authoritative name server.