SlideShare a Scribd company logo
1 of 14
Lecture
1
 Each computer that uses the TCP/IP protocol
suite needs to know four pieces of
information:
◦ The IP address of the computer
◦ The subnet mask of the computer
◦ The IP address of a router
◦ The IP address of a name server
2
 Reverse Address Resolution Protocol (RARP)
◦ RARP was designed to provide the IP address for a
booted computer.
◦ Not used for two reasons:
1. RARP used the broadcast service of the data
2. RARP can provide only the IP address of the
computer link layer.
 Bootstrap Protocol (BootP)
◦ BOOTP is the prerunner of DHCP.
◦ It is a client/server protocol designed to overcome
the two deficiencies of the RARP protocol.
◦ BOOTP, however, is a static configuration protocol
3
 What if:
◦ A host moves from one physical network to another
◦ A host wants a temporary IP address to be used
for a period of time
 BOOTP cannot handle these situations
because the binding between the physical
and IP addresses is static and fixed in a table
until changed by the administrator.
4
 DHCP is a client/server protocol designed to
provide the four pieces of information for a
diskless computer or a computer that is
booted for the first time.
 DHCP is a successor to BOOTP and is
backward compatible with it.
 The DHCP client and server can either be on
the same network or on different networks.
5
6
7
8
 What if:
 A request is lost or damaged?
 What if the response is damaged?
 DHCP requires that UDP uses the checksum.
 The DHCP client uses timers and a
retransmission policy if it does not receive
the DHCP reply to a request.
9
10
 DHCP can also be configured on a router…
 To configure a DHCP server for your hosts, you need
the following information at minimum:
 Network and mask for each LAN All addresses in a
subnet can be leased to hosts by default.
 Reserved/excluded addresses Reserved addresses for
printers, servers, routers, and so on. These addresses
will not be handed out to hosts. The first address of
each subnet is usually reserved for the router, but you
don’t have to do this.
 Default router This is the router’s address for each LAN.
 DNS address A list of DNS server addresses provided to
hosts so they can resolve names.
1. Exclude the addresses you want to reserve. The
reason you do this step first is because as soon
as you set a network ID, the DHCP service will
start responding to client requests.
2. Create your pool for each LAN using a unique
name.
3. Choose the network ID and subnet mask for the
DHCP pool that the server will use to provide
addresses to hosts.
4. Add the address used for the default gateway of
the subnet.
5. Provide the DNS server address(es).
6. If you don’t want to use the default lease time of
24 hours, you need to set the lease time in days,
hours, and minutes
 Router(config)#ip dhcp excluded-address
192.168.10.1 192.168.10.10
 Router(config)#ip dhcp pool Sales_Wireless
 Router(dhcp-config)#network 192.168.10.0
255.255.255.0
 Router(dhcp-config)#default-router 192.168.10.1
 Router(dhcp-config)#dns-server 4.4.4.4
 Router(dhcp-config)#lease 3 12 15
 Router(config)#interface fa0/0
 Router(config-if)#ip helper-address 10.10.10.254

More Related Content

What's hot (20)

Bootp and dhcp
Bootp and dhcpBootp and dhcp
Bootp and dhcp
 
Dhcp presentation
Dhcp presentationDhcp presentation
Dhcp presentation
 
Arp
ArpArp
Arp
 
Ip and icmp
Ip and icmpIp and icmp
Ip and icmp
 
Dhcp
DhcpDhcp
Dhcp
 
Arpwatch
ArpwatchArpwatch
Arpwatch
 
Dhcp
DhcpDhcp
Dhcp
 
RARP, BOOTP, DHCP and PXE Protocols
RARP, BOOTP, DHCP and PXE ProtocolsRARP, BOOTP, DHCP and PXE Protocols
RARP, BOOTP, DHCP and PXE Protocols
 
Arp and rarp
Arp and rarpArp and rarp
Arp and rarp
 
Address resolution protocol
Address resolution protocolAddress resolution protocol
Address resolution protocol
 
6 understanding DHCP
6 understanding DHCP6 understanding DHCP
6 understanding DHCP
 
Arp
ArpArp
Arp
 
Icmp
IcmpIcmp
Icmp
 
Dhcp ppt
Dhcp pptDhcp ppt
Dhcp ppt
 
dynamic host configuration protocol
dynamic host configuration protocoldynamic host configuration protocol
dynamic host configuration protocol
 
Nnnnnn
NnnnnnNnnnnn
Nnnnnn
 
Arp spoofing
Arp spoofingArp spoofing
Arp spoofing
 
Dhcp confg
Dhcp confgDhcp confg
Dhcp confg
 
Wintel ppt for dhcp
Wintel ppt for dhcpWintel ppt for dhcp
Wintel ppt for dhcp
 
Lession4 Dhcp
Lession4 DhcpLession4 Dhcp
Lession4 Dhcp
 

Similar to Dhcp

DHCP (dynamic host configuration protocol)
DHCP (dynamic host configuration protocol)DHCP (dynamic host configuration protocol)
DHCP (dynamic host configuration protocol)Netwax Lab
 
Lesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol ALesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol AMahmmoud Mahdi
 
BOOTP and DHCP.ppt
BOOTP and DHCP.pptBOOTP and DHCP.ppt
BOOTP and DHCP.pptanik301
 
DHCP DNS P1 DHCP & Wireless Communication Methods Unicasting.pptx
DHCP DNS P1 DHCP & Wireless Communication Methods Unicasting.pptxDHCP DNS P1 DHCP & Wireless Communication Methods Unicasting.pptx
DHCP DNS P1 DHCP & Wireless Communication Methods Unicasting.pptxMUHAMMADATTAURREHMAN7
 
Meeting 7 : host configuration: dhcp
Meeting 7 : host configuration: dhcpMeeting 7 : host configuration: dhcp
Meeting 7 : host configuration: dhcpSyaiful Ahdan
 
DHCP Server & Client Presentation
DHCP Server & Client PresentationDHCP Server & Client Presentation
DHCP Server & Client Presentationraini
 
Dhcp presentation 01
Dhcp presentation 01Dhcp presentation 01
Dhcp presentation 01maverick4489
 
IP/MAC Address Translation
IP/MAC Address TranslationIP/MAC Address Translation
IP/MAC Address TranslationIsmail Mukiibi
 
Module (8) DHCP Server.pptx
Module (8) DHCP Server.pptxModule (8) DHCP Server.pptx
Module (8) DHCP Server.pptxGeorgeThoreJr
 

Similar to Dhcp (20)

IP Layer.pptx
IP Layer.pptxIP Layer.pptx
IP Layer.pptx
 
DHCP basics
DHCP basicsDHCP basics
DHCP basics
 
DHCP (dynamic host configuration protocol)
DHCP (dynamic host configuration protocol)DHCP (dynamic host configuration protocol)
DHCP (dynamic host configuration protocol)
 
unit 2
unit 2unit 2
unit 2
 
Linux05 DHCP Server
Linux05 DHCP ServerLinux05 DHCP Server
Linux05 DHCP Server
 
Dhcp
DhcpDhcp
Dhcp
 
Lesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol ALesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol A
 
zuiqui_DHC.ppt
zuiqui_DHC.pptzuiqui_DHC.ppt
zuiqui_DHC.ppt
 
BOOTP and DHCP.ppt
BOOTP and DHCP.pptBOOTP and DHCP.ppt
BOOTP and DHCP.ppt
 
Dhcp 11
Dhcp 11Dhcp 11
Dhcp 11
 
Configuration DHCP
Configuration DHCPConfiguration DHCP
Configuration DHCP
 
DHCP DNS P1 DHCP & Wireless Communication Methods Unicasting.pptx
DHCP DNS P1 DHCP & Wireless Communication Methods Unicasting.pptxDHCP DNS P1 DHCP & Wireless Communication Methods Unicasting.pptx
DHCP DNS P1 DHCP & Wireless Communication Methods Unicasting.pptx
 
DHCP.pptx
DHCP.pptxDHCP.pptx
DHCP.pptx
 
DHCP
DHCPDHCP
DHCP
 
Meeting 7 : host configuration: dhcp
Meeting 7 : host configuration: dhcpMeeting 7 : host configuration: dhcp
Meeting 7 : host configuration: dhcp
 
DHCP Server & Client Presentation
DHCP Server & Client PresentationDHCP Server & Client Presentation
DHCP Server & Client Presentation
 
Dhcp
DhcpDhcp
Dhcp
 
Dhcp presentation 01
Dhcp presentation 01Dhcp presentation 01
Dhcp presentation 01
 
IP/MAC Address Translation
IP/MAC Address TranslationIP/MAC Address Translation
IP/MAC Address Translation
 
Module (8) DHCP Server.pptx
Module (8) DHCP Server.pptxModule (8) DHCP Server.pptx
Module (8) DHCP Server.pptx
 

Recently uploaded

CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxabhijeetpadhi001
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 

Recently uploaded (20)

CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 

Dhcp

  • 2.  Each computer that uses the TCP/IP protocol suite needs to know four pieces of information: ◦ The IP address of the computer ◦ The subnet mask of the computer ◦ The IP address of a router ◦ The IP address of a name server 2
  • 3.  Reverse Address Resolution Protocol (RARP) ◦ RARP was designed to provide the IP address for a booted computer. ◦ Not used for two reasons: 1. RARP used the broadcast service of the data 2. RARP can provide only the IP address of the computer link layer.  Bootstrap Protocol (BootP) ◦ BOOTP is the prerunner of DHCP. ◦ It is a client/server protocol designed to overcome the two deficiencies of the RARP protocol. ◦ BOOTP, however, is a static configuration protocol 3
  • 4.  What if: ◦ A host moves from one physical network to another ◦ A host wants a temporary IP address to be used for a period of time  BOOTP cannot handle these situations because the binding between the physical and IP addresses is static and fixed in a table until changed by the administrator. 4
  • 5.  DHCP is a client/server protocol designed to provide the four pieces of information for a diskless computer or a computer that is booted for the first time.  DHCP is a successor to BOOTP and is backward compatible with it.  The DHCP client and server can either be on the same network or on different networks. 5
  • 6. 6
  • 7. 7
  • 8. 8
  • 9.  What if:  A request is lost or damaged?  What if the response is damaged?  DHCP requires that UDP uses the checksum.  The DHCP client uses timers and a retransmission policy if it does not receive the DHCP reply to a request. 9
  • 10. 10
  • 11.  DHCP can also be configured on a router…  To configure a DHCP server for your hosts, you need the following information at minimum:  Network and mask for each LAN All addresses in a subnet can be leased to hosts by default.  Reserved/excluded addresses Reserved addresses for printers, servers, routers, and so on. These addresses will not be handed out to hosts. The first address of each subnet is usually reserved for the router, but you don’t have to do this.  Default router This is the router’s address for each LAN.  DNS address A list of DNS server addresses provided to hosts so they can resolve names.
  • 12. 1. Exclude the addresses you want to reserve. The reason you do this step first is because as soon as you set a network ID, the DHCP service will start responding to client requests. 2. Create your pool for each LAN using a unique name. 3. Choose the network ID and subnet mask for the DHCP pool that the server will use to provide addresses to hosts. 4. Add the address used for the default gateway of the subnet. 5. Provide the DNS server address(es). 6. If you don’t want to use the default lease time of 24 hours, you need to set the lease time in days, hours, and minutes
  • 13.
  • 14.  Router(config)#ip dhcp excluded-address 192.168.10.1 192.168.10.10  Router(config)#ip dhcp pool Sales_Wireless  Router(dhcp-config)#network 192.168.10.0 255.255.255.0  Router(dhcp-config)#default-router 192.168.10.1  Router(dhcp-config)#dns-server 4.4.4.4  Router(dhcp-config)#lease 3 12 15  Router(config)#interface fa0/0  Router(config-if)#ip helper-address 10.10.10.254

Editor's Notes

  1. In this case, the operation can be described as follows: 1. The DHCP server issues a passive open command on UDP port number 67 and waits for a client. 2. A booted client issues an active open command on port number 68 The message is encapsulated in a UDP user datagram, using the destination port number 67 and the source port number 68. The UDP user datagram, in turn, is encapsulated in an IP datagram. The reader may ask how a client can send an IP datagram when it knows neither its own IP address (the source address) nor the server’s IP address (the destination address). The client uses all 0s as the source address and all 1s as the destination address. 3. The server responds with either a broadcast or a unicast message using UDP source port number 67 and destination port number 68. The response can be unicast because the server knows the IP address of the client. It also knows the physical address of the client, which means it does not need the services of ARP for logical to physical address mapping. However, some systems do not allow the bypassing of ARP, resulting in the use of the broadcast address.