iwan.hoogendoorn
NSX · · 2 min read

RPF setting and NSX Edges in ECMP mode

RPF stands for Route Path Filtering.

When RPF is enabled, the Edge only forwards packets if they are received on the same interface that would be used to forward the traffic to the source of the packet. If the route to the source address of the packet is through a different interface than the one it is received on, the packet is dropped.

What is ECMP

In case of ECMP networks are reachable through multiple paths/interfaces, and the routing updates are received through multiple paths.

RPF-ECMP-01

The NSX Edge has the RPF feature enabled by default. The other two options that can be chosen are “Loose” and “Disabled”.

RPF-ECMP-02

Because asymmetric routing and traffic data paths can occur when we go for the ECMP deployment model you should set the RPF feature to either loose or disable it completely.

Disable RPF

Another thing that should be done when deploying NSX Edges in ECMP is that the (local) Edge firewall should be disabled. The “disable” firewall action is documented very well, but the RPF setting is not.

Other Sources

Bayu Wibo

Bayu Wibowo came to the same conclusion here but does not really explain the reasoning behind this, and this article tries to explain this.

Livefire

In this Livefire link, VMware recommends that this RPF “security” feature should be enabled because RPF can be a desirable security feature filtering traffic that should not originate from certain networks. But when using ECMP this is out of the question that we should NOT leave it enabled.

Originally published on the old wiki at /index.php/RPF_setting_and_NSX_Edges_in_ECMP_mode.