Solved

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

Posted on 2012-03-13
8
649 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
 
LVL 2

Author Comment

by:detox1978
ID: 37713958
I also have TELNET and HTTP access
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Join & Write a Comment

Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

747 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now