OPNsense Forum

Archive => 22.7 Legacy Series => Topic started by: ccy on December 23, 2022, 09:13:46 AM

Title: Updating members of bridge interface causing DHCP server fail to work
Post by: ccy on December 23, 2022, 09:13:46 AM
Hi,

I create a bridge with 2 members: OPT1 and OPT2.  I attach a static IPv4 address: 192.168.0.1/24 to the bridge interface.  I also enable the DHCP service for the bridge interface.  Now, hosts connected to opt1 or opt2 can get the IP address lease from the DHCP service.

If I add new member OPT3 to the bridge, I notice the DHCP service stop serving DHCP request although it still active.

I found an error log found in DHCP service: `receive_packet failed on bridge0: Device not configured`

If I restart the DHCP service manually, the DHCP server work as normal.
Title: Re: Updating members of bridge interface causing DHCP server fail to work
Post by: Patrick M. Hausen on December 23, 2022, 10:14:45 AM
The middleware has probably destroyed and recreated the bridge interface. I recommend a reboot after network topology changes.
Title: Re: Updating members of bridge interface causing DHCP server fail to work
Post by: ccy on December 23, 2022, 10:27:52 AM
Quote from: pmhausen on December 23, 2022, 10:14:45 AM
The middleware has probably destroyed and recreated the bridge interface. I recommend a reboot after network topology changes.

This should be the case.  But restart a router seems a bit over for this case.