Carp VIP mask documentation and packet source selection

Firstly, I've always used a /32 for VIPs without issue as shown by the online documentation.

With that said, I recently changed this to the actual netmask being used on the interfaces as carp(4) shows.
However, I'm running into an issue now where packets are being sourced from the VIP on the BACKUP machine to which the responses are being given to the PRIMARY machine.

So given this difference between carp(4) and the online documentation which is correct?

I'd also like to point out what the online documentation used to say:

It make the distinction between FBSD 10+ and FBSD 9-=.
 
I missed an important detail.

The online documentation shows the interfaces being added as aliases.
The carp(4) documentation shows the VIPs being assigned directly to an interface.

Docs are good. Just lazy eyes here.
Regardless, I think it should be in everyone's favor to simply ensure this tidbit is pointed out and made explicit in the docs. Hopefully they'll add it.

Cheers!
 
Back
Top