Display source-based and policy routing rules.
Section: Routes and Gateways
Show policy routing rules
bash
bash
ip rule showExplanation
Display source-based and policy routing rules.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Routes and Gateways
Add source routing rule
Route traffic from a source CIDR using a specific table.
Resolve route for destination
Show which route and source address will be used.