SlideShare uma empresa Scribd logo
1 de 38
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
Object
 Course Object
   – By the course, the students could understand basic
     network troubleshooting concept, principle and relative




                                                                   WWW.COMMVERGE.COM
     tools

 Course Information
   – 2.5 hours lecture & hand-on practice
   – 30 minutes Q & A




                                                               2
Agenda
 Network diagnostic concept
 Hostname resolution verification




                                           WWW.COMMVERGE.COM
 Network connection verification
 Application condition verification
 Low level traffic investigation
 Friendly tools
 Hands-on practice




                                       3
Network diagnostic concept
          Regular Internet connection concept
                               DNS




                                                          WWW.COMMVERGE.COM
             www.abc.com =
              203.47.56.180




             www.abc.com = ?




Client                                           Server




                                                    4
Network diagnostic concept
 Regular troubleshooting sequence
   – Hostname resolution verification
      • nslookup & dig




                                              WWW.COMMVERGE.COM
   – Network connection verification
      • ping & traceroute
   – Application condition verification
      • telnet




                                          5
Hostname resolution verification
  – nslookup
     • Name/IP address query




                                       WWW.COMMVERGE.COM
                                   6
Hostname resolution verification
  – nslookup
     • Mail Exchange (MX) query




                                       WWW.COMMVERGE.COM
                                   7
Hostname resolution verification
  – dig
     • Name/IP address query




                                       WWW.COMMVERGE.COM
                                   8
Hostname resolution verification
  – dig
     • Mail Exchange (MX) query




                                       WWW.COMMVERGE.COM
                                   9
Network connection verification
             – ping
                     • Check network connection status
             – 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
Network connection verification
              – ping
                     • ICMP packet
                             – ICMP echo-request & echo-reply




                                                                                                                     WWW.COMMVERGE.COM
                             – Identify reachability & round-trip time
                                                 echo              echo
                                                request           request
                                                                                     echo
                          echo
“Server” is alive                                                                   request
                         request
             echo                                                                                  echo
           request                                                                                request



Client                                                                                                      Server
                                        echo
           echo                                                                                     echo
                                        reply
           reply                                                                                    reply
                                                                                          echo
                     echo                                                                 reply
                     reply


                                                                            echo
                                                          echo              reply
                                                          reply                                               11
Network connection verification
             – ping
                    • ICMP identifier & sequence number
                            – match reply & request




                                                                                                                  WWW.COMMVERGE.COM
                                              echo              echo
                                             request           request
                                                                                  echo
                         echo                                                    request
                        request
           echo                                                                                 echo
          request                                                                              request



Client                                                                                                   Server
                                     echo
          echo                                                                                   echo
                                     reply
          reply                                                                                  reply
                                                                                       echo
                    echo                                                               reply
                    reply


                                                                         echo
                                                       echo              reply
                                                       reply                                               12
Network connection verification
            – ICMP block by network filter




                                                                                     WWW.COMMVERGE.COM
                                echo          echo
                               request       request
                                                        echo
                    echo                               request
 ICMP timeout                                              packet dropped
                   request
          echo
         request



Client                                                                      Server




                                                                              13
Network connection verification
  – traceroute
     • Check packet forwarding path information
  – concept (in forwarding path)




                                                                             WWW.COMMVERGE.COM
     • router will drop packet with TTL=1
            – “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
Network connection verification
  – concept (arrive destination)
     • destination will NOT check TTL status
     • different response with different probe packet




                                                                                        WWW.COMMVERGE.COM
            – ICMP echo-request – response ICMP echo-reply
            – UDP with high destination port – 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
Network connection verification
  – Multiple path in a single traceroute task
          • router load-share the traffic by flow information
          • identify different flow by




                                                                     WWW.COMMVERGE.COM
             – different ICMP echo-request identifier
             – different UDP port number
                                  ICMP
                               Time Exceed




                                         ICMP
  TTL=3                               Time Exceed




                                         ICMP
                                      Time Exceed




                                         ICMP
                                      Time Exceed               16
Application condition verification
 Internet application communication concept
   – 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
Application condition verification
  – telnet
     • To verify the destination site service status
  – example




                                                            WWW.COMMVERGE.COM
     •   A WEB service
     •   check correct IP information
     •   check network connection status
     •   check service response




                                                       18
Application condition verification
  – example




                                          WWW.COMMVERGE.COM
                                     19
Low level traffic investigation
 “Sniffer” the traffic
    – TCPDUMP




                                       WWW.COMMVERGE.COM
                                  20
Friendly Tools
 WinMTR
  – Probe target & provide path information together
     • Download: http://winmtr.net/download-winmtr/




                                                            WWW.COMMVERGE.COM
                                                       21
Friendly Tools
 Looking glass
   – Execute ping/traceroute from different sites




                                                         WWW.COMMVERGE.COM
                                                    22
Friendly Tools
 Looking glass




                       WWW.COMMVERGE.COM
                  23
Friendly Tools
 Looking glass list




                            WWW.COMMVERGE.COM
                       24
Friendly Tools
 Wireshark




                      WWW.COMMVERGE.COM
                 25
Friendly Tools
  – Wireshark reference guide
     • “Wireshark Network Analysis, The Official Wireshark Certified
       Network Analyst Study Guide” by Laura Chappell




                                                                            WWW.COMMVERGE.COM
                                                                       26
Hands-on practice
      Lab environment




                                                                                                              WWW.COMMVERGE.COM
                                                                   Sniffer box




                                                     192.168.4.X
                             192.168.2.X
           192.168.1.X                               192.168.5.X                 192.168.7.X
                             192.168.3.X             192.168.6.X

                         J4350             C3750-1                 C3750-2                     192.168.7.6
SSID: WL-330gE
PWD: 0123456789            .3                .1                      .2
192.168.1.0/24




                                                                                                         27
Hands-on practice
 Install Wireshark
   – Download: http://www.wireshark.org/download.html




                                                             WWW.COMMVERGE.COM
                                                        28
Hands-on practice
  – Use Wireshark to monitor DNS message




                                                WWW.COMMVERGE.COM
                                           29
Hands-on practice
  – Use Wireshark to monitor ICMP message




                                                 WWW.COMMVERGE.COM
                                            30
Hands-on practice
 ping




                         WWW.COMMVERGE.COM
                    31
Hands-on practice
 traceroute




                         WWW.COMMVERGE.COM
                    32
Hands-on practice
 DNS –
  nslookup
   – 開始 ->




                         WWW.COMMVERGE.COM
     執行 ->
     “cmd”




                    33
Prior Course Q & A Summary
 Is there any troubleshooting skill for SCTP?
   – Using Tools
      • Iperf over SCTP




                                                                           WWW.COMMVERGE.COM
         – Adapted version of Iperf(version 1.6.5), runs on lksctp
         – Use iperf with –z to open SCTP connection to test target
      • Windows SCTP library
         – Bundle some SCTP application for simple test
   – Useful link
      • http://www.sctp.be/
         – SCTP research and simulation page
         – SCTP Software page
         – SCTP application Software production page
      • http://sigtran.org
         – SCTP Test Tool (stt)
         – SCTP Performance Test



                                                                      34
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
Prior Course Q & A Summary
 How to flush DNS cache manually?
   – With BIND 9.2.0 or newer
      • # rndc flush




                                                                    WWW.COMMVERGE.COM
   – With older BIND
      • Kill BIND process and restart it
      • # rndc restart
   – For detail information, please refer
      • “Flushing (Clearing) a Name Server's Cache”
         from “DNS & Bind Cookbook” by Cricket Liu, O‟Reilly




                                                               36
Prior Course Q & A Summary
 How to execute ping by different interface?
   – Windows platform
      • Use „-S‟ parameter to identify source IP address




                                                                            WWW.COMMVERGE.COM
   – Linux
      • Use „-I interface/IP_address‟ to identify source IP address
   – IOS
      • Enter extended command to identify source IP or interface
      • Use “source” parameter to identify source IP address (newer)
   – Junos
      • Use “source” parameter to identify source IP address




                                                                       37
Q&A




38




     WWW.COMMVERGE.COM

Mais conteúdo relacionado

Destaque

4 Byte As Ns Test Scenarios
4 Byte As Ns Test Scenarios4 Byte As Ns Test Scenarios
4 Byte As Ns Test Scenarios
Kae Hsu
 
4byte As Number Migration Suggestion
4byte As Number Migration Suggestion4byte As Number Migration Suggestion
4byte As Number Migration Suggestion
Kae Hsu
 
Toward The Semantic Deep Web
Toward The Semantic Deep WebToward The Semantic Deep Web
Toward The Semantic Deep Web
Samiul Hoque
 
How Internet Works
How Internet WorksHow Internet Works
How Internet Works
Kae Hsu
 
Redundant Internet service provision - customer viewpoint
Redundant Internet service provision - customer viewpointRedundant Internet service provision - customer viewpoint
Redundant Internet service provision - customer viewpoint
Kae Hsu
 

Destaque (17)

Rawnet Lightning Talk - 'What is an idea & how do you create them?'
Rawnet Lightning Talk - 'What is an idea & how do you create them?'Rawnet Lightning Talk - 'What is an idea & how do you create them?'
Rawnet Lightning Talk - 'What is an idea & how do you create them?'
 
Rawnet Lightning Talk - Web Components
Rawnet Lightning Talk - Web ComponentsRawnet Lightning Talk - Web Components
Rawnet Lightning Talk - Web Components
 
4 Byte As Ns Test Scenarios
4 Byte As Ns Test Scenarios4 Byte As Ns Test Scenarios
4 Byte As Ns Test Scenarios
 
4byte As Number Migration Suggestion
4byte As Number Migration Suggestion4byte As Number Migration Suggestion
4byte As Number Migration Suggestion
 
Toward The Semantic Deep Web
Toward The Semantic Deep WebToward The Semantic Deep Web
Toward The Semantic Deep Web
 
A review of Concrete 5 and what is new in version 5.7
A review of Concrete 5 and what is new in version 5.7A review of Concrete 5 and what is new in version 5.7
A review of Concrete 5 and what is new in version 5.7
 
Rawnet Lightning Talk - Design Inspiration
Rawnet Lightning Talk - Design InspirationRawnet Lightning Talk - Design Inspiration
Rawnet Lightning Talk - Design Inspiration
 
Rawnet Lightning Talk - Elasticsearch
Rawnet Lightning Talk -  ElasticsearchRawnet Lightning Talk -  Elasticsearch
Rawnet Lightning Talk - Elasticsearch
 
Web 101 by Jennifer Lill
Web 101 by Jennifer LillWeb 101 by Jennifer Lill
Web 101 by Jennifer Lill
 
20th TWNIC OPM IPv6 Support by SDN & NFV
20th TWNIC OPM IPv6 Support by SDN & NFV20th TWNIC OPM IPv6 Support by SDN & NFV
20th TWNIC OPM IPv6 Support by SDN & NFV
 
Rawnet Lightning Talk - Anyone Can Draw.
Rawnet Lightning Talk - Anyone Can Draw.Rawnet Lightning Talk - Anyone Can Draw.
Rawnet Lightning Talk - Anyone Can Draw.
 
Network Design in Cloud-ready IDC
Network Design in Cloud-ready IDCNetwork Design in Cloud-ready IDC
Network Design in Cloud-ready IDC
 
How Internet Works
How Internet WorksHow Internet Works
How Internet Works
 
Redundant Internet service provision - customer viewpoint
Redundant Internet service provision - customer viewpointRedundant Internet service provision - customer viewpoint
Redundant Internet service provision - customer viewpoint
 
Rawnet Lightning talk - 'Thinking, Fast and Slow' review
Rawnet Lightning talk - 'Thinking, Fast and Slow' reviewRawnet Lightning talk - 'Thinking, Fast and Slow' review
Rawnet Lightning talk - 'Thinking, Fast and Slow' review
 
Multimedia- How Internet Works
Multimedia- How Internet WorksMultimedia- How Internet Works
Multimedia- How Internet Works
 
1 introduction-to-computer-networking
1 introduction-to-computer-networking1 introduction-to-computer-networking
1 introduction-to-computer-networking
 

Mais de Kae Hsu (6)

FEGTS IP training - TCP/IP Introduction
FEGTS IP training - TCP/IP IntroductionFEGTS IP training - TCP/IP Introduction
FEGTS IP training - TCP/IP Introduction
 
TWNIC 13th OPM session
TWNIC 13th OPM sessionTWNIC 13th OPM session
TWNIC 13th OPM session
 
Suggestions for end users to deploy multihoming, load-balance and load-sharing
Suggestions for end users to deploy multihoming, load-balance and load-sharingSuggestions for end users to deploy multihoming, load-balance and load-sharing
Suggestions for end users to deploy multihoming, load-balance and load-sharing
 
r2
r2r2
r2
 
Suggestions for end users to deploy multihoming, load-balance and load-sharing
Suggestions for end users to deploy multihoming, load-balance and load-sharingSuggestions for end users to deploy multihoming, load-balance and load-sharing
Suggestions for end users to deploy multihoming, load-balance and load-sharing
 
Suggestions for end users to deploy multihoming, load-balance and load-sharing
Suggestions for end users to deploy multihoming, load-balance and load-sharingSuggestions for end users to deploy multihoming, load-balance and load-sharing
Suggestions for end users to deploy multihoming, load-balance and load-sharing
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

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 – By the course, the students could understand basic network troubleshooting concept, principle and relative WWW.COMMVERGE.COM tools  Course Information – 2.5 hours lecture & hand-on practice – 30 minutes Q & A 2
  • 3. Agenda  Network diagnostic concept  Hostname resolution verification WWW.COMMVERGE.COM  Network connection verification  Application condition verification  Low level traffic investigation  Friendly tools  Hands-on practice 3
  • 4. Network diagnostic concept  Regular Internet connection concept DNS WWW.COMMVERGE.COM www.abc.com = 203.47.56.180 www.abc.com = ? Client Server 4
  • 5. Network diagnostic concept  Regular troubleshooting sequence – Hostname resolution verification • nslookup & dig WWW.COMMVERGE.COM – Network connection verification • ping & traceroute – Application condition verification • telnet 5
  • 6. Hostname resolution verification – nslookup • Name/IP address query WWW.COMMVERGE.COM 6
  • 7. Hostname resolution verification – nslookup • Mail Exchange (MX) query WWW.COMMVERGE.COM 7
  • 8. Hostname resolution verification – dig • Name/IP address query WWW.COMMVERGE.COM 8
  • 9. Hostname resolution verification – dig • Mail Exchange (MX) query WWW.COMMVERGE.COM 9
  • 10. Network connection verification – ping • Check network connection status – 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
  • 11. Network connection verification – ping • ICMP packet – ICMP echo-request & echo-reply WWW.COMMVERGE.COM – Identify reachability & round-trip time echo echo request request echo echo “Server” is alive request request echo echo request request Client Server echo echo echo reply reply reply echo echo reply reply echo echo reply reply 11
  • 12. Network connection verification – ping • ICMP identifier & sequence number – match reply & request WWW.COMMVERGE.COM echo echo request request echo echo request request echo echo request request Client Server echo echo echo reply reply reply echo echo reply reply echo echo reply reply 12
  • 13. Network connection verification – ICMP block by network filter WWW.COMMVERGE.COM echo echo request request echo echo request ICMP timeout packet dropped request echo request Client Server 13
  • 14. Network connection verification – traceroute • Check packet forwarding path information – concept (in forwarding path) WWW.COMMVERGE.COM • router will drop packet with TTL=1 – “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 – concept (arrive destination) • destination will NOT check TTL status • different response with different probe packet WWW.COMMVERGE.COM – ICMP echo-request – response ICMP echo-reply – UDP with high destination port – 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 – Multiple path in a single traceroute task • router load-share the traffic by flow information • identify different flow by WWW.COMMVERGE.COM – different ICMP echo-request identifier – 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 – 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 – telnet • To verify the destination site service status – example WWW.COMMVERGE.COM • A WEB service • check correct IP information • check network connection status • check service response 18
  • 19. Application condition verification – example WWW.COMMVERGE.COM 19
  • 20. Low level traffic investigation  “Sniffer” the traffic – TCPDUMP WWW.COMMVERGE.COM 20
  • 21. Friendly Tools  WinMTR – Probe target & provide path information together • Download: http://winmtr.net/download-winmtr/ WWW.COMMVERGE.COM 21
  • 22. Friendly Tools  Looking glass – Execute ping/traceroute from different sites WWW.COMMVERGE.COM 22
  • 23. Friendly Tools  Looking glass WWW.COMMVERGE.COM 23
  • 24. Friendly Tools  Looking glass list WWW.COMMVERGE.COM 24
  • 25. Friendly Tools  Wireshark WWW.COMMVERGE.COM 25
  • 26. Friendly Tools – Wireshark reference guide • “Wireshark Network Analysis, The Official Wireshark Certified Network Analyst Study Guide” by Laura Chappell WWW.COMMVERGE.COM 26
  • 27. Hands-on practice  Lab environment WWW.COMMVERGE.COM Sniffer box 192.168.4.X 192.168.2.X 192.168.1.X 192.168.5.X 192.168.7.X 192.168.3.X 192.168.6.X J4350 C3750-1 C3750-2 192.168.7.6 SSID: WL-330gE PWD: 0123456789 .3 .1 .2 192.168.1.0/24 27
  • 28. Hands-on practice  Install Wireshark – Download: http://www.wireshark.org/download.html WWW.COMMVERGE.COM 28
  • 29. Hands-on practice – Use Wireshark to monitor DNS message WWW.COMMVERGE.COM 29
  • 30. Hands-on practice – Use Wireshark to monitor ICMP message WWW.COMMVERGE.COM 30
  • 31. Hands-on practice  ping WWW.COMMVERGE.COM 31
  • 32. Hands-on practice  traceroute WWW.COMMVERGE.COM 32
  • 33. Hands-on practice  DNS – nslookup – 開始 -> WWW.COMMVERGE.COM 執行 -> “cmd” 33
  • 34. Prior Course Q & A Summary  Is there any troubleshooting skill for SCTP? – Using Tools • Iperf over SCTP WWW.COMMVERGE.COM – Adapted version of Iperf(version 1.6.5), runs on lksctp – Use iperf with –z to open SCTP connection to test target • Windows SCTP library – Bundle some SCTP application for simple test – Useful link • http://www.sctp.be/ – SCTP research and simulation page – SCTP Software page – SCTP application Software production page • http://sigtran.org – SCTP Test Tool (stt) – 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? – With BIND 9.2.0 or newer • # rndc flush WWW.COMMVERGE.COM – With older BIND • Kill BIND process and restart it • # rndc restart – 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? – Windows platform • Use „-S‟ parameter to identify source IP address WWW.COMMVERGE.COM – Linux • Use „-I interface/IP_address‟ to identify source IP address – IOS • Enter extended command to identify source IP or interface • Use “source” parameter to identify source IP address (newer) – Junos • Use “source” parameter to identify source IP address 37
  • 38. Q&A 38 WWW.COMMVERGE.COM