When a device boots in VLAN_20 the DHCP server in VLAN_10 gets the request and sends the offer correctly to 192.168.20.254 but it's not received by the device.
Why would the DHCP relay contact the server with a source address of .20.254 (VLAN 20)?
Why are you setting up a DHCP relay? It is solely for remote networks that the DHCP server cannot listen to via broadcast. I think you would have problems if your OpnSense can both listen to the boardcasts and still gets a routed DHCP request.With a "usual" setup, all you need is to enable ISC DHCP on every VLAN interface.
Yes. I understood that. You have a Windows DHCP server connected to one of your VLAN. However, normally, you would configure your switches to relay DHCP request to that. This is entirely done via routing.Normally, I would not expect to configure anything besides firewall rules and routes to access the DHCP server on the OpnSense. If your switches can relay,, that is.
DHCP relay is a function of a device capable L3. Basically your 1st device in the chain acting as a GW should be the Relay Gateway.Relay works in a way where the GW changes the source IP (either 0.0.0.0 on discovery or unique private address on re-release) for GIADDR, which is used by the DHCP server as destination. Relay GW is an intermediator, asking on behalf the Host and replying on behalf the DHCP server.I am currently running 24.1.6, my Relay config was migrated automatically from ISC to the new DHCPRelay implementation by OPNsense and its working.Can you check your DHCPrelay config? The old section under ISC should be gone and a new service TAB called DHCPRelay should be under Services, there should be the Relay config present.Regards,S.
As a data point it would help to know if this is is a version before 24.1.6 or if this started with 24.1.6. If we don't have these data points it's harder to narrow this down (even if it is just a configuration hiccup).Cheers,Franco