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 a bunch of cables disconnected from a faulty network switch. What is the fastest way to determine which cable goes to which client PC (windows) / server (windows) / other devices etc..

share|improve this question
    
it goes without saying to improve cable labelling / diagramming in the future. –  Sirex Mar 21 '11 at 11:13
    
@Sirex yes, am i actually going to do that =( –  Jake Mar 21 '11 at 11:16
    
such is life ;p my own task for today involves being elbow deep in an inherited and totally undocumented cabinet to diagram it. –  Sirex Mar 21 '11 at 11:20

3 Answers 3

up vote 3 down vote accepted

Ping all your devices from your machine. Plug in each cable in turn. See which one starts responding.

share|improve this answer
    
Please tell me that is not the FASTEST way... =( –  Jake Mar 21 '11 at 11:15
    
wouldn't be too bad if you wrote a script to loop through each device... –  Beerey Mar 21 '11 at 11:35
1  
ping -b <subnet broadcast address> will work, though you'd need to script something that would only display the first time a given IP responds. –  SmallClanger Mar 21 '11 at 12:10
    
try using something like nmap -sP <subnet address> inside a watch loop. Anything returned is live. –  Sirex Mar 21 '11 at 12:39

Get everyone to crawl under their desks and as you plug them in, they can shout out when their light comes on*. (Only useful if you've got an open plan office).


*Alternatively, get everyone to crawl under their desks, then simply leave the office and see how long it takes them to notice :)

share|improve this answer

The "fastest" way (for one person) is to use a cable finder. You plug one end into the cable end at the back of the pc, and use the finder wand to locate the other end of it. You'd need the right tools though. (like this: http://www.valuetesters.com/Byte-Brothers-TVR10-100-1000-LAN-Network-Tester.php)

Without that, JamesRyan's answer is likely easiest but this assumes they aren't using dhcp / have addresses already assigned.

Failing that also, go for smallclanger's answer.

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.