OPNsense Forum

Archive => 22.1 Legacy Series => Topic started by: loganx1121 on March 09, 2022, 01:15:35 AM

Title: Is there some issue with DHCP relay now?
Post by: loganx1121 on March 09, 2022, 01:15:35 AM
I just noticed this.  The DHCP relay just doesn't seem to work anymore.  I'm currently on version OPNsense 22.1.2_1.  I noticed in the logs the traffic was hitting the "Block bogon rule".  I've had that rule enabled on all the internal interfaces since forever, but ok, I unchecked the box.  Then I see traffic in the firewall log coming from 0.0.0.0 port 68 to 255.255.255.255 port 57 on UDP...DHCP broadcast.  There wasn't a specific rule for this.  I never needed a specific rule for this before, but ok, made some rules.

It still isn't working.  I have about 6 or 7 subnets that all rely on the relay and I've tested each one.  Nothing seems to be able to get an IP address all of a sudden.  I update the firewall to the above version because I saw there was an update and figured it couldn't hurt. 

I don't have a lot of "in and out" with devices in my house so it's possible this has been broken for week since I update to "watchful owl" or whatever it's called and I'm just noticing it now.  I see the relay is generating logs, and I did some pcaps on the FW interface and I see it doing "DHCP Request", but nothing will get an address.

Anyone have any ideas?  I've made no changes to the network at all aside from the firewall upgrades. 
Title: Re: Is there some issue with DHCP relay now?
Post by: TA_Soft on June 02, 2022, 01:56:47 PM
It may be that the relay is generally not working since the new update. Unfortunately, I have the same problem that the relay sends IP addresses only sporadically. One day later it doesn't do that anymore.

See here: https://forum.opnsense.org/index.php?topic=28592.msg138889#msg138889