How to configure DHCP Service to provide IP addresses according to the vendor code returned from Custom Card Assembles (CCA)?
Issue
- There are two CCA (Custom Card Assembles), these two cards return the following HEX codes when the DHCP
DORAprocess (Discover, Offer, Request and Acknowlegdement) happens. - The Card will do the Discover process, the DHCP will reply back, while Discover process, it will send the HEX code (Vendor Identifier), and based on the Hex code, the DHCP server shall Offer the IP address.
- The two different card send the HEX codes like
04E006020or04E006030, and the requirement is if the HEX code is04E006020, it shall offer the IP address from Network say A (Here suppose 192.168.1.0/24) and if its04E006030, then IP offerred will be from Network B (Suppose 192.168.2.0/24) - How can I write the
/etc/dhcpd.conffile to achieve the same?
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.