You are on page 1of 11

BASIC NETWOK TROUBLE SHOOTING

Troubleshooting with Ping

• Ping is a basic tool to find out the IP connectivity towards


the remote host and also provide the response time to
the destination host.

• The basic syntax is ping <ip-address>

• If you ping a remote host and you receive an answer


from it then the machine is reachable on IP level.

• Ping It will print a line for every answer it received.


Ping Response if the Host is reachable

If everything is okay it will display:

C:\>ping 172.16.13.16 Destination Host

Response to the
Pinging 172.16.13.16 with 32 bytes of data: Destination host

Reply from 172.16.13.16: bytes=32 time<10ms TTL=128


Reply from 172.16.13.16: bytes=32 time<10ms TTL=128
Reply from 172.16.13.16: bytes=32 time<10ms TTL=128
Reply from 172.16.13.16: bytes=32 time<10ms TTL=128 Percentage of
Loss of packets

Ping statistics for 172.16.13.16:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
Ping Response if the Host is Unreachable

• If a remote host is unreachable, ping will display the following output

C:\>ping 172.16.13.24

Pinging 172.16.13.24 with 32 bytes of data:

Request timed out.


Request timed out.
Request timed out.
Request timed out. Percentage of
Loss of packets

Ping statistics for 172.16.13.24:


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

• Traceroute is use to find out the network


path to reach the remote host.
• The basic syntax is tracert <host>
• for example traceroute www.google.com It
will print one line per hop.
Traceroute for Reachable hosts
C:\>tracert 208.220.241.1

Tracing route to cpr3660-1.satyam.com [208.220.241.1]


over a maximum of 30 hops:

1 <10 ms <10 ms <10 ms HHTPROXY [172.16.8.1]


2 <10 ms <10 ms <10 ms hht3640-1.satyam.com [208.199.59.1]
3 31 ms 78 ms 47 ms HCC7206_1S1_0-1.satyam.com [10.201.1.46]
4 31 ms 47 ms 31 ms 10.201.10.73
5 141 ms 140 ms 141 ms CTP3640_1S0_0-2.satyam.com [10.37.2.1]
6 125 ms 187 ms 157 ms cpr3660-1.satyam.com [208.220.241.1]

Trace Complete
Traceroute for unreachable hosts
C:\>tracert www.google.com -d

Tracing route to www.l.google.com [64.233.161.104]


over a maximum of 30 hops:

1 <10 ms <10 ms <10 ms 172.16.8.1


2 <10 ms <10 ms <10 ms 208.199.59.1
3 <10 ms <10 ms 15 ms 10.201.1.14
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.
Telnet

• On networking perspective, Telnet is used to


check the port on the remote host is open or not.
• When the network has confirmed to be allright,
it's time to check the remote host itself.
• The basic syntax is telnet <Host> <port>
• For example if the remote host is running a
webserver is should allow a TCP session to port
80.
Reachable services

• When a remote host is running a webserver it


should allow a TCP session to port 80.

C:\>telnet www.google.com 80
This remote host has a service running on port 80.
Unreachable services

When a remote host isn't running a service,


it will refuse the TCP connection.

C:\>telnet www.google.com 80
Connecting To www.google.com...Could not open a
connection to host on port 80 :
Connect failed
Thank You

You might also like