0% found this document useful (0 votes)
28 views13 pages

Tools

Uploaded by

saaliyan407
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views13 pages

Tools

Uploaded by

saaliyan407
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 13

PING Command:

Ping “name of sites”


C:\Users\HP>ping google.com
Pinging google.com [2a00:1450:4018:809::200e] with 32 bytes of data:
Reply from 2a00:1450:4018:809::200e: time=198ms
Reply from 2a00:1450:4018:809::200e: time=277ms
Reply from 2a00:1450:4018:809::200e: time=125ms
Reply from 2a00:1450:4018:809::200e: time=91ms

Ping statistics for 2a00:1450:4018:809::200e:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 91ms, Maximum = 277ms, Average = 172ms

Ping –help:
Show all the function\option of ping command
C:\Users\HP>ping --help
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] [-c compartment] [-p]
[-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
Header).
-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).
Per RFC 5095 the use of this routing header has been
deprecated. Some systems may drop echo requests if
this header is used.
-S srcaddr Source address to use.
-c compartment Routing compartment identifier.
-p Ping a Hyper-V Network Virtualization provider address.
-4 Force using IPv4.
-6 Force using IPv6.

1. Ping -t facebook.com

Pinging facebook.com [2a03:2880:f167:81:face:b00c:0:25de] with 32 bytes of data:


Reply from 2a03:2880:f167:81:face:b00c:0:25de: time=68ms
Reply from 2a03:2880:f167:81:face:b00c:0:25de: time=87ms
Reply from 2a03:2880:f167:81:face:b00c:0:25de: time=99ms
Reply from 2a03:2880:f167:81:face:b00c:0:25de: time=120ms
Reply from 2a03:2880:f167:81:face:b00c:0:25de: time=111ms
Reply from 2a03:2880:f167:81:face:b00c:0:25de: time=78ms
Reply from 2a03:2880:f167:81:face:b00c:0:25de: time=96ms
Reply from 2a03:2880:f167:81:face:b00c:0:25de: time=186ms
Reply from 2a03:2880:f167:81:face:b00c:0:25de: time=128ms
………………………………………………………..
………………………………………………………..
To stop - type Control-C.

2. Ping -a google.com
Pinging google.com [2a00:1450:4018:806::200e] with 32 bytes of data:
Reply from 2a00:1450:4018:806::200e: time=117ms
Reply from 2a00:1450:4018:806::200e: time=191ms
Reply from 2a00:1450:4018:806::200e: time=85ms
Reply from 2a00:1450:4018:806::200e: time=100ms
Ping statistics for 2a00:1450:4018:806::200e:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 85ms, Maximum = 191ms, Average = 123ms

3. Ping -n 3 google.com
C:\Users\HP>ping -n 3 google.com

Pinging google.com [2a00:1450:4018:803::200e] with 32 bytes of data:


Reply from 2a00:1450:4018:803::200e: time=79ms
Reply from 2a00:1450:4018:803::200e: time=96ms
Reply from 2a00:1450:4018:803::200e: time=91ms

Ping statistics for 2a00:1450:4018:803::200e:


Packets: Sent = 3, Received = 3, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 79ms, Maximum = 96ms, Average = 88ms

4. Ping -l 8bit google.com


Pinging google.com [2a00:1450:4018:803::200e] with 8 bytes of data:
Reply from 2a00:1450:4018:803::200e: time=55ms
Reply from 2a00:1450:4018:803::200e: time=97ms
Reply from 2a00:1450:4018:803::200e: time=167ms
Reply from 2a00:1450:4018:803::200e: time=84ms

Ping statistics for 2a00:1450:4018:803::200e:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 55ms, Maximum = 167ms, Average = 100ms

5. Ping -f google.com
Pinging google.com [142.250.185.46] with 32 bytes of data:
Reply from 142.250.185.46: bytes=32 time=110ms TTL=110
Reply from 142.250.185.46: bytes=32 time=92ms TTL=110
Reply from 142.250.185.46: bytes=32 time=94ms TTL=110
Reply from 142.250.185.46: bytes=32 time=126ms TTL=110

Ping statistics for 142.250.185.46:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 92ms, Maximum = 126ms, Average = 105ms

6. Ping -i time youtube.com


C:\Users\HP>ping -i 2sec youtube.com

Pinging youtube.com [2a00:1450:4018:802::200e] with 32 bytes of data:


Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 2a00:1450:4018:802::200e:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

C:\Users\HP>ping -i 30sec youtube.com

Pinging youtube.com [2a00:1450:4018:802::200e] with 32 bytes of data:


Reply from 2a00:1450:4018:802::200e: time=101ms
Reply from 2a00:1450:4018:802::200e: time=118ms
Reply from 2a00:1450:4018:802::200e: time=83ms
Reply from 2a00:1450:4018:802::200e: time=113ms

Ping statistics for 2a00:1450:4018:802::200e:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 83ms, Maximum = 118ms, Average = 103ms

7. Ping -v 192.168.1.1 youtube.com


C:\Users\HP>ping -v 192.168.1.1 youtube.com

Pinging youtube.com [192.178.24.142] with 32 bytes of data:


Reply from 192.178.24.142: bytes=32 time=192ms TTL=51
Reply from 192.178.24.142: bytes=32 time=55ms TTL=51
Reply from 192.178.24.142: bytes=32 time=68ms TTL=51
Reply from 192.178.24.142: bytes=32 time=53ms TTL=51

Ping statistics for 192.178.24.142:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 53ms, Maximum = 192ms, Average = 92ms

8. Ping -r 2 youtube.com
C:\Users\HP>ping -r 2 youtube.com

Pinging youtube.com [192.178.24.142] with 32 bytes of data:


Reply from 192.178.24.142: bytes=32 time=113ms TTL=51
Reply from 192.178.24.142: bytes=32 time=107ms TTL=51
Reply from 192.178.24.142: bytes=32 time=106ms TTL=51
Reply from 192.178.24.142: bytes=32 time=116ms TTL=51

Ping statistics for 192.178.24.142:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 106ms, Maximum = 116ms, Average = 110ms

9. Ping -s 2 youtube.com
C:\Users\HP>ping -s 2 youtube.com

Pinging youtube.com [192.178.24.142] with 32 bytes of data:


Reply from 192.178.24.142: bytes=32 time=1269ms TTL=51
Reply from 192.178.24.142: bytes=32 time=153ms TTL=51
Reply from 192.178.24.142: bytes=32 time=112ms TTL=51
Reply from 192.178.24.142: bytes=32 time=116ms TTL=51

Ping statistics for 192.178.24.142:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 112ms, Maximum = 1269ms, Average = 412ms

10. Ping -w number google.com


C:\Users\HP>ping -w 2 google.com

Pinging google.com [2a00:1450:4018:809::200e] with 32 bytes of data:


Request timed out.
Request timed out.
Reply from 2a00:1450:4018:809::200e: time=120ms
Reply from 2a00:1450:4018:809::200e: time=120ms

Ping statistics for 2a00:1450:4018:809::200e:


Packets: Sent = 4, Received = 2, Lost = 2 (50% loss),
Approximate round trip times in milli-seconds:
Minimum = 120ms, Maximum = 120ms, Average = 120ms

C:\Users\HP>ping -w 6 google.com

Pinging google.com [2a00:1450:4018:809::200e] with 32 bytes of data:


Request timed out.
Reply from 2a00:1450:4018:809::200e: time=228ms
Reply from 2a00:1450:4018:809::200e: time=284ms
Reply from 2a00:1450:4018:809::200e: time=75ms

Ping statistics for 2a00:1450:4018:809::200e:


Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
Minimum = 75ms, Maximum = 284ms, Average = 195ms

11. Ping -R google.com


C:\Users\HP>ping -R google.com

Pinging google.com [2a00:1450:4018:809::200e] with 32 bytes of data:


Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 2a00:1450:4018:809::200e:


Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Because it is used for IP V6.

12. Ping -S 2404:3100:1c15:3da9:27d1:b569:b483:664b google.com


C:\Users\HP>ping -S 2404:3100:1c15:3da9:27d1:b569:b483:664b google.com

Pinging google.com [2a00:1450:4018:809::200e] from 2404:3100:1c15:3da9:27d1:b569:b483:664b with


32 bytes of data:
Reply from 2a00:1450:4018:809::200e: time=308ms
Reply from 2a00:1450:4018:809::200e: time=94ms
Request timed out.
Reply from 2a00:1450:4018:809::200e: time=163ms

Ping statistics for 2a00:1450:4018:809::200e:


Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
Minimum = 94ms, Maximum = 308ms, Average = 188ms

13. Ping -c compartment google.com


C:\Windows\system32>ping -c compartment google.com

Pinging google.com [2a00:1450:4018:809::200e] with 32 bytes of data:


Reply from 2a00:1450:4018:809::200e: time=103ms
Reply from 2a00:1450:4018:809::200e: time=108ms
Reply from 2a00:1450:4018:809::200e: time=87ms
Reply from 2a00:1450:4018:809::200e: time=121ms

Ping statistics for 2a00:1450:4018:809::200e:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 87ms, Maximum = 121ms, Average = 104ms

14. Ping -4 google.com


C:\Windows\system32>ping -4 google.com

Pinging google.com [192.178.24.142] with 32 bytes of data:


Reply from 192.178.24.142: bytes=32 time=65ms TTL=51
Reply from 192.178.24.142: bytes=32 time=179ms TTL=51
Reply from 192.178.24.142: bytes=32 time=85ms TTL=51
Reply from 192.178.24.142: bytes=32 time=100ms TTL=51

Ping statistics for 192.178.24.142:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 65ms, Maximum = 179ms, Average = 107ms

15. Ping -6 google.com


C:\Windows\system32>ping -6 google.com

Pinging google.com [2a00:1450:4018:809::200e] with 32 bytes of data:


Reply from 2a00:1450:4018:809::200e: time=203ms
Reply from 2a00:1450:4018:809::200e: time=83ms
Reply from 2a00:1450:4018:809::200e: time=119ms
Reply from 2a00:1450:4018:809::200e: time=78ms

Ping statistics for 2a00:1450:4018:809::200e:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 78ms, Maximum = 203ms, Average = 120ms
Tracert Command:

 Tracert google.com
C:\Windows\system32>tracert google.com

Tracing route to google.com [2a00:1450:4018:802::200e]


over a maximum of 30 hops:

1 * 168 ms 38 ms 2404:3100:1c15:3da9::83
2 * * * Request timed out.
3 105 ms 160 ms 184 ms 2404:3100:0:aa00::41
4 1044 ms 98 ms 103 ms 2404:3100:0:aa00::e3
5 * * * Request timed out.
6 82 ms 123 ms 396 ms 2404:3100:0:aa00::181
7 74 ms 73 ms 68 ms 2404:3100:0:ff00::2:218b
8 97 ms 127 ms 63 ms 2404:3100:0:ff00::2:218a
9 94 ms 91 ms * 2404:3100:0:ff00::2:2223
10 78 ms 88 ms 299 ms 2401:1::20
11 86 ms 95 ms * 2401:1::25
12 88 ms 96 ms 63 ms 2404:d400:4000:2e::1
13 129 ms 81 ms 106 ms 2404:d400:0:c::1
14 107 ms 133 ms 68 ms 2404:d400:0:35::1
15 160 ms * * 2001:4860:1:1::2094
16 144 ms 89 ms 159 ms 2a00:1450:8148::1
17 127 ms 378 ms 175 ms 2001:4860:0:1::3988
18 327 ms 229 ms 412 ms 2001:4860:0:1::7d99
19 126 ms 142 ms 108 ms mct04s01-in-x0e.1e100.net [2a00:1450:4018:802::200e]

Trace complete.

 Tracert –help
C:\Windows\system32>tracert --help
--help is not a valid command option.

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.

 Tracert -d google.com
C:\Windows\system32>tracert -d google.com

Tracing route to google.com [2a00:1450:4018:802::200e]


over a maximum of 30 hops:
1 11 ms 42 ms 12 ms 2404:3100:1c15:3da9::83
2 * * * Request timed out.
3 349 ms 66 ms 110 ms 2404:3100:0:aa00::41
4 487 ms 38 ms 51 ms 2404:3100:0:aa00::e3
5 * * * Request timed out.
6 General failure.

Trace complete.

 Tracert -h 2 google.com
C:\Windows\system32>tracert -h 2 google.com

Tracing route to google.com [2a00:1450:4018:806::200e]


over a maximum of 2 hops:

1 41 ms 10 ms 6 ms 2404:3100:1c15:3da9::83
2 * * * Request timed out.

Trace complete.

 Tracert -j google.com
C:\Windows\system32>tracert -j google.com

Tracing route to google.com [216.58.209.142]


over a maximum of 30 hops:

1 * * * Request timed out.


2 * * * Request timed out.
3 * * * Request timed out.
4 * * * Request timed out.
5 * * * Request timed out.
6 * * * Request timed out.
7 * * * Request timed out.
8 * * * Request timed out.
9 * * * Request timed out.
10 * * * Request timed out.
11 * * * Request timed out.
12 * * * Request timed out.
13 * * * Request timed out.
14 * * * Request timed out.
15 * * * Request timed out.
16 * * * Request timed out.
17 * * * Request timed out.
18 * * * Request timed out.
19 * * * Request timed out.
20 * * * Request timed out.
21 * * * Request timed out.
22 * * * Request timed out.
23 * * * Request timed out.
24 * * * Request timed out.
25 * * * Request timed out.
26 * * * Request timed out.
27 * * * Request timed out.
28 * * * Request timed out.
29 * * * Request timed out.
30 * * * Request timed out.

Trace complete.
 Tracert -w google.com
C:\Windows\system32>tracert -w google.com
Bad value for option -w.

C:\Windows\system32>tracert -w 4 google.com

Tracing route to google.com [2a00:1450:4018:807::200e]


over a maximum of 30 hops:

1 2 ms 1 ms 1 ms 2407:d000:406:7b34:1c27:ff2d:1e60:b422
2 3 ms 2 ms 3 ms 2407:d000:401:0:172:16:86:250
3 * * * Request timed out.
4 3 ms 3 ms 3 ms 2404:d400:8000:22::1
5 19 ms 20 ms 19 ms 2404:d400:0:88::1
6 20 ms 21 ms 21 ms 2404:d400:0:a6::1
7 * * * Request timed out.
8 62 ms 47 ms 36 ms 2a00:1450:815f::1
9 * * * Request timed out.
10 312 ms * 177 ms 2001:4860:0:1::74d
11 32 ms 32 ms 36 ms mct01s21-in-x0e.1e100.net [2a00:1450:4018:807::200e]

Trace complete.

 Tracert -4 google.com
C:\Windows\system32>tracert -4 google.com

Tracing route to google.com [142.250.201.142]


over a maximum of 30 hops:

1 1 ms <1 ms <1 ms 192.168.18.1


2 4 ms 3 ms 7 ms 172.16.86.250
3 * 4 ms 4 ms 172.31.11.130
4 4 ms 4 ms 3 ms 110.93.197.37
5 19 ms 20 ms 19 ms 110.93.253.124
6 23 ms 20 ms 24 ms 110.93.254.40
7 * * * Request timed out.
8 33 ms 31 ms 32 ms 216.239.48.133
9 31 ms 31 ms 31 ms 142.250.56.167
10 33 ms 31 ms 31 ms mct01s21-in-f14.1e100.net [142.250.201.142]

Trace complete.

 Tracert -6 google.com
C:\Windows\system32>tracert -6 google.com

Tracing route to google.com [2a00:1450:4018:80a::200e]


over a maximum of 30 hops:
1 2 ms 1 ms 1 ms 2407:d000:406:7b34:1c27:ff2d:1e60:b422
2 7 ms 3 ms 5 ms 2407:d000:401:0:172:16:86:250
3 * * * Request timed out.
4 3 ms 3 ms 3 ms 2404:d400:8000:22::1
5 55 ms 20 ms 20 ms 2404:d400:0:88::1
6 21 ms 21 ms 63 ms 2404:d400:0:a6::1
7 * * * Request timed out.
8 32 ms 31 ms 31 ms 2a00:1450:80c7::1
9 31 ms 31 ms 31 ms 2001:4860:0:1::7da0
10 31 ms 31 ms 31 ms 2001:4860:0:1::7da5
11 31 ms 31 ms 31 ms mct04s04-in-x0e.1e100.net [2a00:1450:4018:80a::200e]

Trace complete.

NSLOOKUP COMMAND:

 Nslookup google.com

C:\Windows\system32>nslookup google.com
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: fe80::1

DNS request timed out.


timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
*** Request to UnKnown timed-out

 Nslookup google.com 192.168.0.4


C:\Windows\system32>nslookup google.com 192.168.0.4
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: 192.168.0.4

DNS request timed out.


timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
*** Request to UnKnown timed-out
 Nslookup -type=Mx google.com
C:\Windows\system32>nslookup -type=Mx google.com
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: fe80::1

DNS request timed out.


timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
*** Request to UnKnown timed-out
 Nslookup -type=A google.com
C:\Windows\system32>nslookup -type=a google.com
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: fe80::1

DNS request timed out.


timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
*** Request to UnKnown timed-out

 Nslookup -type=NS google.com


C:\Windows\system32>nslookup -type=ns google.com
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: fe80::1

DNS request timed out.


timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
*** Request to UnKnown timed-out

 Nslookup -type=SOA google.com


C:\Windows\system32>nslookup -type=soa google.com
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: fe80::1

DNS request timed out.


timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
*** Request to UnKnown timed-out
 Nslookup -server= google.com
C:\Windows\system32>nslookup -server=google.com
*** Invalid option: server=google.com
DNS request timed out.
timeout was 2 seconds.
Default Server: UnKnown
Address: fe80::1

 Nslookup -debug google.com


C:\Windows\system32>nslookup -debug google.com
DNS request timed out.
timeout was 2 seconds.
timeout (2 secs)
Server: UnKnown
Address: fe80::1

DNS request timed out.


timeout was 2 seconds.
timeout (2 secs)
DNS request timed out.
timeout was 2 seconds.
timeout (2 secs)
DNS request timed out.
timeout was 2 seconds.
timeout (2 secs)
DNS request timed out.
timeout was 2 seconds.
timeout (2 secs)
*** Request to UnKnown timed-out

 Nslookup -set google.com


C:\Windows\system32>nslookup -set google.com
*** Invalid option: set
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: fe80::1

DNS request timed out.


timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
*** Request to UnKnown timed-out

 Nslookup -ls google.com


C:\Windows\system32>nslookup -ls google.com
*** Invalid option: ls
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: fe80::1

DNS request timed out.


timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
*** Request to UnKnown timed-out

You might also like