Bug #4119
closed
Disable DHCP server when interface is disabled / DHCP relay is checking for disabled interfaces
Added by Jim Pingle almost 10 years ago.
Updated almost 10 years ago.
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.
- 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
- 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
- Status changed from Assigned to Feedback
- % Done changed from 0 to 100
- Status changed from Feedback to Resolved
- Affected Version changed from 2.2 to All
Also available in: Atom
PDF