02-25-2009 08:12 AM - edited 03-04-2019 03:42 AM
We Have a dhcp pool configured in our core router...
with multiple subinterfaces configured on the ethernet interface for each diff. vlan
however our Windows team wants some
servers to go to a diff dhcp server via
the helper address
how could i configure this since the ip helper address is usually configured under the ethernet port that the switch is connected to?
for example here is a portion of our router config
p dhcp pool POB
network 10.1.12.0 255.255.254.0
default-router 10.1.12.1
dns-server 192.168.119.9.6
p dhcp pool C
network 10.1.14.0 255.255.254.0
default-router 10.1.14.1
dns-server 192.168.119.9
FastEthernet0/0.12 10.1.16.3 YES manual up up
FastEthernet0/0.14 10.1.18.3 YES manual up up
Solved! Go to Solution.
02-25-2009 09:27 AM
Should work fine as ip helper-address command can be configured under the subinterface as well as the interface level.
One other thing. Why are you using DHCP for servers ? is it for the management interface on the servers ?
Jon
02-25-2009 08:41 AM
I don't see how you can force (from the router side) clients to use one DHCP server over another.
When the client boots up, it broadcasts a DHCP request and the first DHCP server that replies will service that client.
Having the ip helper-address under the interface in addition to having a DHCP server local to that segment, adds complexity into the DHCP server selection.
I'm not well-versed on the DHCP server side of things but from what I understand, you can accomplish your design with having multiple Windows DHCP servers sharing a single DHCP database. I'm sure there are other DHCP servers that do the same but Cisco IOS DHCP Server isn't one of them.
HTH,
__
Edison.
02-25-2009 08:50 AM
Richard
I agree with Edison on this. Having multiple DHCP servers managed by different groups of people is a recipe for confusion. Technically, as Edison says, if you have a local DHCP server this will answer before any remote DHCP server so it would be very difficult if not impossible to do it.
If you have Windows Servers that can act as DHCP servers i would suggest migrating all DHCP responsibilities to those servers and let the router do what it does best ie. route packets across the network.
Jon
02-25-2009 09:04 AM
Great input..
Just as a guess..
If i configured an entirely new vlan
and subinterface ...
dedicated those server/switchports to that vlan
and configured the ip helper under
the new subinterface
would this still not work due to the broadcast issue?
02-25-2009 09:08 AM
If you aren't creating a DHCP scope in the router for that Vlan, then your plan may work.
__
Edison.
02-25-2009 09:36 AM
"The router running the DHCP server will be a candidate to reply on DHCP requests."
Im not sure about that. The router is doing inter-vlan routing (router on a stick), and each of those vlans is isolated from each other. Moreover, the DHCP pool that is configured on the router will respond to clients that sit on that vlan/subnet. The IOS DHCP server is not over-arching and does not respond to all requests on all subnets. This is why separate DHCP instances are configured on the route r-- one for eahc vlan.
So, given the question, it seems feasible (on paper, at least), that a new subinterface can be created on the router to support a separate vlan/subnet and have those clients broadcast their L2 DHCP Discovery packets, which can then be forwarded via a helper address.
As I said, it seems feasible on paper -- in theory, but this would have to be tested in a lab, of course.
Lastly, I do agree with both Jon and Edison that you should offload DHCP responsibilities to dedicated Windows/UNIX servers and leave the router to do what it does best.
Thanks
02-25-2009 09:27 AM
Should work fine as ip helper-address command can be configured under the subinterface as well as the interface level.
One other thing. Why are you using DHCP for servers ? is it for the management interface on the servers ?
Jon
02-25-2009 09:30 AM
This is a installation set up.
They are remotely going to install images
on the servers from from a remote location..
At least thats what they tell me
:-)
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