SlideShare ist ein Scribd-Unternehmen logo
1 von 5
http://blog.router-switch.com/



         Troubleshooting DHCP Problems
One of the most important services that run on an organization’s network is the
DHCP server. Without a correctly configured DHCP server to supply the address and
server information to be used on each of the client devices, users are left without a
usable network computer. If this happens the administrator only has a few options:
get the server back up and running correctly or statically configure each of the client
devices; the latter not being preferred. This article takes a look at a number of the
common DHCP problems and their symptoms from the perspective of the network
administrator and the DHCP server (being run on a Cisco device).

Common DHCP Configuration Problems
There are a couple common configuration problems that can make the life of a
network administrator quite challenging, these include:
      Server not giving out addresses
      Clients receiving addresses already statically assigned to servers or reserved
      devices
      Clients unable to reach external networks (off subnet)
      Clients unable to use the Internet with domain names
      Clients not receiving domain name suffix

Server Not Giving out Addresses
There are a couple of reasons that a server (In this case the Cisco device) will not give
out addresses. The most obvious of these is that the server is not configured. On a
Cisco DHCP device, this can be verified by viewing the current DHCP pool
configuration using the show ipdhcp pool command; this is shown in Figure 1.




Figure 1 - No DHCP Pool Configured
http://blog.router-switch.com/


The second reason is that the DHCP pool configured does not match any of the
interfaces that are currently configured on the Cisco device. An example of this is
shown in Figure 2. In this example, R1 only has a single interface (f0/0) that is
configured with an IP address of 10.10.10.1/24 and a single DHCP pool that is
configured to give out the addresses from the 20.20.20.0/24 network.




Figure 2 - No Matching Interface

Clients Receiving Addresses Already Statically Assigned to Servers or Reserved
Devices
A common mistake that happens when configuring a Cisco device as a DHCP server is
the failure to reserve addresses that are already in use (including the device itself).
By default, when configuring a DHCP pool the whole range of addresses are eligible
for lease. Figure 3 shows an example of this misconfiguration. In this example, the
address 10.10.10.2/24 has already been statically configured on a local server.
http://blog.router-switch.com/


Figure 3 - DHCP Excluded Address Misconfiguration

Keep in mind, however, that by default the Cisco DHCP server will attempt to ping
the next IP address in the pool to ensure the IP address is not currently being used.
The example shown in Figure 3 is only possible if the local server was not on when
the address was requested or did not respond to the ping request from the DHCP
Server.

Clients Unable to Reach External Networks (off subnet)
Another common mistake happens when a DHCP server has been configured but
clients are unable to reach networks outside the local subnet. When setting up a
configuration for client devices that will need to reach clients external to the local
subnets (almost all modern clients), a default gateway must be set up inside the
DHCP configuration. On a Cisco device, the configuration of the default gateway
inside a DHCP pool is done with the default-routercommand. The example in Figure
4 shows a DHCP pool configuration with a default gateway.




Figure 4 - IP DHCP Server Default Gateway Configuration

Clients Unable to Use the Internet with Domain Names
Typically, incorrect configuration of either the default gateway or the inability to use
the Internet using Domain Names are grouped into the same problem category. For
users to be able to use the Internet using domain names, a Domain Name Server
(DNS) server (or servers) must be configured on their local machines. It is possible to
configure these separately from the IP addressing, but in most typical configurations
the DNS server (or servers) is configured as part of the DHCP pool. On a Cisco device,
the configuration of a DNS server (or servers) is done with the dns-server command.
The example in Figure 5 shows a DHCP pool configuration with DNS servers
configured.
http://blog.router-switch.com/




Figure 5 – IP DHCP Server DNS Configuration

Clients Not Receiving Domain Name Suffix
An often overlooked function of a DHCP server is that is can also give out a domain
name suffix. If the organizational network relies on both DHCP and DNS, users can
become accustom to using single name domain names for local servers; for example
marketing (for marketing.sample.com). Without a correctly configured domain name
suffix, the users would need to type out the complete domain name (including
sample.com); depending on the temperament of the users inside the organization
this can become a problem. On a Cisco device, the configuration of a domain name
suffix is done with the domain-name command. The example in Figure 6 shows a
configuration for a domain name suffix.




Figure 6 - IP DHCP Server Domain Name Suffix Configuration
http://blog.router-switch.com/


Summary
There are certainly a number of advantages of using DHCP inside an organization; for
the most part once DHCP is up and running within an organization it is rock solid and
performs very well. However, if the configuration is not quite correct many different
DHCP problems can occur as a result. Proper configuration is a must to avoid these
DHCP problems, but the real focus of this article is for those situations when the
configuration has already been completed and issues are being troubleshooted.
Hopefully, the information contained with this article will be able to be practically
used to help fix these common misconfigurations.

More DHCP Info:
DHCP & DHCP Operation
How to Configure DHCP on a Cisco Router or Cisco Switch?
Tutorial: How to Add a DHCP Range to a Cisco 3750 Switch?

Weitere ähnliche Inhalte

Mehr von IT Tech

Cisco catalyst 9200 series platform spec, licenses, transition guide
Cisco catalyst 9200 series platform spec, licenses, transition guideCisco catalyst 9200 series platform spec, licenses, transition guide
Cisco catalyst 9200 series platform spec, licenses, transition guideIT Tech
 
Cisco isr 900 series highlights, platform specs, licenses, transition guide
Cisco isr 900 series highlights, platform specs, licenses, transition guideCisco isr 900 series highlights, platform specs, licenses, transition guide
Cisco isr 900 series highlights, platform specs, licenses, transition guideIT Tech
 
Hpe pro liant gen9 to gen10 server transition guide
Hpe pro liant gen9 to gen10 server transition guideHpe pro liant gen9 to gen10 server transition guide
Hpe pro liant gen9 to gen10 server transition guideIT Tech
 
The new cisco isr 4461 faq
The new cisco isr 4461 faqThe new cisco isr 4461 faq
The new cisco isr 4461 faqIT Tech
 
New nexus 400 gigabit ethernet (400 g) switches
New nexus 400 gigabit ethernet (400 g) switchesNew nexus 400 gigabit ethernet (400 g) switches
New nexus 400 gigabit ethernet (400 g) switchesIT Tech
 
Tested cisco isr 1100 delivers the richest set of wi-fi features
Tested cisco isr 1100 delivers the richest set of wi-fi featuresTested cisco isr 1100 delivers the richest set of wi-fi features
Tested cisco isr 1100 delivers the richest set of wi-fi featuresIT Tech
 
Aruba campus and branch switching solution
Aruba campus and branch switching solutionAruba campus and branch switching solution
Aruba campus and branch switching solutionIT Tech
 
Cisco transceiver module for compatible catalyst switches
Cisco transceiver module for compatible catalyst switchesCisco transceiver module for compatible catalyst switches
Cisco transceiver module for compatible catalyst switchesIT Tech
 
Cisco ios on cisco catalyst switches
Cisco ios on cisco catalyst switchesCisco ios on cisco catalyst switches
Cisco ios on cisco catalyst switchesIT Tech
 
Cisco's wireless solutions deployment modes
Cisco's wireless solutions deployment modesCisco's wireless solutions deployment modes
Cisco's wireless solutions deployment modesIT Tech
 
Competitive switching comparison cisco vs. hpe aruba vs. huawei vs. dell
Competitive switching comparison cisco vs. hpe aruba vs. huawei vs. dellCompetitive switching comparison cisco vs. hpe aruba vs. huawei vs. dell
Competitive switching comparison cisco vs. hpe aruba vs. huawei vs. dellIT Tech
 
Four reasons to consider the all in-one isr 1000
Four reasons to consider the all in-one isr 1000Four reasons to consider the all in-one isr 1000
Four reasons to consider the all in-one isr 1000IT Tech
 
The difference between yellow and white labeled ports on a nexus 2300 series fex
The difference between yellow and white labeled ports on a nexus 2300 series fexThe difference between yellow and white labeled ports on a nexus 2300 series fex
The difference between yellow and white labeled ports on a nexus 2300 series fexIT Tech
 
Cisco transceiver modules for compatible cisco switches series
Cisco transceiver modules for compatible cisco switches seriesCisco transceiver modules for compatible cisco switches series
Cisco transceiver modules for compatible cisco switches seriesIT Tech
 
Guide to the new cisco firepower 2100 series
Guide to the new cisco firepower 2100 seriesGuide to the new cisco firepower 2100 series
Guide to the new cisco firepower 2100 seriesIT Tech
 
892 f sfp configuration example
892 f sfp configuration example892 f sfp configuration example
892 f sfp configuration exampleIT Tech
 
Cisco nexus 7000 and nexus 7700
Cisco nexus 7000 and nexus 7700Cisco nexus 7000 and nexus 7700
Cisco nexus 7000 and nexus 7700IT Tech
 
Cisco firepower ngips series migration options
Cisco firepower ngips series migration optionsCisco firepower ngips series migration options
Cisco firepower ngips series migration optionsIT Tech
 
Eol transceiver to replacement model
Eol transceiver to replacement modelEol transceiver to replacement model
Eol transceiver to replacement modelIT Tech
 
Cisco firepower 2100 series, as a ngfw or a ngips
Cisco firepower 2100 series, as a ngfw or a ngipsCisco firepower 2100 series, as a ngfw or a ngips
Cisco firepower 2100 series, as a ngfw or a ngipsIT Tech
 

Mehr von IT Tech (20)

Cisco catalyst 9200 series platform spec, licenses, transition guide
Cisco catalyst 9200 series platform spec, licenses, transition guideCisco catalyst 9200 series platform spec, licenses, transition guide
Cisco catalyst 9200 series platform spec, licenses, transition guide
 
Cisco isr 900 series highlights, platform specs, licenses, transition guide
Cisco isr 900 series highlights, platform specs, licenses, transition guideCisco isr 900 series highlights, platform specs, licenses, transition guide
Cisco isr 900 series highlights, platform specs, licenses, transition guide
 
Hpe pro liant gen9 to gen10 server transition guide
Hpe pro liant gen9 to gen10 server transition guideHpe pro liant gen9 to gen10 server transition guide
Hpe pro liant gen9 to gen10 server transition guide
 
The new cisco isr 4461 faq
The new cisco isr 4461 faqThe new cisco isr 4461 faq
The new cisco isr 4461 faq
 
New nexus 400 gigabit ethernet (400 g) switches
New nexus 400 gigabit ethernet (400 g) switchesNew nexus 400 gigabit ethernet (400 g) switches
New nexus 400 gigabit ethernet (400 g) switches
 
Tested cisco isr 1100 delivers the richest set of wi-fi features
Tested cisco isr 1100 delivers the richest set of wi-fi featuresTested cisco isr 1100 delivers the richest set of wi-fi features
Tested cisco isr 1100 delivers the richest set of wi-fi features
 
Aruba campus and branch switching solution
Aruba campus and branch switching solutionAruba campus and branch switching solution
Aruba campus and branch switching solution
 
Cisco transceiver module for compatible catalyst switches
Cisco transceiver module for compatible catalyst switchesCisco transceiver module for compatible catalyst switches
Cisco transceiver module for compatible catalyst switches
 
Cisco ios on cisco catalyst switches
Cisco ios on cisco catalyst switchesCisco ios on cisco catalyst switches
Cisco ios on cisco catalyst switches
 
Cisco's wireless solutions deployment modes
Cisco's wireless solutions deployment modesCisco's wireless solutions deployment modes
Cisco's wireless solutions deployment modes
 
Competitive switching comparison cisco vs. hpe aruba vs. huawei vs. dell
Competitive switching comparison cisco vs. hpe aruba vs. huawei vs. dellCompetitive switching comparison cisco vs. hpe aruba vs. huawei vs. dell
Competitive switching comparison cisco vs. hpe aruba vs. huawei vs. dell
 
Four reasons to consider the all in-one isr 1000
Four reasons to consider the all in-one isr 1000Four reasons to consider the all in-one isr 1000
Four reasons to consider the all in-one isr 1000
 
The difference between yellow and white labeled ports on a nexus 2300 series fex
The difference between yellow and white labeled ports on a nexus 2300 series fexThe difference between yellow and white labeled ports on a nexus 2300 series fex
The difference between yellow and white labeled ports on a nexus 2300 series fex
 
Cisco transceiver modules for compatible cisco switches series
Cisco transceiver modules for compatible cisco switches seriesCisco transceiver modules for compatible cisco switches series
Cisco transceiver modules for compatible cisco switches series
 
Guide to the new cisco firepower 2100 series
Guide to the new cisco firepower 2100 seriesGuide to the new cisco firepower 2100 series
Guide to the new cisco firepower 2100 series
 
892 f sfp configuration example
892 f sfp configuration example892 f sfp configuration example
892 f sfp configuration example
 
Cisco nexus 7000 and nexus 7700
Cisco nexus 7000 and nexus 7700Cisco nexus 7000 and nexus 7700
Cisco nexus 7000 and nexus 7700
 
Cisco firepower ngips series migration options
Cisco firepower ngips series migration optionsCisco firepower ngips series migration options
Cisco firepower ngips series migration options
 
Eol transceiver to replacement model
Eol transceiver to replacement modelEol transceiver to replacement model
Eol transceiver to replacement model
 
Cisco firepower 2100 series, as a ngfw or a ngips
Cisco firepower 2100 series, as a ngfw or a ngipsCisco firepower 2100 series, as a ngfw or a ngips
Cisco firepower 2100 series, as a ngfw or a ngips
 

Kürzlich hochgeladen

My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 

Kürzlich hochgeladen (20)

My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 

Troubleshooting dhcp problems

  • 1. http://blog.router-switch.com/ Troubleshooting DHCP Problems One of the most important services that run on an organization’s network is the DHCP server. Without a correctly configured DHCP server to supply the address and server information to be used on each of the client devices, users are left without a usable network computer. If this happens the administrator only has a few options: get the server back up and running correctly or statically configure each of the client devices; the latter not being preferred. This article takes a look at a number of the common DHCP problems and their symptoms from the perspective of the network administrator and the DHCP server (being run on a Cisco device). Common DHCP Configuration Problems There are a couple common configuration problems that can make the life of a network administrator quite challenging, these include: Server not giving out addresses Clients receiving addresses already statically assigned to servers or reserved devices Clients unable to reach external networks (off subnet) Clients unable to use the Internet with domain names Clients not receiving domain name suffix Server Not Giving out Addresses There are a couple of reasons that a server (In this case the Cisco device) will not give out addresses. The most obvious of these is that the server is not configured. On a Cisco DHCP device, this can be verified by viewing the current DHCP pool configuration using the show ipdhcp pool command; this is shown in Figure 1. Figure 1 - No DHCP Pool Configured
  • 2. http://blog.router-switch.com/ The second reason is that the DHCP pool configured does not match any of the interfaces that are currently configured on the Cisco device. An example of this is shown in Figure 2. In this example, R1 only has a single interface (f0/0) that is configured with an IP address of 10.10.10.1/24 and a single DHCP pool that is configured to give out the addresses from the 20.20.20.0/24 network. Figure 2 - No Matching Interface Clients Receiving Addresses Already Statically Assigned to Servers or Reserved Devices A common mistake that happens when configuring a Cisco device as a DHCP server is the failure to reserve addresses that are already in use (including the device itself). By default, when configuring a DHCP pool the whole range of addresses are eligible for lease. Figure 3 shows an example of this misconfiguration. In this example, the address 10.10.10.2/24 has already been statically configured on a local server.
  • 3. http://blog.router-switch.com/ Figure 3 - DHCP Excluded Address Misconfiguration Keep in mind, however, that by default the Cisco DHCP server will attempt to ping the next IP address in the pool to ensure the IP address is not currently being used. The example shown in Figure 3 is only possible if the local server was not on when the address was requested or did not respond to the ping request from the DHCP Server. Clients Unable to Reach External Networks (off subnet) Another common mistake happens when a DHCP server has been configured but clients are unable to reach networks outside the local subnet. When setting up a configuration for client devices that will need to reach clients external to the local subnets (almost all modern clients), a default gateway must be set up inside the DHCP configuration. On a Cisco device, the configuration of the default gateway inside a DHCP pool is done with the default-routercommand. The example in Figure 4 shows a DHCP pool configuration with a default gateway. Figure 4 - IP DHCP Server Default Gateway Configuration Clients Unable to Use the Internet with Domain Names Typically, incorrect configuration of either the default gateway or the inability to use the Internet using Domain Names are grouped into the same problem category. For users to be able to use the Internet using domain names, a Domain Name Server (DNS) server (or servers) must be configured on their local machines. It is possible to configure these separately from the IP addressing, but in most typical configurations the DNS server (or servers) is configured as part of the DHCP pool. On a Cisco device, the configuration of a DNS server (or servers) is done with the dns-server command. The example in Figure 5 shows a DHCP pool configuration with DNS servers configured.
  • 4. http://blog.router-switch.com/ Figure 5 – IP DHCP Server DNS Configuration Clients Not Receiving Domain Name Suffix An often overlooked function of a DHCP server is that is can also give out a domain name suffix. If the organizational network relies on both DHCP and DNS, users can become accustom to using single name domain names for local servers; for example marketing (for marketing.sample.com). Without a correctly configured domain name suffix, the users would need to type out the complete domain name (including sample.com); depending on the temperament of the users inside the organization this can become a problem. On a Cisco device, the configuration of a domain name suffix is done with the domain-name command. The example in Figure 6 shows a configuration for a domain name suffix. Figure 6 - IP DHCP Server Domain Name Suffix Configuration
  • 5. http://blog.router-switch.com/ Summary There are certainly a number of advantages of using DHCP inside an organization; for the most part once DHCP is up and running within an organization it is rock solid and performs very well. However, if the configuration is not quite correct many different DHCP problems can occur as a result. Proper configuration is a must to avoid these DHCP problems, but the real focus of this article is for those situations when the configuration has already been completed and issues are being troubleshooted. Hopefully, the information contained with this article will be able to be practically used to help fix these common misconfigurations. More DHCP Info: DHCP & DHCP Operation How to Configure DHCP on a Cisco Router or Cisco Switch? Tutorial: How to Add a DHCP Range to a Cisco 3750 Switch?