How to configure DHCP Service to provide IP addresses according to the vendor code returned from Custom Card Assembles (CCA)?

Solution Verified - Updated -

Issue

  • There are two CCA (Custom Card Assembles), these two cards return the following HEX codes when the DHCP DORA process (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 04E006020 or 04E006030, and the requirement is if the HEX code is 04E006020, it shall offer the IP address from Network say A (Here suppose 192.168.1.0/24) and if its 04E006030, then IP offerred will be from Network B (Suppose 192.168.2.0/24)
  • How can I write the /etc/dhcpd.conf file 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content