I'd like to use keepalived to set up high-availability with my Pi-hole instances. The primary is the TrueCharts Pi-hole app on my TrueNAS Scale box (192.168.0.100), and the backup is a Raspberry Pi (192.168.0.98). I've managed to get keepalived to behave and create a virtual interface and IP (en4sp0:0, 192.168.0.10) that Pi-hole would eventually use. However, I can't seem to get the Pi-hole app to make use of this virtual IP.
I know that the virtual IP is functioning, as it appears in
Seems like the "fix" I'm looking for would be to get that virtual interface to show up in the Network Interfaces, and then choose it as the external interface for the Pi-hole app to use, but I'm not sure how to do that. Has anyone had good results in addressing this kindof thing, or working with keepalived/VRRP in general with TrueNAS Apps?
I know that the virtual IP is functioning, as it appears in
ifconfig
properly, and I can also access the TrueNAS web UI with it. It does not, however, appear in the Interfaces section of the TrueNAS Network page, nor does it appear as an option for "Host Interface" under the Expert Config in the App Edit menu.Seems like the "fix" I'm looking for would be to get that virtual interface to show up in the Network Interfaces, and then choose it as the external interface for the Pi-hole app to use, but I'm not sure how to do that. Has anyone had good results in addressing this kindof thing, or working with keepalived/VRRP in general with TrueNAS Apps?