1

I have come across an issue and I’m not sure on how to resolve. I’m trying to get the router to assign the PC’s within my network IP addresses. I have excluded the ones which i wish to not be used however it seems to allocate the wrong addresses.

For example, the network address is 10.10.10.0, the router is 10.10.10.1 and I wish to exclude addresses 10.10.10.1 to 10.10.10.10. So the first PC will be 10.10.10.11 however it provides the first PC with an IP address 10.0.0.1? I have included the coding as an image, please could someone advise?😩

Many thanks!

ip dhcp excluded-address 10.10.10.1 10.10.10.10 
ip dhcp pool MyCompany 
 network 10.10.10.0 255.0.0.0 
 default-router 10.10.10.1
  • Please edit your question to include the router configuration. Paste the text configuration into the question using the Preformatted-text feature ({}). – Ron Maupin Apr 23 at 14:56
  • ip dhcp excluded-address 10.10.10.1 10.10.10.10 ip dhcp pool MyCompany network 10.10.10.0 255.0.0.0 default-router 10.10.10.1 – Cisly Apr 23 at 15:00
  • Please, just copy the full router configuration, edit your question, and paste the configuration into the question using the {} button. – Ron Maupin Apr 23 at 15:12
4

Welcome to Network Engineering! The subnet mask in your network statement is incorrect.

It should be 255.255.255.0

  • Thank you! Sorry I am new to this. However now it begins the IP’s from 10.10.10.12 instead of 10.10.10.11. Is there any indication why this is? – Cisly Apr 23 at 15:48
3

Use "show ip dhcp binding" to see if the IP is still bound to a PC. I think its default to 24 hours. You might need to clear the binding to use the 10.10.10.11

  • Thank you for your help! It’s successfully working now. – Cisly Apr 23 at 17:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.