05-15-2007 07:12 PM - edited 03-05-2019 04:05 PM
How do I disable DHCP?
05-15-2007 07:45 PM
Rod
I am not clear about what you are asking. Are you asking how to prevent the router from acting as a DHCP server (the easy answer is to configure no service dhcp, the more complex but better answer is to not configure any DHCP scopes on the router. Or are you asking how to prevent the router from forwarding any DHCP requests from the local LAN to a remote DHCP server (do not configure ip helper-address). Or are you asking how to create an access list that will deny inbound DHCP requests (deny udp host 0.0.0.0 host 255.255.255.255 eq bootps).
If you can clarify your question then perhaps we can provide the best answers.
HTH
Rick
05-15-2007 08:32 PM
Hi Rick,
Thanks for your qick response.
I am trying to set up MS Small Businss Server and use it as the DHCP server. Unfortunately I am not 100% sure of my needs either. I have done this before with a standard domestic router (Netgear or the like) and it was simply a matter of disabling DHCP.
Essentially I want the Server to assign IP's on the LAN.
So I think I want to "Configure No Service DHCP"
05-15-2007 10:15 PM
Hi
You can disable the DHCP service on a cisco router by giving the command "no service dhcp"
Regards
JD
05-15-2007 11:55 PM
Thanks heaps, we are getting there.
05-16-2007 04:26 AM
Rod
Just to clarify a bit: many routers (especially routers oriented to the home market such as Netgear or the like) enable DHCP by default and have DHCP pools configured so that they will assign addresses. Cisco IOS does not enable DHCP by default - though it may be that running SDM on the router will have DHCP. My suggestion is to look in the config of your router. If you find a DHCP pool configured then you would want to remove it.
HTH
Rick
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