Interview Prep/Networking/Rapid-Fire Commands

Rapid-fire: how do you find the route and source IP used to reach 10.1.2.3?

BeginnerProductionRapid-Fire Commands
Answer
ip route get 10.1.2.3

Output includes next hop, interface and the source address that will be used.

All Networking questions Roadmap: Networking for DevOps

More on Rapid-Fire Commands