Show which route and source address will be used.
Section: Routes and Gateways
Resolve route for destination
bash
bash
ip route get 8.8.8.8Explanation
Show which route and source address will be used.
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