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

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 

Kürzlich hochgeladen (20)

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

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?