Lecture#7:Connectivity Verification

Slides:



Advertisements
Similar presentations
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Introduction to IPv4 Introduction to Networks.
Advertisements

© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Computer Networks21-1 Chapter 21. Network Layer: Address Mapping, Error Reporting, and Multicasting 21.1 Address Mapping 21.2 ICMP 21.3 IGMP 21.4 ICMPv6.
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
CCNA2 Module 4. Discovering and Connecting to Neighbors Enable and disable CDP Use the show cdp neighbors command Determine which neighboring devices.
CSCI 4550/8556 Computer Networks Comer, Chapter 23: An Error Reporting Mechanism (ICMP)
Internet Control Message Protocol (ICMP)
CPSC 441 Tutorial - Network Tools 1 Network Tools CPSC 441 – Computer Communications Tutorial.
1 CCNA 2 v3.1 Module 8. 2 TCP/IP Suite Error and Control Messages CCNA 2 Module 8.
WXES2106 Network Technology Semester /2005 Chapter 7 TCP/IP Suite Error and Control Messages CCNA2: Module 8, 9.
ICMP: Ping and Trace CCNA 1 version 3.0 Rick Graziani Spring 2005.
CISCO NETWORKING ACADEMY Chabot College ELEC ping & traceroute.
1 ICMP – Using Ping and Trace CCNA Semester
Cisco Public © 2013 Cisco and/or its affiliates. All rights reserved. 1.
1 ICMP : Internet Control Message Protocol Computer Network System Sirak Kaewjamnong.
Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Defining the IP Packet Delivery Process INTRO v2.0—4-1.
Module 1: Reviewing the Suite of TCP/IP Protocols.
CCNA Introduction to Networking 5.0 Rick Graziani Cabrillo College
TCP/IP Protocol Suite 1 Chapter 9 Upon completion you will be able to: Internet Control Message Protocol Be familiar with the ICMP message format Know.
CS 6401 Internet Protocol Outline Introduction to Internet Protocol Header and address formats ICMP Tools.
Internet Control Message Protocol ICMP. ICMP has two major purposes: –To report erroneous conditions –To diagnose network problems ICMP has two major.
Petrozavodsk State University, Alex Moschevikin, 2003NET TECHNOLOGIES Internet Control Message Protocol ICMP author -- J. Postel, September The purpose.
Guide to TCP/IP, Third Edition
Network Administration
1 Computer Networks and Internets Spring 2005 Assistant Professor JainShing Liu.
ICMP (Internet Control Message Protocol) Computer Networks By: Saeedeh Zahmatkesh spring.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Network Layer ICMP and fragmentation.
ICMP : Internet Control Message Protocol. Introduction ICMP is often considered part of the IP layer. It communicates error messages and other conditions.
1 Version 3.1 modified by Brierley Module 8 TCP/IP Suite Error and Control Messages.
Page 19/13/2015 Chapter 8 Some conditions that must be met for host to host communication over an internetwork: a default gateway must be properly configured.
Internet Control Message Protocol (ICMP). Objective l IP and ICMP l Why need ICMP? l ICMP Message Format l ICMP fields l Examples: »Ping »Traceroute.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 8 TCP/IP Suite Error and Control Messages.
© 2002, Cisco Systems, Inc. All rights reserved..
CCNA 2 Week 8 TCP/IP Suite Error Control Messages.
Guide to TCP/IP, Second Edition1 Guide To TCP/IP, Second Edition Chapter 4 Internet Control Message Protocol (ICMP)
PC1 LAN GW SP RTR1 SP RTR2 DST 4 * 25 ms 21 ms dst [ ] 4. A third packet is sent with TTL=3, which decrements at each hop, and expires after RTR2,
1 Internet Control Message Protocol (ICMP) Used to send error and control messages. It is a necessary part of the TCP/IP suite. It is above the IP module.
Error and Control An IP datagram travels from node to node on the way to its destination Each router operates autonomously Failures or problems may occur.
Internet Control Message Protocol (ICMP) Chapter 7.
Cisco 2 - Routers Perrine. J Page 112/19/2015 Chapter 8 TCP/IP Error Message Some of the conditions that must be met in order for host to host communication.
ERICSON BRANDON M. BASCUG Alternate - REGIONAL NETWORK ADMINISTRATOR HOW TO TROUBLESHOOT TCP/IP CONNECTIVITY.
Network Layer IP Address.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 8 TCP/IP Suite Error and Control Messages.
CCNA 2 Router and Routing Basics Module 8 TCP/IP Suite Error and Control Messages.
Lecture#6:Connectivity Verification
LESSON Networking Fundamentals Understand TCP/IP.
ICMP The IP provides unreliable and connectionless datagram delivery. The IP protocol has no error-reporting or error-correcting mechanism. The IP protocol.
Chapter 19 Network Layer Protocols
Traceroute traceroute is a Unix utility designed by Van Jacobson in 1987 The Windows equivalent is called tracert The Linux equivalent is called tracepath.
Connectivity Verification
COMP2322 Lab 5 IP Steven Lee March 22, 2017.
Network Tools and Utilities
ICMP ICMP = Internet Control Message Protocol Layer 3
COMPUTER NETWORKS CS610 Lecture-33 Hammad Khalid Khan.
8 Network Layer Part V Computer Networks Tutun Juhana
ICMP – Using Ping and Trace
Part1: Ipconfig ping command Tracert command Getmac command
Troubleshooting IP Communications
Byungchul Park ICMP & ICMPv DPNM Lab. Byungchul Park
ICMP – Using Ping and Trace
Chapter 2: Static Routing
ITL Simple Diagnostic Tools
Internet Control Message Protocol Version 4 (ICMPv4)
Lecture#6:Connectivity Verification
Lecture#5 :IPV6 Adressing
Internet Control Message Protocol
Internet Control Message Protocol
Internet Control Message Protocol
TCP/IP Protocol Suite 1 Chapter 9 Upon completion you will be able to: Internet Control Message Protocol Be familiar with the ICMP message format Know.
Presentation transcript:

Lecture#7:Connectivity Verification Asma Alosaimi

ICMP ICMP = Internet Control Message Protocol Layer 3 Part of TCP/IP suite of protocols Network layer protocol Reports on data delivery success/failure Announces transmission failures to sender Network congestion Data fails to reach destination Data discarded: TTL expired ICMP cannot correct errors Provides critical network problem troubleshooting information ICMPv6 used with IPv6

ICMP

ICMP Echo Request Called “ping” Important network testing tool Tests connectivity at layers 3-1 Most TCP/IP hosts can send pings PCs routers All TCP/IP hosts will reply to pings (unless configured to discard them for security reasons.)

Testing and Verification Ping – Testing the Local Stack

Testing and Verification Ping – Testing Connectivity to the Local LAN

Testing and Verification Ping – Testing Connectivity to Remote

DOS Ping Display Successful replies Key results C:\WINDOWS>ping 172.28.118.1 Pinging 172.28.118.1 with 32 bytes of data: Reply from 172.28.118.1: bytes=32 time=1ms TTL=255 Ping statistics for 172.28.118.1: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 1ms, Maximum = 1ms, Average = 1ms Successful replies Key results

Cisco IOS Ping Display Differs in format from DOS display Contains same information You’ll work with IOS ping in an upcoming lab.

ICMP Echo Request To check the configuration of layer 3-1 on your PC, you can ping a special internal test address - the loopback address. Try it now - Open a DOS window >ping 127.0.0.1

ICMP Echo Request To check the configuration of layer 3-1 between your PC and another host, you can ping that host’s address. Try it now - Open a DOS window >ping 172.28.118.10

ICMP Echo Request You can also use hostnames in the ping command (if DNS is running, or host tables are enabled). Try it now - Open a DOS window >ping academy1

Testing and Verification Traceroute – Testing the Path Generates a list of hops that were successfully reached along the path. Provides important verification and troubleshooting information. If the data reaches the destination, then the trace lists the interface of every router in the path between the hosts. If the data fails at some hop along the way, the address of the last router that responded to the trace can provide an indication of where the problem or security restrictions are found. Provides round-trip time for each hop along the path and indicates if a hop fails to respond. 8.3.2.4 Traceroute – Testing the Path

Traceroute Packets Most traceroute programs, including the Cisco IOS traceroute, send UDP packets (User Datagram Protocol). Micrososft tracert sends ICMP echo request (ping) packets.

Traceroute Command Unix: traceroute Cisco IOS: traceroute (trace) DOS: tracert

Traceroute Operation Transmits packets with small Time-To-Live (TTL) values. First packets have TTL = 1 Second have TTL = 2 Third have TTL = 3 etc.

Time to Live Field TTL

Traceroute Operation

1. Traceroute is initiated by PC1 2. ICMP packet is sent with TTL=1, it expires at the first hop (LAN GW), and is sent back to the PC, which shows the first hop in the traceroute 4. A third packet is sent with TTL=3, which decrements at each hop, and expires after RTR2, so a message is sent to PC1. 5. The last packet is sent with TTL=4, which expires at DST and PC1 then knows it has reached the target. PC1 LAN GW SP RTR1 SP RTR2 DST 1    <1 ms    <1 ms    <1 ms 172.16.96.1  2    15 ms    22 ms    31 ms rtr1 [4.132.159.25]  3    * * * rtr2 [4.144.175.42]  4    *       25 ms    21 ms dst [4.168.18.3] Note that even though RTR2 did not respond, it DID forward the last packet to DST. The last packet had to traverse RTR2 to get to DST, indicating there is no ‘trouble’ with RTR2 except it did not send a Time Exceeded message back to PC1.

DOS Traceroute Display C:\WINDOWS>tracert www.husd.k12.ca.us Tracing route to www.husd.k12.ca.us [206.110.193.5] over a maximum of 30 hops: 1 1 ms 1 ms 1 ms 192.168.0.1 2 23 ms 32 ms 32 ms adsl-63-198-176-254.dsl.snfc21.pacbell.net [63.198.176.254] 3 20 ms 19 ms 21 ms core4-g3-0.snfc21.pbi.net [216.102.187.130] 4 20 ms 19 ms 19 ms ded2-fa12-0-0.snfc21.pbi.net [209.232.130.5] 5 25 ms 51 ms 21 ms vip-Alameda-Co.cust-rtr.pacbell.net [216.102.184.2] 6 44 ms 37 ms 43 ms 206.110.252.174 7 47 ms 40 ms 40 ms www.husd.k12.ca.us [206.110.193.5] Trace complete. Round trip time Router Hop