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..
-
it goes without saying to improve cable labelling / diagramming in the future.– SirexMar 21, 2011 at 11:13
-
@Sirex yes, am i actually going to do that =(– JakeMar 21, 2011 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.– SirexMar 21, 2011 at 11:20
3 Answers
Ping all your devices from your machine. Plug in each cable in turn. See which one starts responding.
-
-
wouldn't be too bad if you wrote a script to loop through each device...– BeereyMar 21, 2011 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. Mar 21, 2011 at 12:10 -
try using something like
nmap -sP <subnet address>
inside a watch loop. Anything returned is live.– SirexMar 21, 2011 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 :)
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.