# How to set up rp_filter on a Linux xNIC > [!NOTE] > **WHAT TO EXPECT** > > **In this article**, users will learn how to change the rp\_filter parameter on the xNIC configuration. The rp\_filter (or reverse path filtering) is a security feature that prevents IP address spoofing. It does so by validating whether incoming network packets arrive on an interface that could be used to route traffic back to the packet's source IP address. ## Default: loose rp\_filter The xNIC sets rp\_filter when it runs (the installer does not change it): loose mode (`2`) on the data interface and on the virtual interfaces of the xNIC. This allows the xNIC to deliver multicast whose source is not reachable through that interface, for example traffic from another subnet. ## Alternative: overrideSrcIp With `overrideSrcIp` set to `true`, the xNIC does not change rp\_filter. Instead, it rewrites the source IP of the multicast it delivers to an address in the subnet of the interface (`.1`, or `.2` if `.1` is the network address). The applications then see that address as the source of the multicast, not the original sender. With High Availability, the source override of the HA stream takes priority. To turn it on, edit the xNIC configuration file: ```shell sudo nano /var/opt/swx/xnic/swx-xnic-config.json ``` Set `"overrideSrcIp"` in the `"component"` section to `true`, save the file and restart the xNIC VM. Contact [support](mailto:support@swxtch.io) if you need more information regarding this configuration.