Merry Christmas & Happy 2027! Less downtime. More good times. Celebrating 13 years of sorlavit.com
Skip to content
Sorlavit KimIT Support, Network & Infrastructure Services Let’s talk

Articles are written in English. The Thai translation button opens Google Translate; code and commands stay in their original form.

Network & Infrastructure / Linux Networking & Host Performance

Linux policy routing: the route exists in the wrong table

A host reaches a destination from one application but not another using a different source address. The expected route exists, yet a policy rule selects another routing table.

Compiled for Sorlavit Kim · Published · Updated · 1 min read

Environment and inputs: Linux network namespaces, host routing and network drivers; availability and semantics depend on kernel and driver versions. Diagnostic/design example; not tested on production equipment.

What to check first

Record rule priorities, source address selection, table-specific routes and the application's network namespace. Evaluate the route using the actual source and destination context rather than a default lookup.

What the results mean

Linux routing policy can select tables before ordinary destination-based selection. A route in the main table is irrelevant if a higher-priority matching rule chooses a different result.

Plan the fix

Correct the narrow rule or table dependency and retain an explicit ownership model for application routing. Avoid duplicating broad defaults into every table without understanding precedence.

Check the result and know how to undo the change

Test each required source address and management path, including reboot persistence. Restore the previous rule set if another application changes egress or a recovery interface becomes unreachable.

Share this article

Back to all articles