I have spent hours trying to configure dhcrelay so I need some help. I am using Kea as my DHCP server and would like to forward dhcp requests to all the other vlans - 8 in all. Could someone point me to a tutorial (which I haven't been able to find) that will give me info on how this works.
Opnsense is connected to an L3 switch - the switch has dhcp relay set - I may be configuring DHCRelay incorrectly since I don't completely understand how it works. Thanks for your help.
~H
More information would be helpful.
The DHCP Relay/Helper on your switch is all you need to relay the network clients DHCP requests from your 8 VLAN's to your DHCP server.
There is no need to use DHCRelay in OPNsense so disable the destinations and relays you have configured. When you have it all working, remove these items from OPNsense.
On your switch, configure the DHCP server to relay to the IP address where Kea DHCP Server is listening, this may be your LAN interface.
There may be other options on your switch which need to be configured, e.g., DHCP Snooping and the Trusted DHCP server. Which switch are you using?
Kea will need to be enabled and configured for each of your 8 VLAN subnets - Kea DHCP Configuration in OPNsense (https://docs.opnsense.org/manual/kea.html). Under Subnets, you may need to disable Match client-id - keep this in mind if additional devices do not obtain an IP address.
I've not migrated to Kea yet. Someone else on the list may be able to better advise regarding its configuration in your situation.