Teaching TCP/IP by Analogy

5,065 views

Published on

Published in: Education, Technology
1 Comment
2 Likes
Statistics
Notes
No Downloads
Views
Total views
5,065
On SlideShare
0
From Embeds
0
Number of Embeds
104
Actions
Shares
0
Downloads
68
Comments
1
Likes
2
Embeds 0
No embeds

No notes for slide

Teaching TCP/IP by Analogy

  1. 1. Explaining TCP/IP by Analogy Damian Gordon
  2. 2. Question <ul><li>Did anyone see the program about the Pony Express on the History Channel the other night? </li></ul><ul><li>They hosted an hour long show about how the postal service has changed through the years with most of the show emphasizing the Pony Express. </li></ul>
  3. 3. The Pony Express <ul><li>With the move West in the 1840’s and 50’s, a need was seen by a gentleman named William Russell to move mail to and from those western fortune seekers. </li></ul><ul><li>Russell established the Pony Express in 1860 to most efficiently (and cost effectively) transport mail. The Pony Express was made up of eighty riders (less than 120 pounds each), their steeds, four hundred men to run the way stations, and 2000 miles of land between St. Joseph, Missouri and Sacramento, California. </li></ul><ul><li>Each horse carried twenty-five pounds of equipment (a saddle, four mail pouches, a rifle, and a revolver), up to twenty pounds of mail, and the rider for a maximum of 165 pounds. </li></ul>
  4. 5. Lies Begin Here <ul><li>Trouble occurred early in the history of the Express - a patron mailed a dozen twenty pound packages from St. Joseph. Of course, twelve riders took the twelve packages onto the trail. </li></ul><ul><li>The problem was there were only twelve horses and riders available. When other mail came to the St. Joseph station, the customers were told there would be a delay of up to five days before the mail could leave town. </li></ul>
  5. 6. Lies Continue <ul><li>The customers, as one can imagine, were incensed. This scenario caused Mr. Russell to restrict all letters and packages ‘to a maximum of ten ounces (about twenty pages). This restriction ensured that no one letter or package would take up the entire twenty pound maximum load, keeping other equally important mail from being transported. </li></ul>
  6. 7. Lies Continue <ul><li>After the ten ounce restriction was put into place, a businessman devised a plan to make money on the new restriction. </li></ul><ul><li>He found an empty building near the Pony Express station in each town that the Express served. Anyone who wanted to ship a book of greater than twenty pages would call upon his business to split the book apart, address each twenty page portion to a corresponding business in the recipient’s town, and mail the portions. </li></ul><ul><li>Upon arrival at the other end, the business would reassemble the book and deliver it to the intended recipient. </li></ul>
  7. 8. Lies Continue <ul><li>Reassembly was not, always a simple task. Since the book was split ,into many packages, they did not necessarily arrive on the same horse, on the same day, or in the same order that they were originally intended. </li></ul><ul><li>Fortunately, the originating business numbered the packages for easy and correct reassembly. </li></ul>
  8. 9. Lies Finish <ul><li>Furthermore, this business knew the risks of the Pony Express, so it provided a special guaranteed service (for a fee of course). The business made exact copies of the mail to provide this guaranteed service. Upon receiving a packet, an acknowledgement of receipt was returned to the sender. If no receipt acknowledgement was received within ten days for a particular packet, it was assumed lost and a copy of the packet was resent. </li></ul>
  9. 10. Analogy <ul><li>This analogy illustrates the TCP/IP protocols in the Internet. The Internet Protocol (IP) restricts the packet size to ensure that no user monopolizes the resources (as in the Pony Express): IP does not specify how things must be transformed into the 64K size it is capable of transporting. </li></ul><ul><li>Also, IP does not concern itself with ensuring that the packets arrive in the correct order, or that they arrive at all. Thus, the Pony Express closely resembles the Internet Protocol. </li></ul>
  10. 12. Analogy <ul><li>The Transmission Control Protocol (TCP) works closely with IP, and fixes the things which the business fixed for the Pony Express. TCP breaks the data (which may be larger than 64k characters) into packets of a size acceptable by IP. Since TCP is responsible for breaking the data into packets, it is also responsible for reassembling the data before handing it to the intended recipient. </li></ul><ul><li>As packets arrive TCP gathers the packets into the correct order and returns an acknowledgement. If, after some period of time, an expected acknowledgement does not arrive, the TCP sender resends the missing packet </li></ul>
  11. 13. Analogy <ul><li>PONY EXPRESS </li></ul><ul><li>Trail </li></ul><ul><li>Horse & Rider </li></ul><ul><li>Breaking book </li></ul><ul><li>Taping book </li></ul><ul><li>Acknowledge receipt </li></ul><ul><li>Ten day wait for acknowledgement </li></ul><ul><li>TCP/IP </li></ul><ul><li>Network </li></ul><ul><li>IP </li></ul><ul><li>TCP breaks packets </li></ul><ul><li>TCP reassembly </li></ul><ul><li>TCP ACK </li></ul><ul><li>TCP timeout before resending </li></ul>

×