cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
468
Views
1
Helpful
4
Replies

Change DHCP IP addresses range

Mohamed246
Level 1
Level 1

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?

1 Accepted Solution

Accepted Solutions

Richard Pidcock
Level 1
Level 1

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.

 

Richard W. Pidcock

View solution in original post

4 Replies 4

Richard Pidcock
Level 1
Level 1

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.

 

Richard W. Pidcock

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

Hi @Mohamed246 
check this lab how you can change DHCP network using the secondary network under dhcp pool 

Screenshot (678).pngScreenshot (679).png

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

 

Review Cisco Networking for a $25 gift card