TECHNOLOGY

Check reverse-path filtering on a multihomed inference node

In this article
THE QUICK TAKE

Check effective IPv4 rp_filter, reverse-route selection and mark participation when asymmetric ingress reaches a node but not its application.

A multihomed inference node sees an incoming packet in a capture but never delivers it to the service. The preferred reverse route to that source uses another interface. IPv4 reverse-path filtering can reject this asymmetric input before application processing. Check the effective validation policy and routing context instead of assuming that capture visibility proves socket delivery.

Map ingress and reverse reachability

Record the incoming interface, source address, destination and network namespace. Reconstruct the route toward the source, not only the route toward the service’s normal upstream. A multihomed node can legitimately receive on a different interface from its preferred return path. That asymmetry must be understood within the intended network design before deciding whether a validation failure is accidental.

Read the effective filter

Linux documents separate disabled, strict and loose modes. Strict validation checks the best reverse interface, while loose validation checks whether the source is reachable through any interface. The effective setting uses the maximum of the all-interface and specific-interface values. Reading only the latter can therefore misdescribe enforcement. Distribution startup configuration can also differ from the kernel’s documented initial default.

Include policy-routing context

Source validation can interact with routing marks. The src_valid_mark setting determines whether a packet’s mark participates in the reverse lookup under documented behavior. Preserve policy rules, marks and relevant route tables. A simple destination-only lookup does not automatically reproduce a marked packet’s validation context. Also keep IPv4 behavior separate from assumptions about another address family’s filtering implementation.

Separate evidence of rejection

A packet observed at an interface has crossed that observation point, not every subsequent kernel check. Correlate the suspected validation failure with available kernel evidence and a controlled matching route. Firewall rules, absent listeners and namespace boundaries can produce other non-delivery outcomes. Do not disable source validation globally merely because the node has more than one interface or a capture contains the packet.

Preserve the security intent

In an isolated equivalent, compare the intended asymmetric path under an appropriate documented validation policy. Confirm both required connectivity and rejection of sources outside the accepted reachability boundary. Correct routing may be preferable to weakening validation. The result should explain the specific ingress and reverse-route mismatch, including why the selected policy fits that network, rather than offering one universal setting for multihomed inference nodes.

Primary references

Linux IP and TCP Sysctl Semantics.

IETF Ingress Filtering for Multihomed Networks.

iproute2 Route Lookup Context.

Related reading: GPU networking and availability: beyond internet speed; Ping works but transfers stall: recognizing an MTU black hole.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles