How to check a route exist between two hosts for a particular port

networkingportroute

How to check whether there is a route between two hosts for a particular port (e.g. 1433).

Best Answer

with 'ip route get ADDRESS' you can check the route configured in your system, that is, the first hop:

$ ip route get 192.168.10.10
192.168.10.10 via 192.168.10.1 dev eth0  src 192.168.10.11 
    cache 

to check the port connectivity, a simple telnet should do:

$ telnet 192.168.10.10 1433
...

good luck!

Related Topic