Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have two servers connected on the same subnet with each other. I would like to know which switches come in between the two servers. I do have admin and physical access to the boxes but they are all plugged in and I would like the least intrusive way to know about IPs of the switches in between.

I guess I would have to go a level down than TCP/IP for this, map the ethernet addresses some how to IPs but not really sure.

share|improve this question
    
heres where a physical network diagram comes in really handy :) –  anthonysomerset Sep 13 '11 at 8:20
    
I am trying to make one without tearing up every thing and without going through a mess of wires that is called the switch room :) –  geoaxis Sep 13 '11 at 9:00

2 Answers 2

Do you have admin access to the switches?

If so the easiest way would be to get the mac address of your servers and then check the mac address tables on the switches to see which ports they see your server through, then build up a picture that way. If you're lucky the ports may already have labels on them, otherwise use CDP or LLDP to discover how the switches are connected together. If you have a several multipathed switches then you life is a little more difficult. If you have lots of servers you need to map then perhaps you should look at something along the lines of mactrack or network tracking database

If not I think you might be looking at a cable chase!

share|improve this answer

Depends on the layer of your switches, you might be able to use the switch software to map your network (works for HP/3com managed switches etc).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.