WebSiteTemplate.org
AngelTech.US

Apple Certified Professional
Member of Apple Certification Alliance


Microsoft Certified Professional
Member of Microsoft Certified Professional

Having computer problems? Let our professionals solve them and help the poor at the same time!

Call us now (408) 916 - 3614 | support@angeltech.us

NT/2000/2003/2008

Find a MAC address of a remote computer or network device

Find all active computers on your local area network

Find out where network slows

Disable/enable network card

 

 

 

 

 

 

 

 

 

 

 

 

Find a MAC address of a remote computer or network device

First, ping the remote computer or the network device

ping 192.168.1.1

Then using arp command to display the association between the IP address that you just pinged and its MAC address

arp -a

Alternatively you can use getmac command, type getmac /? to learn more about it

Find all active computers on your local area network

First, you need to know your computer IP address, use this command

ipconfig

Then let's say your computer IP address is 192.168.10.13, use a string of commands below to find all active computers on your LAN

echo off & FOR /L %i IN (1,1,254) DO ping -n 1 192.168.10.%i | FIND /i "Reply"

Find out where network slows

You can use pathping command on a Windows computer to pinpoint where the network slowness occurs. To learn more about pathping, type pathping /? at the Windows command prompt.

The pipe symbol | represents link between two nodes. Pay attention to a percentage number that is larger than zero because that is where the packet loss happens which maybe the cause of your network slowness problem. In the example below, we see packet loss at hop/node 1 (1% 76.194.113.30) hop 3 (2% 74.125.48.181) hop 6, 8 and 9 (3% 66.249.94.90). Also we see packet loss at the link between hop 4 and 5 (5% |). As I mentioned above that the pipe symbol | represents link between two nodes, so in this case link between hop 4 and 5 experienced 5% packet loss, and link between hop 8 and 9 experienced 3% packet loss (3% |).

If you pathping computers within your LAN, only 0% (zero percent) packet loss is acceptable, so if you suddenly experience any slowness on your network, you definitely should investigate any node or link on your LAN that has packet loss 1% or more.

C:\Documents and Settings\Administrator>pathping -n google.com

Tracing route to google.com [72.14.207.99]
over a maximum of 30 hops:
0 27.16.0.2
1 76.194.113.30
2 151.164.184.117
3 74.125.48.181
4 209.85.240.114
5 209.85.242.210
6 209.85.243.116
7 72.14.232.140
8 209.85.250.110
9 66.249.94.90
10 66.249.94.118
11 72.14.207.99

Computing statistics for 350 seconds...
Source to Here This Node/Link
Hop RTT Lost/Sent = Pct Lost/Sent = Pct Address
0 27.16.0.2
0/ 100 = 0% |
1 1ms 1/ 100 = 1% 1/ 100 = 1% 76.194.113.30
0/ 100 = 0% |
2 12ms 0/ 100 = 0% 0/ 100 = 0% 151.164.184.117
0/ 100 = 0% |
3 15ms 2/ 100 = 2% 2/ 100 = 2% 74.125.48.181
0/ 100 = 0% |
4 12ms 0/ 100 = 0% 0/ 100 = 0% 209.85.240.114
0/ 100 = 5% |
5 62ms 0/ 100 = 0% 0/ 100 = 0% 209.85.242.210
0/ 100 = 0% |
6 62ms 2/ 100 = 2% 2/ 100 = 2% 209.85.243.116
0/ 100 = 0% |
7 62ms 0/ 100 = 0% 0/ 100 = 0% 72.14.232.140
0/ 100 = 0% |
8 86ms 2/ 100 = 2% 2/ 100 = 2% 209.85.250.110
0/ 100 = 3% |
9 85ms 3/ 100 = 3% 3/ 100 = 3% 66.249.94.90
0/ 100 = 0% |
10 93ms 0/ 100 = 0% 0/ 100 = 0% 66.249.94.118
0/ 100 = 0% |
11 87ms 0/ 100 = 0% 0/ 100 = 0% 72.14.207.99

Trace complete.

and other useful network commands: nslookup, netsh, route, tracert, nbtstat

Disable/Enable Network Card

We will use a free utility devcon.exe from Microsoft to disable or enable any network card on a Windows 2000/XP/2003 computer.
Download the software from the above link, unzip it and put the devcon.exe file under C:\WINDOWS folder
Issue the following commands in the Command Prompt window (# means comment, do not type it)
devcon find =NET # to find all network devices on your computer

devcon disable @ROOT\MS_PSCHEDMP\0001 # to disable a network device that you found

devcon enable @ROOT\MS_PSCHEDMP\0001 # to enable the disable network device above

You can put each disable and enable command line into a disable_network.bat or enable_network.bat file so you can automate the process. Also you can disable or enable multiple network cards using a single command as follow

devcon disable @ROOT\MS_PSCHEDMP\0001 @ROOT\NET\0000 @ROOT\NET\0001

ABOUT US > RESOURCES > Windows Server Admin > NT/2000/2003/2008 [Print Version]

Copyright 2006 - 2010 AngelTech.US