• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 517
  • Last Modified:

Remotely determining the IP address or host name of a router or switch

What is the command line program (and slash option) I use to determine the host name of a router or switch?  is it NBTSTAT?
I'm in office "A" and need to know the name and/or IP address of a router and switches at office "B"
2 Solutions
If you happen to have Cisco equipment you can connect to one of the end user's machine and see what the default gateway is. That will give you the IP address of the router that is used. Then you can telnet or SSH to this device and use CDP to see what devices are neighbors and then move on down the line to discover all network devices on the network. The command to view CDP devices is "show cdp neighbor" and "show cdp neighbor detail"

Let me know if this helps or what type of networking equipment you are using
Can you log into any computer on the "office B" network remotely?

If so, Colasoft has a mac address scanner that can give the a list of all the IP addresses on your network.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Turn Raw Data into a Real Career

There’s a growing demand for qualified analysts who can make sense of Big Data. With an MS in Data Analytics, you can become the data mining, management, mapping, and munging expert that today’s leading corporations desperately need.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now