Showing posts with label gateway. Show all posts
Showing posts with label gateway. Show all posts

Linux Show Selected Route for Particular IP Address

Tags: April 8, 2014 11:11 AM
0 comments

When having multiple gateway it is very useful know which route is used by particular address. So we can know if the routing is work as expected. For this task we can use ip route get command.

Show Selected Route for particular IP

ip route get 8.8.8.8
8.8.8.8 via 192.168.42.129 dev usb0  src 192.168.42.243 
    cache

Share on Facebook Twitter