1 CCNA 2 v3.1 Module 8. 2 TCP/IP Suite Error and Control Messages CCNA 2 Module 8.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Internet Control Protocols Savera Tanwir. Internet Control Protocols ICMP ARP RARP DHCP.
CSCI 4550/8556 Computer Networks Comer, Chapter 23: An Error Reporting Mechanism (ICMP)
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 9 Internet Control Message Protocol (ICMP)
Internet Control Message Protocol (ICMP)
1 Internet Networking Spring 2002 Tutorial 4 ICMP (Internet Control Message Protocol)
Internet Control Message Protocol (ICMP). Introduction The Internet Protocol (IP) is used for host-to-host datagram service in a system of interconnected.
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
Internet Control Message Protocol (ICMP)
WXES2106 Network Technology Semester /2005 Chapter 7 TCP/IP Suite Error and Control Messages CCNA2: Module 8, 9.
Internet Command Message Protocol (ICMP) CS-431 Dick Steflik.
1 K. Salah Module 5.3: Internet Control Message Protocol Why need ICMP? IP and ICMP ICMP Message Format ICMP Error Reporting messages ICMP Query messages.
1 Internet Control Message Protocol (ICMP) RIZWAN REHMAN CCS, DU.
Class 4 Internet Protocols
1 ICMP : Internet Control Message Protocol Computer Network System Sirak Kaewjamnong.
CCNA Introduction to Networking 5.0 Rick Graziani Cabrillo College
1 CMPT 471 Networking II ICMP © Janice Regan, 2012.
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.
TELE202 Lecture 10 Internet Protocols (2) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Internet Protocols (1) »Source: chapter 15 ¥This Lecture »Internet.
Guide to TCP/IP, Third Edition
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 9 Internet Control Message.
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.
Internet Control Message Protocol (ICMP)
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.
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
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.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 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.
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
© Jörg Liebeherr (modified by M. Veeraraghavan) 1 ICMP: A helper protocol to IP The Internet Control Message Protocol (ICMP) is the protocol used for error.
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.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Internet Protocols. Address Resolution IP Addresses are not recognized by hardware. If we know the IP address of a host, how do we find out the hardware.
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.
Chapter 23 Internet Control Message Protocol used to report information and errors IP uses ICMP when it sends an error message ICMP uses IP to transport.
1 Chapter 23 Internetworking Part 3 (Control Messages, Error Handling, ICMP)
1 Kyung Hee University Chapter 9 ICMP. 2 Kyung Hee University Introduction to Internet Control Message Protocol (ICMP)  IP protocol has no error-reporting.
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.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 8 TCP/IP Suite Error and Control Messages.
ICMPv6 Error Message Types Informational Message Types.
1 Connectivity with ARP and RARP. 2 There needs to be a mapping between the layer 2 and layer 3 addresses (i.e. IP to Ethernet). Mapping should be dynamic.
Module 8 JEOPARDY CCNA2 v3 Module 8 RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands.
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.
Internet Control Message Protocol (ICMP)
Internet Control Message Protocol (ICMP)
ICMP The IP provides unreliable and connectionless datagram delivery. The IP protocol has no error-reporting or error-correcting mechanism. The IP protocol.
Internet Control Message Protocol (ICMP)
21-2 ICMP(Internet control message protocol)
Recall IPv4 Datagram Format
CCNA 2 v3 JEOPARDY Module 8 CCNA2 v3 Module 8 K. Martin.
Chapter 9 ICMP.
Error and Control Messages in the Internet Protocol
Pertemuan 18 TCP/IP Suite Control Messages
Byungchul Park ICMP & ICMPv DPNM Lab. Byungchul Park
Internet Control Message Protocol (ICMP)
Internet Control Message Protocol (ICMP)
Internet Control Message Protocol (ICMP)
Internet Control Message Protocol (ICMP)
Internet Control Message Protocol (ICMP)
Internet Control Message Protocol Version 4 (ICMPv4)
Internet Control Message Protocol
Internet Control Message Protocol
Internet Control Message Protocol
Fred Kuhns Applied Research Laboratory
Presentation transcript:

1 CCNA 2 v3.1 Module 8

2 TCP/IP Suite Error and Control Messages CCNA 2 Module 8

333 IP Uses best effort delivery of messages No mechanism to ensure that the data is delivered Data may fail to reach its destination due to Hardware failure - router fails, destination device disconnected Improper configuration Incorrect routing information No mechanism for sending error and control messages it uses the ICMP to send and receive error and control messages to hosts on a network Internet Control Message Protocol (ICMP) Notifies the sender that there was an error in the delivery Used in network troubleshooting

444 ICMP Error reporting protocol for IP It reports these errors back to the source of the datagram ICMP messages are encapsulated into datagrams The following is the format of an ICMP message

555 Unreachable Networks Network communication depends upon Sending and receiving devices must have TCP/IP properly configured TCP/IP protocol installed IP address and subnet mask configured If communicating outside LAN there must be a default gateway Routers Must have the TCP/IP protocol properly configured on its interfaces Use an appropriate routing protocol Omission of the above conditions results in Datagram sent to a non-existent IP address Destination device that is disconnected from its network Routers interface is down Router has no known route to the destination If any of the above occur the router sends an ICMP host unreachable message to the source

666 Ping Tests Destination Reachability ICMP issues an echo request to the destination device If destination receives ICMP request, it formulates an echo reply Destination sends echo reply to source of the echo request If sender receives echo reply, this confirms destination reachable

777 Ping

888 Issues four echo requests Receives four echo replies Confirming IP connectivity between the two devices IP Address of destination device

999 Detecting Excessively Long Routes Faulty routing can cause a datagram to Travels in a circle Never reach its destination Faulty routes occur if two routers continually route a datagram back and forth between them, thinking the other should be the next hop to the destination How to prevent this RIP hop count is a maximum 15 TTL – Time To Live – maximum hop count TTL reduced by 1 each time it goes through a router TTL of 0 – packet discarded and ICMP time exceeded message

10 ICMP message type All ICMP message formats start with these same three fields: Type Type of ICMP message Code More information specific to the message type Checksum To verify the integrity of the data ICMP echo request and echo reply Identifier and Sequence Number are unique to the echo request / reply messages. They are used to match the echo replies to the corresponding echo request

11 Destination unreachable message Reasons delivery is not possible: Hardware failures improper protocol configuration down interfaces incorrect routing information packet fragmentation is required but not allowed (4) services such as FTP or Web are unavailable (2) ICMP delivers back to the sender a destination unreachable message

12 Miscellaneous error reporting ICMP type 12 parameter Sent when datagrams have some type of error in the header and therefore, cannot be forwarded This ICMP message includes the pointer field in the header When the code value is 0 The pointer field indicates the octet of the datagram that produced the error

13 TCP/IP Suite Control Messages

14 ICMP Control Message IP cannot provide informational or control messages to hosts ICMP provides informational or control messages to hosts Error messages result from Lost packets during packet transmission Error conditions which occur during packet transmission Control messages are used to inform hosts of Conditions such as network congestion The existence of a better gateway to a remote network ICMP control messages are encapsulated within an IP datagram

15 ICMP redirect/change requests This type of message can only be initiated by a gateway When a host connects to a segment that has two or more directly connected routers, the default gateway of the host may need to use a redirect/change request to inform the host of the best path to a certain network Type 5 indicates redirect/change request

16 ICMP redirect/change requests Default gateways only send ICMP redirect/change request messages if the following conditions are met: The interface on which the packet comes into the router is the same interface on which the packet gets routed out ie subnet/network of the source IP address is the same subnet/network of the next-hop The datagram is not source-routed The route for the redirect is not another ICMP redirect or a default route The router is configured to send redirects By default, Cisco routers send ICMP redirects Router(config-if)no ip redirects will disable ICMP redirects

17 Clock synchronization & transit time estimation Hosts on different networks using software that requires time synchronization can sometimes encounter problems. The ICMP timestamp message type is designed to help alleviate this problem. ICMP timestamp request message (13) allows a host to ask for the current time according to the remote host. Remote host uses an ICMP timestamp reply message (14) to respond to the request Provides a simple way to estimate time on a remote host and total network transit time Network Time Protocol (NTP) at the upper layers of the TCP/IP protocol stack perform clock synchronization in a more reliable manner

18 Information requests and reply message formats ICMP information requests and reply messages were intended to allow a host to determine its network number This ICMP message type is considered obsolete Other protocols such as BOOTP and DHCP are now used to allow hosts to obtain their network numbers. Request Message Reply Message

19 Address mask requirements Used by hosts to identify subnet mask when the network is subnetted and the host doesn’t know its subnet mask Request is sent directly to the router if the routers address is known, otherwise the request is broadcast

20 Router Discovery Message If host has no default gateway Host sends a router solicitation message to all routers, using multicast address as the destination address broadcast to include routers that may not be configured for multicasting If sent to a router that does not support the discovery process solicitation is unanswered If sent to a router that supports the discovery process router advertisement returned router advertisement

21 Router solicitation message A host generates an ICMP router solicitation message in response to a missing default gateway. This message is sent via multicast and it is the first step in the router discovery process. A local router will respond with a router advertisement identifying the default gateway for the local host

22 Congestion and flow control messages Multiple access to the same destination at the same time High speed LAN traffic reaches slower speed WAN connection If there is too much congestion on the network packets are dropped ICMP source-quench messages are used to reduce the amount of data lost Asks senders to reduce the rate at which they are transmitting packets If no other source-quench messages are received The source will slowly increase the transmission rate Most Cisco routers do not send source-quench messages by default