[DHCP Relay agent] send packets to different dhcp servers based on client options

Alex Burger alex_b at users.sourceforge.net
Tue Oct 21 19:29:10 UTC 2014


Hi Stephan.

I wrote a patch for the DHCP Relay server back in 2008 that will send DHCP
requests to different servers based on the client MAC address.  I used it
to implement a 'Master PXE server' to direct different types of clients to
different PXE servers.  It may work for what you are trying to do, but it's
limited to a file containing MAC address to DHCP server mappings.

I haven't tried applying the patch to the latest release of ISC DHCP, but I
can try it later if you are interested.

http://www.fragit.net/dhcrelay.html

Alex


On 21 October 2014 06:52, Stephan Alz <stephan008 at gmx.com> wrote:

> Hello Folks,
>
> I looking for an opensource project (can be a modification of the original
> isc-relay agent), which able to send packets to different DHCP servers
> based on DHCP options such as:
> .
>


On 21 October 2014 06:52, Stephan Alz <stephan008 at gmx.com> wrote:

> Hello Folks,
>
> I looking for an opensource project (can be a modification of the original
> isc-relay agent), which able to send packets to different DHCP servers
> based on DHCP options such as:
>
> The Vendor Class Identifier (Option 60)
>
> Vendor Class Identifier (Option 60) can be used by DHCP clients to
> identify the vendor and functionality of a DHCP client. The information is
> a variable length string of characters or octets which has a meaning
> specified by the vendor of the DHCP client.
>
>
> If my vendor class identifier contains lets say:
>
>   "motorola.fw0512.5112" string, send it to DHCP server 1 on ip 192.168.1.1
>   "cisco.fw06411.111"    string, send it to DHCP server 2 on ip
> 172.16.15.44
>
> The existent relay agents (isc-relay, dhcp-helper) send a copy of all the
> dhcp servers of the dhcpdiscover message. This is definitely not what I
> want.
>
> Thanks!
> _______________________________________________
> dhcp-hackers mailing list
> dhcp-hackers at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-hackers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-hackers/attachments/20141021/41411f18/attachment.html>


More information about the dhcp-hackers mailing list