Start keepalived without IP on interface?
Solution 1:
The new version of keepalived 2.0.5
was released today and it supports interfaces that do not exist yet. By happenstance that also fixes my issue as keepalived will start in a FAULT
state if the interface does not have an IP, which is great. Simply add dynamic_interfaces
to global_defs
and it works.
Solution 2:
Why not just give it a temporary address using ifconfig?