Display which route and source address would be used.
Section: Interfaces Routing and Addresses
Show route used for destination
bash
bash
ip route get 1.1.1.1Explanation
Useful when policy routing or multiple interfaces are involved.
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 Interfaces Routing and Addresses