01-16-2024 05:39 AM - last edited on 01-18-2024 01:10 AM by Translator
Hello , I need help to Change DHCP IP addresses range on my Cisco C1111 router,
DHCP IPs range already configured from
IP 192.168.1.2 to 192.168.1.254
I want to change that range to > from
IP 192.168.1.150 to 192.168.1.200
Could you help me. What is the command should i type in telnet connection to do this change in DHCP configuration?
Solved! Go to Solution.
01-16-2024 05:48 AM - last edited on 01-18-2024 01:03 AM by Translator
Use the following command....
ip dhcp excluded-address 10.1.1.1 10.1.1.50
10.1.1.0/24 used in the example above, this just depends on your defined network. This will exclude the range of the first address (10.1.1.1) to the second address in the command (10.1.1.50), so the above command prevents 1-50 from being assigned by DHCP.
HTH, please accept as solution if this helps.
01-16-2024 05:48 AM - last edited on 01-18-2024 01:03 AM by Translator
Use the following command....
ip dhcp excluded-address 10.1.1.1 10.1.1.50
10.1.1.0/24 used in the example above, this just depends on your defined network. This will exclude the range of the first address (10.1.1.1) to the second address in the command (10.1.1.50), so the above command prevents 1-50 from being assigned by DHCP.
HTH, please accept as solution if this helps.
01-16-2024 06:23 AM
I think you can that' you need to add secondary IP (in interface)
Then add secondary network under same dhcp pool.
Last exclude all primary IP from dhcp pool
If I have time I will lab and share result here
MHM
01-16-2024 08:43 AM
Hi @Mohamed246
check this lab how you can change DHCP network using the secondary network under dhcp pool
01-16-2024 09:08 AM - last edited on 01-18-2024 01:06 AM by Translator
Hello,
the easiest way to accomplish this is to just enter the two lines below in config mode:
C1111#conf t
C1111(config)#ip dhcp excluded-address 192.168.1.1 192.168.1.149
C1111(config)#ip dhcp excluded-address 192.168.1.201 192.168.1.254
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide