Showing posts with label Network Troubleshooting. Show all posts
Showing posts with label Network Troubleshooting. Show all posts

Wednesday, January 19, 2011

Getting Network Information Commands

1. Check if IP is Active
c:/>ping 192.168.0.1

2. Finding all Active/ In Use IP addresses in your network.
c:/>FOR /L %i IN (1,1,254) DO ping -n 1 192.168.10.%i | FIND /i "Reply">>c:\ipaddresses.txt

3. Resolving name for an IP
c:/>nslookup 192.168.0.1

4. Getting IP to Name resolution withing a network.
c:/>FOR /L %N IN (1,1,254) DO @nslookup 192.168.0.%N >> names.txt

5. Getting all active connections on your system. Displays Local Host:Port and Remote Host:Port.
c:/>netstat >>netstat.txt

6. Getting routing path to the destination IP
c:/>tracert >>tracert.txt

7. Displays computer's networking name.
c:/>hostname

8. Displays mac address of the network interface
c:/>getmac

I am not anti-social; I am just not user friendly.
-S