Anyway to trace/ping to a server port?

Unanswered Question
Aug 13th, 2008
User Badges:

Ive been looking at this and wondering if there is anyway to trace/ping to a server IP address and particular port of that

server from a router??


thx

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Richard Burts Wed, 08/13/2008 - 08:47
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Richard


Since ping uses ICMP there is no way to specify a port number when using ping. So you can ping the server address but can not specify any port. With IOS traceroute it does use UDP packets so there are port numbers. Within certain limits it is possible to calculate the number of hops and to adjust the port number that traceroute starts with so that it sends a UDP with the specific port number to the server.


Note that this would be UDP port numbers. There is not any way to get TCP port numbers.


HTH


Rick

nygenxny123 Wed, 08/13/2008 - 17:26
User Badges:

i noticed the extended trace command in IOS

gives you the port option..is this the source or destination?

Richard Burts Thu, 08/14/2008 - 04:05
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Richard


This would be the destination port.


HTH


Rick

Actions

This Discussion