Pfsync between different network cards
-
Hello everyone,
Using "2.2-RC (amd64) built on Thu Dec 11 03:41:41 CST 2014".
I'm running a HA setup, and just recently moved my primary from a vm to a physical server. The secondary is a vm, using e1000 nic, and the physical server is using igb (A1SRI C2758). Pfsync doesn't seem to be syncing states. A while back, when the primary was a vm, I tested using vmxnet3 on the secondary, and the same thing happened.
Is this normal? Does pfsync require you to use the same NIC driver on both the primary and secondary?
-
The states contain the interface name. They'll still sync across, but never match on the secondary, if its interfaces are different.
-
Thanks for your answer cmb :)
Was afraid of that. There's no way around this? Like maybe create a lagg-interface on top of the em0? I'm using lagg on the physical server.
-
It's been annoying me of late as well, as I have a physical box as a primary and ESX VM as a secondary. The physical box has lagg with LACP, the VM doesn't. You should be fine if you setup all your interfaces as matching laggX interfaces between them, even if the lagg has only 1 member NIC. That's exactly what I was considering doing, haven't had a chance to do it yet.
-
Looks like it works :) Did a search and replace in a backup of the config, replaced em0 with lagg0. And then added a lagg-interface to the config. Restored the new config, rebooted, and done. States are now visible on the secondary.
I did receive a message about an interface mismatch right after I pressed the restore button. Pressed apply changes, it rebooted, and it looks fine now.