SlideShare a Scribd company logo
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 IP Layer.pptx

DHCP (dynamic host configuration protocol)
DHCP (dynamic host configuration protocol)DHCP (dynamic host configuration protocol)
DHCP (dynamic host configuration protocol)
Netwax Lab
 
DHCP
DHCPDHCP
DHCP basics
DHCP basicsDHCP basics
DHCP basics
Mansi Kansara
 
Dhcp
DhcpDhcp
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
Palanivel Kuppusamy
 
Linux05 DHCP Server
Linux05 DHCP ServerLinux05 DHCP Server
Linux05 DHCP Server
Jainul Musani
 
Networking DHCP server Setup Reports
Networking DHCP server Setup ReportsNetworking DHCP server Setup Reports
Networking DHCP server Setup Reports
Jiaul Hasan Jony
 
DHCP Protocol
DHCP ProtocolDHCP Protocol
DHCP Protocol
Mohammed Hisham
 
Dhcp server configuration
Dhcp server configurationDhcp server configuration
Dhcp server configuration
UttamAgarwal9
 
DHCP Server & Client Presentation
DHCP Server & Client PresentationDHCP Server & Client Presentation
DHCP Server & Client Presentation
raini
 
Customized Dynamic Host Configuration Protocol
Customized Dynamic Host Configuration ProtocolCustomized Dynamic Host Configuration Protocol
Customized Dynamic Host Configuration Protocol
IDES Editor
 
dynamichost configuration protocol
dynamichost configuration protocoldynamichost configuration protocol
dynamichost configuration protocol
rajisri2
 
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 Translation
Ismail Mukiibi
 
15 Application layer.pptx
15 Application layer.pptx15 Application layer.pptx
15 Application layer.pptx
MochamadSyaifulAnwar2
 
6 understanding DHCP
6 understanding DHCP6 understanding DHCP
6 understanding DHCP
Hameda Hurmat
 
Lecture 14
Lecture 14Lecture 14
Lecture 14
Anwal Mirza
 
Administration of DHCP Addressing
Administration of DHCP AddressingAdministration of DHCP Addressing
Administration of DHCP Addressing
paperpublications3
 
MVA slides lesson 6
MVA slides lesson 6MVA 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
suddenven
 

Similar to IP Layer.pptx (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

AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
BrazilAccount1
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
ongomchris
 

Recently uploaded (20)

AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
 

IP Layer.pptx

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