Network Troubleshooting

nslookup

google.com

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Username>nslookup
Default Server: DSL2740B.DSL2740B
Address: 10.10.1.1

> amazon.com
Server: DSL2740B.DSL2740B
Address: 10.10.1.1

DNS request timed out.
timeout was 2 seconds.
Non-authoritative answer:
DNS request timed out.
timeout was 2 seconds.
Name: amazon.com
Addresses: 176.32.98.166
205.251.242.54
72.21.215.232

> server 4.2.2.2
Default Server: b.resolvers.Level3.net
Address: 4.2.2.2

>

ping   packet internet grouper – find echo back

C:\Users\Username>ping

Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]
[-r count] [-s count] [[-j host-list] | [-k host-list]]
[-w timeout] [-R] [-S srcaddr] [-4] [-6] target_name

Options:
-t Ping the specified host until stopped.
To see statistics and continue – type Control-Break;
To stop – type Control-C.
-a Resolve addresses to hostnames.
-n count Number of echo requests to send.
-l size Send buffer size.
-f Set Don’t Fragment flag in packet (IPv4-only).
-i TTL Time To Live.
-v TOS Type Of Service (IPv4-only. This setting has been deprecated
and has no effect on the type of service field in the IP Head
er).
-r count Record route for count hops (IPv4-only).
-s count Timestamp for count hops (IPv4-only).
-j host-list Loose source route along host-list (IPv4-only).
-k host-list Strict source route along host-list (IPv4-only).
-w timeout Timeout in milliseconds to wait for each reply.
-R Use routing header to test reverse route also (IPv6-only).
-S srcaddr Source address to use.
-4 Force using IPv4.
-6 Force using IPv6.

 

continue ping  -t

ping -t nytimes.com

 

C:\Users\Username>ping -t nytimes.com

Pinging nytimes.com [170.149.172.130] with 32 bytes of data:
Reply from 170.149.172.130: bytes=32 time=834ms TTL=242
Reply from 170.149.172.130: bytes=32 time=722ms TTL=242
Reply from 170.149.172.130: bytes=32 time=810ms TTL=242
Reply from 170.149.172.130: bytes=32 time=837ms TTL=242
Reply from 170.149.172.130: bytes=32 time=720ms TTL=242
Reply from 170.149.172.130: bytes=32 time=781ms TTL=242

Ping statistics for 170.149.172.130:
Packets: Sent = 6, Received = 6, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 720ms, Maximum = 837ms, Average = 784ms
Control-C
^C
C:\Users\Username>

 

 

IPconfig
C:\Users\Username>ipconfig

Windows IP Configuration
Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : DSL12340B
Link-local IPv6 Address . . . . . : fe80::ed5e: fe80: fe80: fe80
IPv4 Address. . . . . . . . . . . : 10.10.1.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.10.1.1

Tunnel adapter isatap.DSL12340B:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : DSL12340B

Tunnel adapter Local Area Connection* 11:

Connection-specific DNS Suffix . :
IPv6 Address. . . . . . . . . . . : 2001:0:9
Link-local IPv6 Address . . . . . : fe80::
Default Gateway . . . . . . . . . : ::

C:\Users\Username>ipconfig /?

USAGE:
ipconfig [/allcompartments] [/? | /all |
/renew [adapter] | /release [adapter] |
/renew6 [adapter] | /release6 [adapter] |
/flushdns | /displaydns | /registerdns |
/showclassid adapter |
/setclassid adapter [classid] |
/showclassid6 adapter |
/setclassid6 adapter [classid] ]

where
adapter Connection name
(wildcard characters * and ? allowed, see examples)

Options:
/? Display this help message
/all Display full configuration information.
/release Release the IPv4 address for the specified adapter.
/release6 Release the IPv6 address for the specified adapter.
/renew Renew the IPv4 address for the specified adapter.
/renew6 Renew the IPv6 address for the specified adapter.
/flushdns Purges the DNS Resolver cache.
/registerdns Refreshes all DHCP leases and re-registers DNS names
/displaydns Display the contents of the DNS Resolver Cache.
/showclassid Displays all the dhcp class IDs allowed for adapter.
/setclassid Modifies the dhcp class id.
/showclassid6 Displays all the IPv6 DHCP class IDs allowed for adapter
.
/setclassid6 Modifies the IPv6 DHCP class id.
The default is to display only the IP address, subnet mask and
default gateway for each adapter bound to TCP/IP.

For Release and Renew, if no adapter name is specified, then the IP address
leases for all adapters bound to TCP/IP will be released or renewed.

For Setclassid and Setclassid6, if no ClassId is specified, then the ClassId is
removed.

Examples:
> ipconfig … Show information
> ipconfig /all … Show detailed information
> ipconfig /renew … renew all adapters
> ipconfig /renew EL* … renew any connection that has its
name starting with EL
> ipconfig /release *Con* … release all matching connections,
eg. “Local Area Connection 1” or
“Local Area Connection 2”
> ipconfig /allcompartments … Show information about all
compartments
> ipconfig /allcompartments /all … Show detailed information about all
compartments

C:\Users\Username>

 

ipconfig/all

 

tracert

tracert /?
C:\Users\Username>tracert

Usage: tracert [-d] [-h maximum_hops] [-j host-list] [-w timeout]
[-R] [-S srcaddr] [-4] [-6] target_name

Options:
-d Do not resolve addresses to hostnames.
-h maximum_hops Maximum number of hops to search for target.
-j host-list Loose source route along host-list (IPv4-only).
-w timeout Wait timeout milliseconds for each reply.
-R Trace round-trip path (IPv6-only).
-S srcaddr Source address to use (IPv6-only).
-4 Force using IPv4.
-6 Force using IPv6.

 

netstat -a

 

Wireshark

Microsoft  Network Monitor 3.4

 Sysinternals

 

http://technet.microsoft.com/en-us/sysinternals/bb545021.aspx

http://technet.microsoft.com/en-us/sysinternals/bb795532

 

TCPView

http://technet.microsoft.com/en-us/sysinternals/bb897437

 

 

 

source:  lynda . com/Network-Administration-tutorials/Network-Troubleshooting/184150-2.html