Bug 12931 - If I include "/var/ipfire/dhcp/dhcpd.conf.local" in /var/ipfire/dhcp/dhcpd.conf, DHCP stops working
Summary: If I include "/var/ipfire/dhcp/dhcpd.conf.local" in /var/ipfire/dhcp/dhcpd.co...
Status: CLOSED NOTABUG
Alias: None
Product: IPFire
Classification: Unclassified
Component: dhcp (show other bugs)
Version: 2
Hardware: unspecified Unspecified
: - Unknown - Minor Usability
Assignee: Assigned to nobody - feel free to grab it and work on it
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-17 12:19 UTC by R R
Modified: 2022-09-19 07:22 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description R R 2022-09-17 12:19:39 UTC
When I use keepalived and want DHCP to work, in theory I could in /var/ipfire/dhcp/dhcpd.conf use

include "/var/ipfire/dhcp/dhcpd.conf.local";

And then in dhcpd.conf.local have something like

subnet 192.168.222.0 netmask 255.255.255.0 #GREEN
{
        option routers 192.168.222.254;
} #GREEN

But if I do that, DHCP stops working. 

See https://community.ipfire.org/t/keepalived-dhcp-fail-over-issues/6446
Comment 1 Michael Tremer 2022-09-19 07:22:52 UTC
If you have any syntax errors in your custom configuration file, you will find any messages about that in /var/log/messages.