I'm configuring a Windows Deployment Services 2008 server and it will also
house the DHCP role to be used. The servers who will be using this WDS
service reside on a couple different switches (trunked together), on
multiple VLANs, on multiple subnets.
My desire is that each server while PXE booting will receive a DHCP address
from a DHCP scope dedicated to the subnet it belongs to, which is defined by
what VLAN the switch port is on. They'll use this IP during deployment and
then we'll statically assign an IP when the deployment is complete.
My original thought was to place the NIC in the WDS server on a modified
trunk port allowing all required VLAN IDs for the servers to traverse it and
then find a way for DHCP to respond with a proper scope depending on which
VLAN the request came over. The more I look into it, the more this looks
like a horrible and difficult idea. :-)
Can some of you offer your opinion if a DHCP relay is instead a better
solution? How will the DHCP server know which scope to assign when receiving
the DHCPREQUEST message?