In this article
Reconstruct policy-rule priority, source, mark and namespace before interpreting the route selected for a model response.
A node’s main routing table points toward the expected gateway, yet model responses leave another interface. Linux policy routing can select a different table based on source address, mark or other selectors. Reconstruct the actual lookup context before replacing the default route. The main table is one possible stage of a routing policy, not a complete description of every packet.
Start in the worker namespace
Identify the process network namespace and the transport leg producing the response. Containers, proxies and the host can each have separate routes and rules. A route shown from an interactive host shell may be correct for that shell and irrelevant to the worker. Record source address selection and destination as observed for the actual connection rather than only the public service name.
Read rule priority and selectors
Policy rules are evaluated by priority and can select tables or other actions. Preserve their order, selectors and actions. A rule referring to a source prefix or routing mark may redirect only a subset of traffic. Listing a table without the rule that makes it reachable loses the conditions under which that table participates in lookup.
Reproduce the relevant query
The route lookup interface supports context such as source, mark, incoming interface and transport selectors. Supply the relevant known inputs rather than accepting a destination-only result as definitive. Distinguish inspecting a route from injecting a real application packet. A synthetic lookup cannot establish that the live packet carried the mark or source identity assumed by the diagnostic command.
Follow later transformations
Compare predicted output interface and selected source with observed traffic. Address translation, proxy termination or another namespace transition can change which route lookup applies at the next stage. A correct local route does not establish the remote return path. If observations disagree, locate the boundary where the assumed packet context differs before editing unrelated route tables or application endpoint configuration.
Verify intended traffic classes
Test the affected source and destination class plus a required control-path class after an authorized correction. Preserve effective rules, selected tables and observed interfaces. The useful outcome is an explained routing decision for each class. It does not mean every future destination follows the same table or that restoring a route establishes TLS trust, successful model loading or application-level readiness at the other end.
Primary references
iproute2 Policy Routing Rules.
iproute2 Route Lookup Context.
iproute2 Network Namespace Scope.
Related reading: GPU networking and availability: beyond internet speed; AI service network traffic: accounting for egress before GPU placement.
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.