Version of Windows I am running:
Windows 7 RTM SP1 64 bit
It's best if you can run CMD as administrator nevertheless the tools works anyhow.
1. Ping Command
This command everyone should now, it pings the IP/Hostname/URL and report the latency of the connection, it also resolves hostname and url to IP.
C:\Users\Public\ping 192.168.1.1
Pinging 192.168.1.1 with 32 bytes of data:
Reply from 192.168.1.1: bytes=32 time=2ms TTL=64
Reply from 192.168.1.1: bytes=32 time=2ms TTL=64
Reply from 192.168.1.1: bytes=32 time=2ms TTL=64
Reply from 192.168.1.1: bytes=32 time=2ms TTL=64
--
C:\Users\Public\ping othniel-pc2
Pinging Othniel-PC2 [fe80::c865:25ab:4cde:7f3e%29] with 32 bytes of data:
Reply from fe80::c865:25ab:4cde:7f3e%29: time<1ms
Reply from fe80::c865:25ab:4cde:7f3e%29: time<1ms
Reply from fe80::c865:25ab:4cde:7f3e%29: time<1ms
Reply from fe80::c865:25ab:4cde:7f3e%29: time<1ms
--
C:\Users\Public\ping othniel-pc2 -4
Pinging Othniel-PC2 [192.168.56.1] with 32 bytes of data:
Reply from 192.168.56.1: bytes=32 time<1ms TTL=128
Reply from 192.168.56.1: bytes=32 time<1ms TTL=128
Reply from 192.168.56.1: bytes=32 time<1ms TTL=128
Reply from 192.168.56.1: bytes=32 time<1ms TTL=128
2. ARP Command
arp command display the MAC Address and type of IP addressing (Static or Dynamic) of the IP stored in your computer cache, in order for this command to work, you have to ping the address first to get it in your cache then issue this command.
C:\Users\Public\arp -aInterface: 192.168.1.7 --- 0xcInternet Address Physical Address Type192.168.1.4 38-e7-d8-19-34-90 dynamic
192.168.1.1 00-25-5e-3e-4b-11 dynamic
3. Hostname Command
This command displays the computer's hostname.
C:\User\Public\hostnameothniel-pc2
4. Ipconfig Command
Gets IP Configuration
5. Nbtstat CommandC:\User\Public\ipconfig> Shows IP ConfigurationC:\User\Public\ipconfig /all> Shows detailed IP ConfigurationC:\User\Public\ipconfig /renew> Renew an IP leaseC:\User\Public\ipconfig /release> Releasing an IP leaseC:\User\Public\ipconfig /flushdns> Clear DNS cache
Display Hostname and Workgroup of an IP
C:\User\Public\nbtstat -a othniel-pc2NetBIOS Remote Machine Name Table
Name Type Status
---------------------------------------------
OTHNIEL-PC2 <00> UNIQUE Registered
WORKGROUP <00> GROUP Registered
OTHNIEL-PC2 <20> UNIQUE Registered
WORKGROUP <1E> GROUP Registered
WORKGROUP <1D> UNIQUE Registered
..__MSBROWSE__.<01> GROUP Registered
MAC Address = 00-06-4F-4B-9B-31
That's all :D
An advanced post is coming-I think :)
0 comments:
Post a Comment