Skip to Content
TCP/IP Analysis and Troubleshooting Toolkit
book

TCP/IP Analysis and Troubleshooting Toolkit

by Kevin Burns
July 2003
Intermediate to advanced
432 pages
10h 23m
English
Wiley
Content preview from TCP/IP Analysis and Troubleshooting Toolkit

CHAPTER 4

Internet Control Message Protocol

Chapter 3 introduced the Internet Protocol (IP), its addressing, and how IP traffic gets from a source to a destination. But what happens if there is a problem along that path? What if a router doesn't have a route to the destination? What if the IP datagrams are too large to be transmitted onto an outgoing link? What if the destination host doesn't respond?

IP is what is called an unreliable connectionless protocol. Although it is responsible for getting our data from one place to another, it does not guarantee that it will make it. When transmitting traffic across a Layer 2 link, such as Ethernet, the data link layer is responsible for guaranteeing the integrity of the data. For example:

  • If a user on a shared Ethernet segment transmits at the same instant as another station, a collision results. Both stations “hear” the collision and attempt to transmit again.
  • If a cable connecting a next-hop router is faulty and corrupts a packet that is being transmitted over the link, a CRC error results. The destination station (or router) checks the CRC on the frame; when it sees that it is incorrect, it drops the packet. Eventually the sending station will notice that it hasn't received a response, and it will transmit the data again.

Both of these examples illustrate how the data link layer handles events that occur in the physical layer. Collisions and CRC errors are manifestations of problems that occur in the physical layer of the network. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Packet Analysis with Wireshark

Packet Analysis with Wireshark

ANISH NATH
Network Analysis Using Wireshark 2 Cookbook - Second Edition

Network Analysis Using Wireshark 2 Cookbook - Second Edition

Nagendra Kumar Nainar, Yoram Orzach, Yogesh Ramdoss
Mastering Wireshark

Mastering Wireshark

Charit Mishra

Publisher Resources

ISBN: 9780471429753Purchase book