Selective forwarding with dhcrelay - PXE Master Server
Alex Burger
alex_b at users.sourceforge.net
Sat Oct 11 14:40:22 UTC 2008
Hi Chuck.
We're using Windows for DHCP and switching to ISC is not an option.
Windows supports classes, but I don't think it's possible to create a
subclass using MAC addresses. You can create a custom class and then
configure the client using ipconfig /setclassid but that's not a good
solution. Vendor classes to pick out HP thin clients may work but I
haven't tried it yet.
Alex
Chuck Anderson wrote:
> On Sat, Oct 11, 2008 at 09:09:29AM -0400, Alex Burger wrote:
>> I have created a patch for dhcrelay to allow you to specify which server
>> to forward to based on the MAC address of the requesting client. This
.
> We got this to work without hacking the relay. The trick is to relay
> all DHCP requests to a real DHCP server, and not any PXE servers.
> Then have the DHCP server hand out the PXE options to point the
> different clients to the different PXE servers for "stage 2" where
> they download their boot files.
>
> e.g. in dhcpd.conf:
>
> class "Class-Windows-Lab-PXE" {
> match hardware;
>
> filename "\\boot\\x86\\wdsnbp.com";
> next-server 10.1.2.3;
> }
>
> subclass "Class-Windows-Lab-PXE" 1:00:24:4F:C2:66:FE;
More information about the dhcp-users
mailing list