12-28-2011 12:47 AM - edited 03-04-2019 02:45 PM
hi,
i want to configure the "ip helper-address" command on an interface vlan on the main switch, this command to work requires the "service dhcp" command to be enabled globaly on the switch. do you think configuring the "service dhcp" command alone globaly on the switch will it affect anything (because i dont use the dhcp)? as long as i didnt configure any dhcp server ip address or dhcp pool?
regards,
Solved! Go to Solution.
12-28-2011 02:29 AM
Hi Kishore,
You need the service dhcp enabled to do dhcp relay. Just try it with the service dhcp disabled and you'll see it won't work.
To the OP: no it won't have any effect except permitting you to function as a dhcp relay agent.
Regards.
Alain
12-28-2011 02:46 AM
Hi Kishore,
of course the default is service dhcp enabled so you don't have to explicitly activate it by default but if it was disabled then you would have to enable it back for the dhcp relay agent function to work.
Regards.
Alain
12-28-2011 01:37 AM
Hello,
"Service DHCP" is used when you configure DHCP server on the switch/router. You do not need it for "IP helper-address" configuration. "IP helper-address" is used in different contexts to convert regular broadcast traffic to directed
unicast.
HTH
Regards
Kishore
12-28-2011 02:29 AM
Hi Kishore,
You need the service dhcp enabled to do dhcp relay. Just try it with the service dhcp disabled and you'll see it won't work.
To the OP: no it won't have any effect except permitting you to function as a dhcp relay agent.
Regards.
Alain
12-28-2011 02:42 AM
Hi Alain,
Thanks for your input. However,I beg to differ here. I have configured heaps of switches and routers without the service dhcp and have configured "ip helper address" where by the switch acts as a relay agent and they work without any issues in production environment.
Of course I haven't tried to do a "no service dhcp"
If you want I can send in a config that is runnig live in our network for your kind review. What I am saying here is that you dont explicitly have to configure the service dhcp to run a switch or a router as a relay agent
HTH
Regards
Kishore
12-28-2011 02:46 AM
Hi Kishore,
of course the default is service dhcp enabled so you don't have to explicitly activate it by default but if it was disabled then you would have to enable it back for the dhcp relay agent function to work.
Regards.
Alain
12-28-2011 03:00 AM
you are right. I neva had to configure one for the box to act as a relay agent. Its on by default. Thanks for correcting me.
BTW, the CCNP logo is nice and shiny
12-28-2011 10:25 PM
Thank you kishore and cadet for your clarification.
regards,
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