Bug #4119
closedDisable DHCP server when interface is disabled / DHCP relay is checking for disabled interfaces
100%
Description
DHCP Relay will print the usual error about DHCP being enabled even when DHCP is not active, if there is a disabled or unassigned interface that had DHCP active before.
In addition to checking for the "enable" flag on DHCP settings, it should also check that the interface with DHCP "enabled" is itself enabled.
Easy to reproduce. Assign an OPT1 interface, enable and configure DHCP. Disable OPT1, then attempt to use DHCP Relay.
Updated by Renato Botelho almost 10 years ago
- Subject changed from DHCP relay check for DHCP server also checks disabled interfaces to Disable DHCP server when interface is disabled
- Status changed from New to Assigned
- Assignee set to Renato Botelho
The real issue here is DHCP server still starts after interface is disabled, even if you reboot the system service is started. Then what needs to be done is:
- Check if interface is enabled before start DHCP server
- Disable DHCP server when interface is disabled
Updated by Renato Botelho almost 10 years ago
- Subject changed from Disable DHCP server when interface is disabled to Disable DHCP server when interface is disabled / DHCP relay is checking for disabled interfaces
Original issue is also present
Updated by Renato Botelho almost 10 years ago
- Status changed from Assigned to Feedback
- % Done changed from 0 to 100
Applied in changeset 570066460e88a63d186e8892930927e6e9825fc4.
Updated by Renato Botelho almost 10 years ago
Applied in changeset aafa7657399edf835a28c106c37ac71cc9b24335.
Updated by Chris Buechler almost 10 years ago
- Status changed from Feedback to Resolved
- Affected Version changed from 2.2 to All
fixed