How can i work out the route a server takes to the default gateway?

Hi All,

I've recently started a new company and want to find out what switches our servers (windows 2003/2008) are connected too.

Almost all of them are PING able, but PINGPATH and TRACERT dont return anything.

I'd rather not do this manually as it'll take more time than it's worth.

Is there another method?

Many thanks
Who is Participating?

Improve company productivity with a Business Account.Sign Up

Jimmy Larsson, CISSP, CEHConnect With a Mentor Network and Security consultantCommented:
There is no way from the end nodes (clients/servers) to figure out which switch-path the traffic takes, like traceroute for routed traffic. In order to trace the packets you need to get into each intermediate switch and look in its CAM-table to see on which port each MAC-address (client/server) shows. The commands for this is different on different switches. For example, in modern Cisco switches the command "show mac address-table dynamic" shows you a listing of all known MAC-addresses together with on which switch port that address is associated. By doing this hop by hop you will find the path.

Best regards
detox1978Author Commented:
detox1978Author Commented:
I've just checked an I have admin SSH access to them.
Worried about phishing attacks?

90% of attacks start with a phish. It’s critical that IT admins and MSSPs have the right security in place to protect their end users from these phishing attacks. Check out our latest feature brief for tips and tricks to keep your employees off a hackers line!

detox1978Author Commented:
I also have TELNET and HTTP access
Rick_O_ShayConnect With a Mentor Commented:
To add a little to what was mentioned above. You can use the arp commands in the router/L3 switch at the core of the network to get the mac address of each server. It may be possible to see what port those arps are learned on depending on your confiuration and therefore narrow down which edge switches the servers are attached to or at least what path to take from the core layer 3 switch or router to get to them.
Can't you just remote logon to the servers and run it from there?
detox1978Author Commented:
I've not done that much networking, so will need a little more help on getting the port and MAC info.

I would have thought the switches would log the this info somewhere
detox1978Author Commented:
any thoughts?
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.

All Courses

From novice to tech pro — start learning today.