Hello,

So I read in 6.7 release note that it's finally possible to use dhclient on CARP interface. That's great news.

However, I'm not sure how to use it on a hostname.if file. I tried to replace inet instruction directly with dhcp:

    dhcp vhid 11 carpdev em1 pass xxxx description "test"


But that didn't do the trick: at boot time, none of my nodes carp were in master state so dhclient didn't manage to get any lease.

So I have first to give a static IP to my carp in order to activate it, and only then trigger dhcp:

    inet [...] vhid 11 carpdev em1 pass xxxx description "test"

    dhcp

It doesn't feel right. Is there a better way to do this?

Guy

Reply via email to