SlideShare a Scribd company logo
1 of 12
© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—4-1
LAN Connections
Using a Cisco
Router as a DHCP
Server
© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—4-2
Understanding DHCP
 DHCP is built on a client-server model, as follows:
– The DHCP server hosts allocate network addresses and deliver
configuration parameters.
– The term "client" refers to a host requesting initialization
parameters from a DHCP server.
 DHCP supports these three mechanisms for IP address allocation:
– Automatic allocation; DHCP assigns a permanent IP address to a
client.
– Dynamic allocation; DHCP assigns an IP address to a client for a
limited period of time.
– Manual allocation; A client IP address is assigned by the network
administrator, and DHCP is used simply to convey the assigned
address to the client.
 Dynamic allocation is the only that allows automatic reuse of an
address that is no longer needed by the client to which it was
assigned.
© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—4-3
DHCP
© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—4-4
Using a Router as a DHCP Server
Cisco IOS Software includes a full DHCP server
implementation:
 Assigns IP addresses from specified address pools within the
router
 Can be configured to assign the IP address of these components:
– Domain Name System (DNS) server
– Default router
© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—4-5
DHCP Server Using a Router
© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—4-6
Additional Tasks
© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—4-8
DHCP Pool
© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—4-10
Checking the DHCP Configuration
© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—4-12
DHCP Pool Status
© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—4-14
show ip dhcp conflict
RouterX# show ip dhcp conflict
IP address Detection Method Detection time
172.16.1.32 Ping Feb 16 2007 12:28 PM
172.16.1.64 Gratuitous ARP Feb 23 2007 08:12 AM
© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—4-15
Summary
 DHCP is built on a client-server model.
 DHCP server hosts allocate network addresses and deliver
configuration parameters.
 Cisco IOS Software includes a DHCP server.
 Cisco SDM can be used to configure a DHCP server on a router.
 The required configuration items are as follows:
– Pool name
– Pool network and subnet
– Starting and ending addresses
 Cisco SDM can be used to monitor a DHCP server on the router.
 The show ip dhcp conflict command can be used to find
conflicts.
© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—4-16

More Related Content

What's hot (20)

CCNA Icnd110 s05l05
CCNA Icnd110 s05l05CCNA Icnd110 s05l05
CCNA Icnd110 s05l05
 
Icnd210 s07l01
Icnd210 s07l01Icnd210 s07l01
Icnd210 s07l01
 
CCNA Icnd110 s06l01
 CCNA Icnd110 s06l01 CCNA Icnd110 s06l01
CCNA Icnd110 s06l01
 
Icnd210 s07l02
Icnd210 s07l02Icnd210 s07l02
Icnd210 s07l02
 
Icnd210 s07l03
Icnd210 s07l03Icnd210 s07l03
Icnd210 s07l03
 
CCNA Icnd110 s04l03
CCNA Icnd110 s04l03CCNA Icnd110 s04l03
CCNA Icnd110 s04l03
 
CCNA Icnd110 s04l01
CCNA Icnd110 s04l01CCNA Icnd110 s04l01
CCNA Icnd110 s04l01
 
Icnd210 s08l05
Icnd210 s08l05Icnd210 s08l05
Icnd210 s08l05
 
CCNA Icnd110 s01l07
CCNA Icnd110 s01l07CCNA Icnd110 s01l07
CCNA Icnd110 s01l07
 
Icnd210 s06l01
Icnd210 s06l01Icnd210 s06l01
Icnd210 s06l01
 
CCNA Icnd110 s02l04
CCNA Icnd110 s02l04CCNA Icnd110 s02l04
CCNA Icnd110 s02l04
 
CCNA Icnd110 s06l03
CCNA Icnd110 s06l03CCNA Icnd110 s06l03
CCNA Icnd110 s06l03
 
Icnd210 s04l01
Icnd210 s04l01Icnd210 s04l01
Icnd210 s04l01
 
Icnd210 s08l01
Icnd210 s08l01Icnd210 s08l01
Icnd210 s08l01
 
Icnd210 s04l02
Icnd210 s04l02Icnd210 s04l02
Icnd210 s04l02
 
CCNA icnd110 s03l03
CCNA icnd110 s03l03CCNA icnd110 s03l03
CCNA icnd110 s03l03
 
CCNA Icnd110 s04l04
CCNA Icnd110 s04l04CCNA Icnd110 s04l04
CCNA Icnd110 s04l04
 
CCNA Icnd110 cag
CCNA Icnd110 cagCCNA Icnd110 cag
CCNA Icnd110 cag
 
Icnd210 s02l03
Icnd210 s02l03Icnd210 s02l03
Icnd210 s02l03
 
CCNA Icnd110 s02l05
CCNA Icnd110 s02l05CCNA Icnd110 s02l05
CCNA Icnd110 s02l05
 

Viewers also liked

Tutorial on dhcp
Tutorial on dhcp Tutorial on dhcp
Tutorial on dhcp Salah Amean
 
CCNA 2 Routing and Switching v5.0 Chapter 10
CCNA 2 Routing and Switching v5.0 Chapter 10CCNA 2 Routing and Switching v5.0 Chapter 10
CCNA 2 Routing and Switching v5.0 Chapter 10Nil Menon
 
CCNAv5 - S3: Chapter 7 EIGRP
CCNAv5 - S3: Chapter 7 EIGRPCCNAv5 - S3: Chapter 7 EIGRP
CCNAv5 - S3: Chapter 7 EIGRPVuz Dở Hơi
 
Alphorm.com Support de la Formation Cisco CCNP SWITCH (examen 300-115)
Alphorm.com Support de la Formation Cisco CCNP SWITCH (examen 300-115)Alphorm.com Support de la Formation Cisco CCNP SWITCH (examen 300-115)
Alphorm.com Support de la Formation Cisco CCNP SWITCH (examen 300-115)Alphorm
 

Viewers also liked (6)

Linux05 DHCP Server
Linux05 DHCP ServerLinux05 DHCP Server
Linux05 DHCP Server
 
Tutorial on dhcp
Tutorial on dhcp Tutorial on dhcp
Tutorial on dhcp
 
Dhcp
DhcpDhcp
Dhcp
 
CCNA 2 Routing and Switching v5.0 Chapter 10
CCNA 2 Routing and Switching v5.0 Chapter 10CCNA 2 Routing and Switching v5.0 Chapter 10
CCNA 2 Routing and Switching v5.0 Chapter 10
 
CCNAv5 - S3: Chapter 7 EIGRP
CCNAv5 - S3: Chapter 7 EIGRPCCNAv5 - S3: Chapter 7 EIGRP
CCNAv5 - S3: Chapter 7 EIGRP
 
Alphorm.com Support de la Formation Cisco CCNP SWITCH (examen 300-115)
Alphorm.com Support de la Formation Cisco CCNP SWITCH (examen 300-115)Alphorm.com Support de la Formation Cisco CCNP SWITCH (examen 300-115)
Alphorm.com Support de la Formation Cisco CCNP SWITCH (examen 300-115)
 

Similar to CCNA Icnd110 s04l09

Configurar dhcp en router cisco
Configurar dhcp en router ciscoConfigurar dhcp en router cisco
Configurar dhcp en router ciscoGuiro Lin
 
Group-7-DHCPv4.pptx
Group-7-DHCPv4.pptxGroup-7-DHCPv4.pptx
Group-7-DHCPv4.pptxIvanTabanag1
 
DYNAMIC HOST CONFIGURATION PROTOCOL
DYNAMIC HOST CONFIGURATION PROTOCOLDYNAMIC HOST CONFIGURATION PROTOCOL
DYNAMIC HOST CONFIGURATION PROTOCOLVENKATESHAN A S
 
Dhcp server configuration
Dhcp server configurationDhcp server configuration
Dhcp server configurationUttamAgarwal9
 
DHCP in windows server 2012
DHCP in windows server 2012DHCP in windows server 2012
DHCP in windows server 2012Abaady Sahal
 
Networking DHCP server Setup Reports
Networking DHCP server Setup ReportsNetworking DHCP server Setup Reports
Networking DHCP server Setup ReportsJiaul Hasan Jony
 
dynamichost configuration protocol
dynamichost configuration protocoldynamichost configuration protocol
dynamichost configuration protocolrajisri2
 
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
 
Module (8) DHCP Server.pptx
Module (8) DHCP Server.pptxModule (8) DHCP Server.pptx
Module (8) DHCP Server.pptxGeorgeThoreJr
 
DHCP (dynamic host configuration protocol)
DHCP (dynamic host configuration protocol)DHCP (dynamic host configuration protocol)
DHCP (dynamic host configuration protocol)Netwax Lab
 
CCNAv5 - S2: Chapter10 DHCP
CCNAv5 - S2: Chapter10 DHCPCCNAv5 - S2: Chapter10 DHCP
CCNAv5 - S2: Chapter10 DHCPVuz Dở Hơi
 
Chapter 21 : DHCP
Chapter 21 : DHCPChapter 21 : DHCP
Chapter 21 : DHCPteknetir
 
Dynamic Host Configuration Protocol ( DHCP).pptx
Dynamic Host Configuration Protocol ( DHCP).pptxDynamic Host Configuration Protocol ( DHCP).pptx
Dynamic Host Configuration Protocol ( DHCP).pptxSYEDASGARAHMED1
 
Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...
Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...
Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...gogo6
 

Similar to CCNA Icnd110 s04l09 (20)

Configurar dhcp en router cisco
Configurar dhcp en router ciscoConfigurar dhcp en router cisco
Configurar dhcp en router cisco
 
Group-7-DHCPv4.pptx
Group-7-DHCPv4.pptxGroup-7-DHCPv4.pptx
Group-7-DHCPv4.pptx
 
Dhcp
DhcpDhcp
Dhcp
 
DYNAMIC HOST CONFIGURATION PROTOCOL
DYNAMIC HOST CONFIGURATION PROTOCOLDYNAMIC HOST CONFIGURATION PROTOCOL
DYNAMIC HOST CONFIGURATION PROTOCOL
 
14047721
1404772114047721
14047721
 
Dhcp server configuration
Dhcp server configurationDhcp server configuration
Dhcp server configuration
 
DHCP in windows server 2012
DHCP in windows server 2012DHCP in windows server 2012
DHCP in windows server 2012
 
Networking DHCP server Setup Reports
Networking DHCP server Setup ReportsNetworking DHCP server Setup Reports
Networking DHCP server Setup Reports
 
Dhcp
DhcpDhcp
Dhcp
 
dynamichost configuration protocol
dynamichost configuration protocoldynamichost configuration protocol
dynamichost configuration protocol
 
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
 
Module (8) DHCP Server.pptx
Module (8) DHCP Server.pptxModule (8) DHCP Server.pptx
Module (8) DHCP Server.pptx
 
Dhcp
DhcpDhcp
Dhcp
 
DHCP (dynamic host configuration protocol)
DHCP (dynamic host configuration protocol)DHCP (dynamic host configuration protocol)
DHCP (dynamic host configuration protocol)
 
Chapter 10 - DHCP
Chapter 10 - DHCPChapter 10 - DHCP
Chapter 10 - DHCP
 
CCNAv5 - S2: Chapter10 DHCP
CCNAv5 - S2: Chapter10 DHCPCCNAv5 - S2: Chapter10 DHCP
CCNAv5 - S2: Chapter10 DHCP
 
Chapter 21 : DHCP
Chapter 21 : DHCPChapter 21 : DHCP
Chapter 21 : DHCP
 
Dynamic Host Configuration Protocol ( DHCP).pptx
Dynamic Host Configuration Protocol ( DHCP).pptxDynamic Host Configuration Protocol ( DHCP).pptx
Dynamic Host Configuration Protocol ( DHCP).pptx
 
DHCP
DHCPDHCP
DHCP
 
Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...
Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...
Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...
 

More from computerlenguyen (20)

Icnd210 s08l04
Icnd210 s08l04Icnd210 s08l04
Icnd210 s08l04
 
Icnd210 s08l03
Icnd210 s08l03Icnd210 s08l03
Icnd210 s08l03
 
Icnd210 s08l02
Icnd210 s08l02Icnd210 s08l02
Icnd210 s08l02
 
Icnd210 s06l03
Icnd210 s06l03Icnd210 s06l03
Icnd210 s06l03
 
Icnd210 s06l02
Icnd210 s06l02Icnd210 s06l02
Icnd210 s06l02
 
Icnd210 s05l03
Icnd210 s05l03Icnd210 s05l03
Icnd210 s05l03
 
Icnd210 s05l02
Icnd210 s05l02Icnd210 s05l02
Icnd210 s05l02
 
Icnd210 s04l03
Icnd210 s04l03Icnd210 s04l03
Icnd210 s04l03
 
Icnd210 s03l03
Icnd210 s03l03Icnd210 s03l03
Icnd210 s03l03
 
Icnd210 s03l02
Icnd210 s03l02Icnd210 s03l02
Icnd210 s03l02
 
Icnd210 s03l01
Icnd210 s03l01Icnd210 s03l01
Icnd210 s03l01
 
Icnd210 s02l06
Icnd210 s02l06Icnd210 s02l06
Icnd210 s02l06
 
Icnd210 s02l05
Icnd210 s02l05Icnd210 s02l05
Icnd210 s02l05
 
Icnd210 s02l04
Icnd210 s02l04Icnd210 s02l04
Icnd210 s02l04
 
Icnd210 s02l02
Icnd210 s02l02Icnd210 s02l02
Icnd210 s02l02
 
Icnd210 s02l01
Icnd210 s02l01Icnd210 s02l01
Icnd210 s02l01
 
Icnd210 s01l02
Icnd210 s01l02Icnd210 s01l02
Icnd210 s01l02
 
Icnd210 s01l01
Icnd210 s01l01Icnd210 s01l01
Icnd210 s01l01
 
Icnd210 lg
Icnd210 lgIcnd210 lg
Icnd210 lg
 
Icnd210 cag
Icnd210 cagIcnd210 cag
Icnd210 cag
 

Recently uploaded

QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonhttgc7rh9c
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptNishitharanjan Rout
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsNbelano25
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111GangaMaiya1
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfNirmal Dwivedi
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17Celine George
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...EADTU
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfstareducators107
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Celine George
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 

Recently uploaded (20)

VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 

CCNA Icnd110 s04l09

  • 1. © 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—4-1 LAN Connections Using a Cisco Router as a DHCP Server
  • 2. © 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—4-2 Understanding DHCP  DHCP is built on a client-server model, as follows: – The DHCP server hosts allocate network addresses and deliver configuration parameters. – The term "client" refers to a host requesting initialization parameters from a DHCP server.  DHCP supports these three mechanisms for IP address allocation: – Automatic allocation; DHCP assigns a permanent IP address to a client. – Dynamic allocation; DHCP assigns an IP address to a client for a limited period of time. – Manual allocation; A client IP address is assigned by the network administrator, and DHCP is used simply to convey the assigned address to the client.  Dynamic allocation is the only that allows automatic reuse of an address that is no longer needed by the client to which it was assigned.
  • 3. © 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—4-3 DHCP
  • 4. © 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—4-4 Using a Router as a DHCP Server Cisco IOS Software includes a full DHCP server implementation:  Assigns IP addresses from specified address pools within the router  Can be configured to assign the IP address of these components: – Domain Name System (DNS) server – Default router
  • 5. © 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—4-5 DHCP Server Using a Router
  • 6. © 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—4-6 Additional Tasks
  • 7. © 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—4-8 DHCP Pool
  • 8. © 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—4-10 Checking the DHCP Configuration
  • 9. © 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—4-12 DHCP Pool Status
  • 10. © 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—4-14 show ip dhcp conflict RouterX# show ip dhcp conflict IP address Detection Method Detection time 172.16.1.32 Ping Feb 16 2007 12:28 PM 172.16.1.64 Gratuitous ARP Feb 23 2007 08:12 AM
  • 11. © 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—4-15 Summary  DHCP is built on a client-server model.  DHCP server hosts allocate network addresses and deliver configuration parameters.  Cisco IOS Software includes a DHCP server.  Cisco SDM can be used to configure a DHCP server on a router.  The required configuration items are as follows: – Pool name – Pool network and subnet – Starting and ending addresses  Cisco SDM can be used to monitor a DHCP server on the router.  The show ip dhcp conflict command can be used to find conflicts.
  • 12. © 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—4-16

Editor's Notes

  1. Tổng quan Ban đầu, người quản trị mạng sẽ cấu hình địa chỉ, giá trị default gateway, hay các thông số mạng khác cho các máy bằng tay. Tuy nhiên DHCP (Dynamic Host Configuration Protocol) sẽ cung cấp các thông số cấu hình cho các host trên Internet. DHCP bao gồm các hai thành phần sau: Giao thức để phân phát những thông số cụ thể cho từng host giữa DHCP server đến DHCP client Phương pháp để cấp phát địa chỉ mạng cho host Bài học sẽ mô tả cách sử dụng Cisco router như DHCP server Mục tiêu Cung cấp khả năng cấu hình Cisco router như một DHCP server sử dụng Cisco SDM qua các nhiệm vụ sau: Mô tả tính năng của DHCP Mô tả cách sử dụng router như một DHCP server Mô tả cách sử dụng Cisco SDM để kích hoạt chức năng DHCP server trên router Mô tả cách quan sát chức năng của DHCP server
  2. DHCP được xây dựng trên kiến trúc client và server. Host làm DHCP server sẽ cấp phát địa chỉ mạng và phân phát thông số cấu hình xuong các client. Khái ni65m client là những host yêu cầu những thông số ban đầu từ DHCP server. DHCP hỗ trợ ba phương pháp cấp phát địa chỉ Automatic allocation: DHCP gán một địa chỉ cố định cho client Dynamic allocation: DHCP gán một địa chỉ cho client để sử dụng trong một khoản thời gian nào đó Manual allocation: địa chỉ IP của client sẽ được gán bởi người quản trị, DHCP chỉ đơn giản được sử dụng để chở địa chỉ được phân định đến client Phương pháp dynamic allocation là phương pháp duy nhất cho phép sử dụng lại địa chỉ mà không còn được dùng bởi client nào đó nữa. Phương pháp này hiệu quả để gán địa chỉ cho những client chỉ kết nối vào hệ thống mạng tạm thời hay chia sẻ một pool địa chỉ hạn chế giữa các nhóm client không cần phải có địa chỉ có định.
  3. DHCPDISCOVER Khi một client bật lên lần đầu, no1 sẽ phát ra thông điệp DHCPDISCOVER trên subnet của mình. Bởi vì client không có cách nào biết được subnet nó thuộc về, do vậy DHCPDISCOVER là một all-subnet broadcast (IP đích là 255.255.255.255). Địa chỉ IP nguồn lúc này do chưa có se là 0.0.0.0 DHCPOFFER Một DHCP server nhận được thông điệp DHCPDISCOVER sẽ phản hồi với thông điệp DHCPOFFER chứa cấu hình ban đầu cho client. Ví dụ như địa chỉ IP yêu cầu. Sunet mask và default gateway được chỉ ra trong trường tùy chọn subnet mask, và trường tùy chọn router. Một số thông tin phổ biến khác trong thông điệp DHCP OFFER bao gồm thời gian thuê địa chỉ, thời gian thay mới địa chỉ, địa chỉ server tên miền và tên dịch vụ NetBIOS DHCPREQUEST Sau khi client nhận được thông điệp DHCPOFFER, nó sẽ phản hồi với thông điệp DHCPREQUEST chỉ ra rằng client dự định sử dụng các thông số trong thông điệp DHCPOFFER nhận được DHCPACK Sau khi DHCP server nhận được thông điệp DHCPREQUEST, nó sẽ phản hồi thông diệp này với thông điệp DHCPACK và hoàn thành thiến trình DHCP
  4. Cisco router với hệ điều hành Cisco IOS cung cấp đủ các tính năng giúp router trở thành một DHCP server. Server này có thể cung cấp và quản lý địa chỉ IP từ một pool địa chỉ cụ thể nào đó. Ta có thể cấu hình DHCP server để cung cấp thêm một vài thông số như địa chỉ của DNS server hay default router Cisco Router DHCP server cấp nhận những yêu cầu phân định và làm mới địa chỉ và gán địa chỉ từ những địa chỉ được định nghĩa sẵn trong một pool địa chỉ. Những pool địa chỉ này có thể được cấu hình để cung cấp thêm các thông tin mà client yêu cầu như địa chỉ IP của DNS server, default router, và các thông số khác. Cisco DHCP server có thể chấp nhận broadcast từ đoạn mạng LAN hay yêu cầu DHCP được chuyển tới từ DHCP relay agent
  5. Chủ đề này mô tả các sử dụng Cisco SDM để kích hoạt chức năng DHCP server trên router. Trong ví dụ này, ta kích hoạt DHCP server trên cổng địa chỉ 10.4.4.11/24 sử dụng pool địa chỉ từ 10.4.4.100 đến 10.4.4.200. Router này sẽ quản bá như là một default router (default gateway của các host)
  6. Chức năng cảu DHCP server được kích hoạt dưới thẻ Additional Task. Nhấp vào DHCP Pools trong thưc mục. Sau đó nhấp vào Add để tạo một pool địa chỉ mới
  7. Của sổ Add DHCP Pool cho phép ta cấu hình pool địa chỉ DHCP. Địa chỉ IP mà DHCP server gán sẽ được lấy từ pool địa chỉ được tạo ra bằng dãy địa chỉ bắt đầu và kết thúc. Cửa sổ này thể hiện các trường sau: DHCP Pool Name: chuỗi ký tự xác định DHCP pool DHCP Pool Network và Subnet Mask: Địa chỉ IP mà DHCP server cấp phát sẽ được lấy từ dãy địa chỉ này Những địa chỉ được chỉ ra nên nằm trong dãy địa chỉ riêng: - 10.0.0.0 đến 10.255.255.255 - 172.16.0.0 đến 172.31.255.255 - 192.168.0.0 đến 192.168.255.255 Dãy địa chỉ được chỉ ra phải nằm trong subent của cổng LAN. Dãy địa chỉ có thể có tối đa 254 địa chỉ. Những ví dụ sau đây là hợp lệ -10.1.1.1 đến 10.1.1.254 (giả sử địa chỉ mang LAN thuộc subnet 10.1.1.0) - 172.16.1.1 đến 172.16.1.254 (giả sử địa chỉ mang LAN thuộc subnet 172.16.1.0) Cisco SDM sẽ cấu hỉnh để router tự động trừ đi địa chỉ cổng LAN trong pool Không được sử dụng những địa chỉ để dành sau trong dãy địa chỉ - Địa chỉ Networl hoặc địa chỉ subnet - Địa chỉ broadcast Starting IP: Nhập vào địa chỉ IP bắt đầu của dãy địa chỉ, đây là địa chỉ nhỏ nhất trong dãy Ending IP: Nhập vào địa chỉ IP cuối của dãy địa chỉ, đây là địa chỉ lớn nhất trong dãy. Lease Length: Thời gian client sử dụng địa chỉ được phân định trước khi xin địa chỉ mới DHCP Options: Sử dụng ô này để cấu hình các tùy chọn DHCP sẽ được gởi đến các host trên LAN DNS Server1: Nhập vào địa chỉ của DNS server, đây là server có chức năng chuyển đổi tên miền thành địa chỉ IP DNS Server2: Nếu có thêm DNS server trên mạng ta có thể đưa thêm địa chỉ DNS server này vào đây Domain Name: Tên của miền hệ thống mạng WINS Server1: Một số client sẽ yêu cầu Microsoft WINS để kết nối vào các thiết bị trên Internet, dây chính là địa chỉ của WINS server WINS Server2: Địa chỉ thứ 2 của WINS server Default Router: Địa chỉ IP được cung cấp cho client sử dụng như default gateway Import All DHCP Options into the DHCP Server Database: Check box này cho phép cá tùy chọn DHCP sẽ được đưa vào từ server cấp cao hơn và hay được sử dụng trong kết nối với DHCP server trên Internet
  8. Ta có thể kiểm tra các thông số cấu hình DHCP từ thẻ DHCP pool Ta cũng có thể xem thêm một số thông tin cho những địa chỉ đang được dùng bằng cách nhấp vào DHCP Pool Status
  9. Cửa sổ DHCP Pool Status thể hiện danh sách các địa chỉ đang được sử dụng
  10. Để hiển thị những địa chỉ bị tranh chấp bởi DHCP server khi địa chỉ được cho các client, sử dụng câu lệnh show ip dhcp conflict. Server sẽ dùng ping để kiểm tra tranh chấp. Client sử dụng gratuituos ARP để phát hiện. Nếu quá trình tranh chấp địa chỉ được phát hiện, địa chỉ sẽ bị xóa khỏi pool và địa chỉ sẽ không được phân định cho đến khi người quản trị giải quyết vấn đề tranh chấp này Ví dụ sau hiển thị phương pháp và thời gian phát hiện cho tất cả các địa IP mang lại bởi DHCP server có tranh chấp với các thiết bị khác Router# show ip dhcp conflict IP address Detection Method Detection time 172.16.1.32 Ping Feb 16 1998 12:28 PM 172.16.1.64 Gratuitous ARP Feb 23 1998 08:12 AM Mô tả câu lệnh IP address Địa chỉ IP của những host được ghi lại trên DHCP serverThe Detection Method Cách mà địa chỉ của host được tìm thấy trên DHCP server, có thể là do ping hay gratuituos ARP Detection time Ngày giờ phát hiện tranh chấp