This document provides an agenda and overview for an IP network diagnostic training session. The training will cover network diagnostic concepts, hostname resolution verification using nslookup and dig, network connection verification using ping and traceroute, and application condition verification. It includes examples of using these tools and concepts like ICMP packets, TTL, and troubleshooting network reachability. The goal is for students to understand basic network troubleshooting principles and tools.
1 of 38
Downloaded 34 times
More Related Content
FEGTS IP Training - Network Diagnostic Introduction
1. c o m m Ve r Ge ? Hong Kong
S O L U T I O N S
? Bangkok
FEGTS IP Training ? Beijing
2011/11/11, Taipei ? Brunei
? Kuala Lumpur
? Manila
? San Jose
Network Diagnostic ? Seoul
Introduction ? Shanghai
? Singapore
? Taipei
Kae Hsu
Commverge Solutions, Taiwan
2. Object
? Course Object
¨C By the course, the students could understand basic
network troubleshooting concept, principle and relative
WWW.COMMVERGE.COM
tools
? Course Information
¨C 2.5 hours lecture & hand-on practice
¨C 30 minutes Q & A
2
10. Network connection verification
¨C ping
? Check network connection status
¨C concept
WWW.COMMVERGE.COM
Are you Are you
there? there?
Are you
Are you
¡°Server¡± is alive there?
there?
Are you Are you
there? there?
Client Server
I am
I am I am
here
here here
I am
I am here
here
I am
I am here
here 10
14. Network connection verification
¨C traceroute
? Check packet forwarding path information
¨C concept (in forwarding path)
WWW.COMMVERGE.COM
? router will drop packet with TTL=1
¨C ¡°ICMP time exceeded¡± message sent to source with router
inbound interface
TTL=1
ICMP
TTL=2 TTL=1
ICMP
TTL=3 TTL=2 TTL=1
ICMP
14
15. Network connection verification
¨C concept (arrive destination)
? destination will NOT check TTL status
? different response with different probe packet
WWW.COMMVERGE.COM
¨C ICMP echo-request ¨C response ICMP echo-reply
¨C UDP with high destination port ¨C response ICMP port unreachable
? ICMP
TTL=4 TTL=3 TTL=2 TTL=1
ICMP
echo reply
? UDP
TTL=4 TTL=3 TTL=2 TTL=1
ICMP port
unreachable
15
16. Network connection verification
¨C Multiple path in a single traceroute task
? router load-share the traffic by flow information
? identify different flow by
WWW.COMMVERGE.COM
¨C different ICMP echo-request identifier
¨C different UDP port number
ICMP
Time Exceed
ICMP
TTL=3 Time Exceed
ICMP
Time Exceed
ICMP
Time Exceed 16
17. Application condition verification
? Internet application communication concept
¨C TCP 3 way handshaking
WWW.COMMVERGE.COM
? Verify TCP connection first during troubleshooting
From "Figure 211: TCP ¡°Three-Way Handshake¡± Connection Establishment Procedure" in TCP/IP Guide
17
18. Application condition verification
¨C telnet
? To verify the destination site service status
¨C example
WWW.COMMVERGE.COM
? A WEB service
? check correct IP information
? check network connection status
? check service response
18
26. Friendly Tools
¨C Wireshark reference guide
? ¡°Wireshark Network Analysis, The Official Wireshark Certified
Network Analyst Study Guide¡± by Laura Chappell
WWW.COMMVERGE.COM
26
34. Prior Course Q & A Summary
? Is there any troubleshooting skill for SCTP?
¨C Using Tools
? Iperf over SCTP
WWW.COMMVERGE.COM
¨C Adapted version of Iperf(version 1.6.5), runs on lksctp
¨C Use iperf with ¨Cz to open SCTP connection to test target
? Windows SCTP library
¨C Bundle some SCTP application for simple test
¨C Useful link
? http://www.sctp.be/
¨C SCTP research and simulation page
¨C SCTP Software page
¨C SCTP application Software production page
? http://sigtran.org
¨C SCTP Test Tool (stt)
¨C SCTP Performance Test
34
35. Prior Course Q & A Summary
? How to capture packet by tcpdump from TWO or more
NICs at the same time?
A. Use ¡°any¡± as ¡°-i¡± parameter on Linux
WWW.COMMVERGE.COM
a) From tcpdump man page:
-I
Listen on interface. If unspecified, tcpdump searches the system
interface list for the lowest numbered, configured up interface
(excluding loopback). Ties are broken by choosing the earliest
match.On Linux systems with 2.2 or later kernels,
an interface argument of ``any'' can be used to capture packets from
all interfaces. Note that captures on the ``any'' device will not be done
in promiscuous mode.If the -D flag is supported, an interface number
as printed by that flag can be used as the interface argument.
35
36. Prior Course Q & A Summary
? How to flush DNS cache manually?
¨C With BIND 9.2.0 or newer
? # rndc flush
WWW.COMMVERGE.COM
¨C With older BIND
? Kill BIND process and restart it
? # rndc restart
¨C For detail information, please refer
? ¡°Flushing (Clearing) a Name Server's Cache¡±
from ¡°DNS & Bind Cookbook¡± by Cricket Liu, O?Reilly
36
37. Prior Course Q & A Summary
? How to execute ping by different interface?
¨C Windows platform
? Use ?-S? parameter to identify source IP address
WWW.COMMVERGE.COM
¨C Linux
? Use ?-I interface/IP_address? to identify source IP address
¨C IOS
? Enter extended command to identify source IP or interface
? Use ¡°source¡± parameter to identify source IP address (newer)
¨C Junos
? Use ¡°source¡± parameter to identify source IP address
37