Keepalived & DHCP fail-over issues

Hi there,

I have keepalived running on 2 ipfire’s and the fail-over works fine.
Unfortunately, both dhcp servers keep responding to dhcp requests on their green0 IP addresses.
(They are also providing their green0 IP addresses in the DHCP responses instead of the virtual IP generated by keepalived. DHCP Option “DHCP Server Identifier”).

Master ipfire IP ends with .2 on green.
Backup ipfire IP ends with .3 on green
Virtual ipfire IP on green is .1
/etc/dhcpd.conf has option routers set to the .1 virtual IP, which gets ignored.

I have not been able to find a way to tell the dhcp processes to listen and respond on the .1 virtual interface instead of green0. This sesems to be the root cause.

Any idea?

Thanks in advance!