dhcp server's range

I searched the group but it seems I could not submit the correct keywords to find out the solution.

I am looking for the command that specifies the ip pool of the dhcp server, like from 192.168.250.100 to 192.168.250.111. These addresses may not on subnet boundaries. Is it possible ?

Thanks for your advice,

DT

Reply to
dt1649651
Loading thread data ...

You don't set the range. You specify a network and then exclude ranges of addresses. Seems kind of backwards, but it is what it is.

ip dhcp excluded-address 192.168.250.1 192.168.250.99 ip dhcp excluded-address 192.168.250.112 192.168.250.254

ip dhcp pool MyPool network 192.168.250.0 255.255.255.0

Or something like that.

Reply to
Scooby

:> I am looking for the command that specifies the ip pool of the dhcp :> server, like from 192.168.250.100 to 192.168.250.111.

:ip dhcp excluded-address 192.168.250.1 192.168.250.99 :ip dhcp pool MyPool : network 192.168.250.0 255.255.255.0

dt1649651 -- what platform, what software version?

On the PIX, you would just use

ip local pool MyPool 192.168.250.100-192.168.250.111

Reply to
Walter Roberson

addresses

Thank you. I just did that. The command "show ip dhcp pool" still shows the index starting with 1, which I already exclude, but I guess it will be excluded , right ?

( The router is remote, so I can not test it now ).

Thanks again.

DT

Reply to
dt1649651

'show ip dhcp pool' does not indicate excluded addresses. I agree it should, but it doesn't. Try 'show ip dhcp bind', which will show what addresses are currently allocated. At least that way, you will see if it is giving out the right addresses. Also, with the 'show ip dhcp pool' look at the current index, which will show the next address to be handed out.

Jim

Reply to
Scooby

Sorry. It is the 1760 with 12.2(7r)XM2.

Thanks,

DT

Reply to
dt1649651

correct

Jim,

I have ip dhcp excluded-address 192.168.248.1 192.168.248.99 and sh ip dhcp pool shows Current Index = 192.168.248.1 and the range is from .1 to .254.

This router is to replace the current router. I have to wait until the evening to turn the interfaces on to check if it will skips the excluded range. But I am sure it will.

Thanks,

DT

Reply to
dt1649651

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.