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
If you have any syntax errors in your custom configuration file, you will find any messages about that in /var/log/messages.