As the question title states, I want to classify my clients based on the interface their requests are coming from. Can this be done with normal matching?
Or should I restrict the DHCP server to only one interface and have dhcrelay listening on the others?
I'm really not sure if this is possible since I don't have much experience with dhcpd configuration so any advice is appreciated.
The DHCP server has multiple virtual interfaces (i.e eth0.1, eth0.2, etc) each on a different VLAN. The client's requests arrive as unicast (through a dhcp relay) to each of those interfaces depending on the VLAN they're coming from.