Solved

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

Posted on 2012-03-13
8
658 Views
Last Modified: 2012-04-09
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
0
Comment
Question by:detox1978
8 Comments
 
LVL 17

Accepted Solution

by:
Kvistofta earned 250 total points
ID: 37713874
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
Kvistofta
0
 
LVL 2

Author Comment

by:detox1978
ID: 37713929
0
 
LVL 2

Author Comment

by:detox1978
ID: 37713952
I've just checked an I have admin SSH access to them.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 2

Author Comment

by:detox1978
ID: 37713958
I also have TELNET and HTTP access
0
 
LVL 21

Assisted Solution

by:Rick_O_Shay
Rick_O_Shay earned 250 total points
ID: 37714407
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.
0
 
LVL 8

Expert Comment

by:inbox788
ID: 37720866
Can't you just remote logon to the servers and run it from there?
0
 
LVL 2

Author Comment

by:detox1978
ID: 37720933
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
0
 
LVL 2

Author Comment

by:detox1978
ID: 37793727
any thoughts?
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question