Unix tip of the day
ip route get 8.8.8.8

Which source address, interface, and gateway the kernel will actually use for a destination — no packet sent, just the routing decision. Settles "which interface does this traffic leave on" without guessing.

Scroll to Top