520 likes | 651 Views
Chapter 8 TCP/IP Suite Error and Control Messages/ Basic Router Troubleshooting. Objectives. Internet Control Message Protocol (ICMP). Error Reporting and Error Correction. ICMP is an error - reporting protocol for IP. ICMP Message Delivery.
E N D
Chapter 8TCP/IP Suite Error and Control Messages/ Basic Router Troubleshooting
Error Reporting and Error Correction • ICMP is an error-reporting protocol for IP.
ICMP Message Delivery • ICMP messages are encapsulated as data in datagrams in the same way any other data is delivered using IP.
Detecting Excessively Long Routes • Whether the actual path includes too many hops or a circular routing path exists, the packet will eventually reach the end of its life, known as its time-to-live (TTL).
TCP/IP Suite Control Messages • Control messages are used to inform hosts of conditions such as network congestion or the existence of a better gateway to a remote network.
ICMP Redirect/Change Requests 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.
Clock Synchronization and TransitTime Estimation • The ICMP timestamp request message allows a host to ask for the current time according to the remote host. • The remote host uses an ICMP timestamp reply message to respond to the request.
Address Mask Requirements • When a network administrator uses the process of subnetting to divide a major IP address into multiple subnets, a new subnet mask is created.
Router Discovery Message • When a host on the network boots, and the host has not been manually configured with a default gateway, it can learn of available routers through the process of router discovery.
Router Solicitation Message • A host generates an ICMP router solicitation message in response to a missing default gateway.
Congestion and Flow Control Messages ICMP source-quench messages are used to reduce the amount of data lost from congestion.
The show ip route Command The show ip route command displays the contents of the IP routing table.
Determining the Route Metric Routing protocols use metrics to determine the best route to a destination.
Determining the Route Next Hop • Destination next hop associations determine the best path and which router to forward the packet to next. This router represents the next hop on the way to the final destination.
Determining the Last Routing Update • Use the following commands to find the last routing update: • show ip route • show ip route network • show ip protocols • show ip rip database
Observing Multiple Paths to a Destination • Some routing protocols support multiple paths to the same destination. • Unlike single path algorithms, these multi-path algorithms permit traffic over multiple lines, provide better throughput, and are more reliable.
Typical Layer 1 Errors • Broken cables • Disconnected cables • Cables connected to the wrong ports • Intermittent cable connection • Wrong cables used for the task at hand • Transceiver problems • DCE cable problems • DTE cable problems • Devices turned off
Typical Layer 2 Errors • Improperly configured serial interfaces • Improperly configured Ethernet interfaces • Improper encapsulation set • Improper clock rate settings on serial interfaces • Network interface card (NIC) problems
Typical Layer 3 Errors • Routing protocol not enabled • Wrong routing protocol enabled • Incorrect IP addresses • Incorrect subnet masks
Troubleshooting Layer 1 Using show interfaces Command The show interfaces serial command
Troubleshooting Routing Issues The show ip route Command
Troubleshooting Routing Issues The show ip protocols Command
Troubleshooting Using show controllers serial Command The show controllers serial Command
Introduction to debug Debug syntax