Pinging CARP - ICMP DUP reply
-
Hi,
I can arrange packet captures today, I assume you need captures on the server sending the ping and on the end receiving the ping?
Thanks
-
Since I opened this thread months ago, we have gone through many iterations / escalations with pfSense support as well as VMware. For the record, we are strictly working with VMware ESX 5.1, not sure if the same symptoms / solution applies to other platforms / versions.
In short: It's a vSwitch / VDS limitation. It's a forward only switch, and the issue is around multiple uplinks. My network guys can provide a better analysis, however the solution was ensure that the switch any CARP traffic is connected to only has one uplink to the outside. Multiple uplinks (even in standby mode) resulted in packet duplication.
We now have a dedicated firewall ESXi cluster, running multiple instances of pfSesne (CARP) and respective uplinks groups only have one port defined. To provide redundancy we have > 1 ESXi node, HA / DRS enabled, with appropriate affinity groups keeping our firewall services highly available.
As a side note: CARP, VRRP, HSRP are similar in their origin, operation and implementation. We have a VRRP cluster (keepalived) running without any issues on the same vSwitch / VDS infrastructure that the problematic pfSense CARP cluster resulted in packet duplication. Perhaps there's something in CARP that can / should be tweaked?
-
Since I opened this thread months ago, we have gone through many iterations / escalations with pfSense support as well as VMware. For the record, we are strictly working with VMware ESX 5.1, not sure if the same symptoms / solution applies to other platforms / versions.
In short: It's a vSwitch / VDS limitation. It's a forward only switch, and the issue is around multiple uplinks. My network guys can provide a better analysis, however the solution was ensure that the switch any CARP traffic is connected to only has one uplink to the outside. Multiple uplinks (even in standby mode) resulted in packet duplication.
We now have a dedicated firewall ESXi cluster, running multiple instances of pfSesne (CARP) and respective uplinks groups only have one port defined. To provide redundancy we have > 1 ESXi node, HA / DRS enabled, with appropriate affinity groups keeping our firewall services highly available.
As a side note: CARP, VRRP, HSRP are similar in their origin, operation and implementation. We have a VRRP cluster (keepalived) running without any issues on the same vSwitch / VDS infrastructure that the problematic pfSense CARP cluster resulted in packet duplication. Perhaps there's something in CARP that can / should be tweaked?
This is interesting.
We have basically the same setup here, but use the multiple uplinks for bandwidth and failover purposes and hence need them. Do you have any more info from the network guys about this or perhaps someone can pinpoint the issue further so that we can solve it while keeping multiple uplinks? -
Since I opened this thread months ago, we have gone through many iterations / escalations with pfSense support as well as VMware. For the record, we are strictly working with VMware ESX 5.1, not sure if the same symptoms / solution applies to other platforms / versions.
In short: It's a vSwitch / VDS limitation. It's a forward only switch, and the issue is around multiple uplinks. My network guys can provide a better analysis, however the solution was ensure that the switch any CARP traffic is connected to only has one uplink to the outside. Multiple uplinks (even in standby mode) resulted in packet duplication.
We now have a dedicated firewall ESXi cluster, running multiple instances of pfSesne (CARP) and respective uplinks groups only have one port defined. To provide redundancy we have > 1 ESXi node, HA / DRS enabled, with appropriate affinity groups keeping our firewall services highly available.
As a side note: CARP, VRRP, HSRP are similar in their origin, operation and implementation. We have a VRRP cluster (keepalived) running without any issues on the same vSwitch / VDS infrastructure that the problematic pfSense CARP cluster resulted in packet duplication. Perhaps there's something in CARP that can / should be tweaked?
I'm having a similar issue, but can't afford to have a dedicated cluster for the pfSense instances. So I configured the dvSwitch ports used by the pfSenses so that they use only one uplink (and only on these ports, since we need uplink redundancy for the other vms), and the duplicate pings immediately stopped. So far so good !
-
Nevermind, DUPs are back…
-
I know this is an old thread. I got similar issue, would like to share how i fixed this. I just disable ipv4 and ipv6 in the host nic that causes the dup icmp.
-
On vphere edit your distributed port group then 'teaming and failover' and on failover order :
- Active Uplinks : uplink 1
- Standby uplinks : uplink 2
-
Hi,
I had the same problem, using VIP + CARP, followed all best practices for pfSense and still got DUP echo reply.
Thanks to camembert, problem for me was uplink 1 and 2 set to "active", after uplink 2 was set to standy, it worked fine. -
Worked fine to me, I changed the teaming only in Port Group used by CARP (not distributed vswitch)!
Thanks friends!
-
You can have both uplinks active if you enable this advanced host parameter: Net.ReversePathFwdCheckPromisc (see pfSense Troubleshooting guide)
By the way I discovered today that if your VM has "VM DirectPath IO" enabled it bypass this parameter and you will have duplicated packet again.