Bug 12931

Summary: If I include "/var/ipfire/dhcp/dhcpd.conf.local" in /var/ipfire/dhcp/dhcpd.conf, DHCP stops working
Product: IPFire Reporter: R R <Reinoso>
Component: dhcpAssignee: Assigned to nobody - feel free to grab it and work on it <nobody>
Status: CLOSED NOTABUG QA Contact:
Severity: Minor Usability    
Priority: - Unknown - CC: michael.tremer
Version: 2   
Hardware: unspecified   
OS: Unspecified   

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.