NM 8
NM 8
E-mail: [email protected]
[email protected]
Kigali, Rwanda
TROUBLESHOOTING NETWORK PROBLEMS
❖ Troubleshooting is a process of identifying common network problems.
◼ If a computer is unable to connect to a network or
◼ see other computers on a network for instance, it may be necessary to troubleshoot the
network.
❖ A network may not work because of any of the below reasons:
◼ Bad network hardware/ interconnections.
◼ Network card not connected properly.
◼ Bad network card drivers or software settings.
◼ Firewall preventing computers from seeing each other.
◼ Connection related issues.
2
Con’t
3
Basic Troubleshooting
4
❖ It can be done in 2 ways:
◼ Hardware
◼ Software
5
6
7
8
9
Cable tester
10
Time domain reflectometers/ Optical TDR
11
12
13
Light meter
14
15
Multimeters
16
17
Line testers
18
19
Con’t
20
21
Software Tools
❖Built-in Tools
◼ tracert/ traceroute
◼ ipconfig / ifconfig / ip
◼ hostname
◼ netstat
◼ etc…
22
TRACEROUTE command
23
24
25
26
27
28
29
30
Tracert google.com
31
Number of hoops
32
Number of hoops
33
Round time each data packet took to each point and back to your computer
34
For the last hop, time is a bit higher
35
Comparison between traceroute & ping
36
The last column tells us the IP addresses of each router / final destination/ Domaine name if
it’s available
37
Sometimes High Round trip times reveals bottlenecks/ connection interruptions or network
38
High round trips times
39
Problem on the 5th router
40
Sometimes high round trip time doesn’t necessary mean a problem
41
Con’t
42
It may be due to long distance between routers (thousands miles apart)
43
Asterix (*) , there could be a problem with the router/ or the router is working fine but not
configured to return traceroute replies.
44
One strange higher round trip time, doesn’t necessary indicate a problem, it just means
something strange has happened to that one data packet.
45
TTL: Time to live
46
TTL: a given value to the data packets on how long they can live before they are discarded.
47
Tracert –h 4 google.com = limit hops to a maximum number of 4.
48
TTL prevents data packets from travelling endlessly around the internet
49
IPCONFIG Command
50
IPCONFIG Command
51
IPV4, IPV6 Address
52
Subnet Mask
53
Default Gateway
54
Default Gateway
55
These days, IPv4, and IPv6 are being provided, since IPv4 has run out.
56
Dual stack
57
Con’t
58
ipconfig/all
59
ipconfig/all
60
DNS
61
DNS
62
DNS
63
DNS RESOLVER CACHE
64
Con’t
65
Con’t
66
Con’t
67
Con’t
68
ipconfig/displaydns
69
70
71
ARP command
72
ARP command
73
ARP command (IP/MAC Address)
74
Checking ARP cache (arp -a)
75
Checking ARP
76
Checking ARP
77
78
Checking ARP
79
Dynamic/static
80
Dynamic/static
81
Dynamic/static
82
Dynamic/static
83
PING Command
84
PING Command
85
ping (IP address)
86
ping (IP address)
87
Request timed out
88
Request timed out
89
Packets lost
90
Destination unreachable
91
For example:
92
You ping another site (like yahoo), and it works
93
You conclude by saying that you are connected well to the network
94
Then, the problem might be internet browser/ firewall
95
Ping, can save your time!
96
Ping to test DNS
97
98
ping yahoo.com (ping domain name)
99
Ping could not find host yahoo.com
100
But if you use ping (domain IP like 8.8.8.8 of google.com), and it works.
This shows a problem of DNS resolver
101
Ipconfig /flushdns
102
To flush your DNS resolver cache
103
ping /?
104
NETSTAT Command
105
NETSTAT Command
106
NETSTAT Command
107
NETSTAT Command
108
Two https
109
One ftp
110
Two pc
111
NETSTAT Command with subcommands
112
113
Netstat –a : types of protocops (tcp/udp)
114
Netstat –a : types of protocops (tcp/udp)
115
Netstat –b (shows which program is used to make connection)
116
Netstat –b (shows domain name in the foreign address)
117
Netstat –bf (shows which program is used to make connection, and the domain name)
118
Netstat –? (shows all protocol statistics)
119
Other third party- software tools
120
Other third party- software tools
121
Other third party- software tools
122
Discuss the following in Groups
1. What is the purpose of having a TTL in the first place for trace route command.
2. Discuss in details the following protocols: TCP, and UDP, and provide their
differences and examples for each.
3. a. Why should you flush your DNS resolver cache?
b. Explain what is meant by DNS spoofing
4. Discuss the following third-party software tools for troubleshooting, and provide
examples for each.
◼ Packet sniffers
◼ Port scanners
◼ Throughput testers
123
Thank you for Your Attention
Dr. Nadia IRADUKUNDA
E-mail: [email protected]
[email protected]