1 Topic 2 – Lesson 2 Understanding TCP/IP via an Analogy SRA 221.

Slides:



Advertisements
Similar presentations
1 Topic 2 – Lesson 4 Packet Filtering Part I. 2 Basic Questions What is packet filtering? What is packet filtering? What elements are inside an IP header?
Advertisements

CCNA – Network Fundamentals
CSCI-235 Micro-Computers in Science The Network. Network Fundamentals A computer network consists of two or more computers linked together to exchange.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
Network Layer and Transport Layer.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
Introduction to Transport Layer. Transport Layer: Motivation A B R1 R2 r Recall that NL is responsible for forwarding a packet from one HOST to another.
Davide Rossi 2002 Using Sockets in Java. 2Davide Rossi 2002 TCP/IP  A protocol is a set of rules that determine how things communicate with each other.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
TCP connection my Computertelnet client web server remote computer 1 character per transmission Telnet uses TCP connection.
TCP connection my Computertelnet client web server remote computer 1 character per transmission * Telnet uses TCP connection * but Nagle's algorithm modifies.
Data Networking Fundamentals Unit 7 7/2/ Modified by: Brierley.
Vocabulary URL = uniform resource locator: web address protocol –set of rules that networked computers follow in order to share data and coordinate communications.
CS 497C – Introduction to UNIX Lecture 35: - TCP/IP Networking Tools Chin-Chih Chang
Lesson 19 Internet Basics.
I NTRODUCTION OF S OCKET P ROGRAMMING L.Aseel AlTurki King Saud University.
Inside of a computer… What happens when you turn your computer on? What loads? Where are applications stored? How are do they run? In what form is information.
Understanding Networks Charles Zangla. Network Models Before I can explain how connections are made from across the country, I would like to provide you.
TCP/IP protocols Communication over Internet is mostly TCP/IP (Transmission Control Protocol over Internet Protocol) TCP/IP "stack" is software which allows.
Lesson 24. Protocols and the OSI Model. Objectives At the end of this Presentation, you will be able to:
 TCP/IP is the communication protocol for the Internet  TCP/IP defines how electronic devices should be connected to the Internet, and how data should.
CS448 Computer Networking Chapter 1 Introduction to Computer Networks Instructor: Li Ma Office: NBC 126 Phone: (713)
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
TCP/IP Guide. OSI Reference Model Real-World Analogy Phase OSI Layer CEO LetterWeb Site Connection (Simplified) Transmission 7 The CEO of a company in.
TCP/IP: Basics1 User Datagram Protocol (UDP) Another protocol at transport layer is UDP. It is Connectionless protocol i.e. no need to establish & terminate.
Networks QUME 185 Introduction to Computer Applications.
TCP/IP Networking Review Covered Subjects:  Packet Switched Network Structure  Issues of PSNs  Ports & IP Numbers  Delivery Services  Domain Name.
Forensic and Investigative Accounting Chapter 14 Digital Forensics Analysis © 2011 CCH. All Rights Reserved W. Peterson Ave. Chicago, IL
© McLean HIGHER COMPUTER NETWORKING Lesson 1 – Protocols and OSI What is a network protocol Description of the OSI model.
Chapter Three Network Protocols By JD McGuire ARP Address Resolution Protocol Address Resolution Protocol The core protocol in the TCP/IP suite that.
Created by, Nancy Harris, James Madison University, VA FLUENCY WITH INFORMATION TECNOLOGY Skills, Concepts, and Capabilities.
Chapter 3.  The characteristics and purpose of: ◦ Intranets ◦ Internet ◦ Extranets.
An Overview of the Internet: The Internet: Then and Now How the Internet Works Major Features of the Internet.
TCP/IP Transport and Application (Topic 6)
Application Layer 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012.
NETWORK COMPONENTS Assignment #3. Hub A hub is used in a wired network to connect Ethernet cables from a number of devices together. The hub allows each.
Marwan Al-Namari Week 5. Responsible for delivering packets between endpoints over multiple links Physical Link Network Transport Application.
CS 145A Implementation Issues Netlab.caltech.edu/course.
Networking Basics CCNA 1 Chapter 11.
IP addresses IPv4 and IPv6. IP addresses (IP=Internet Protocol) Each computer connected to the Internet must have a unique IP address.
Networks Part 2: Infrastructure + Protocols NYU-Poly: HSWP Instructor: Mandy Galante.
Advanced UNIX programming Fall 2002, lecture 16 Instructor: Ashok Srinivasan Acknowledgements: The syllabus and power point presentations are modified.
Internet Overview 1Internet Technology. What is the Internet? An internet is a set of computer networks that are connected to each other (e.g. intranet).
Telecommunications Essentials John R. Durrett July 5, 2005.
Internet Infrastructure Mapping the World Wide Web.
ISDS 4120 Project 1 DWAYNE CARRAL JR 3/27/15. There are seven layers which make up the OSI (Open Systems Interconnection Model) which is the model for.
The Internet Book. Chapter 16 3 A Packet Switching System Can Be Overrun Packet switching allows multiple computers to communicate without delay. –Requires.
Transmission Control Protocol (TCP) Internet Protocol (IP)
Internet Concept of protocols INTERNET Internet Service Provider (ISP) has connected to the Internet.
Computer Network Architecture Lecture 6: OSI Model Layers Examples 1 20/12/2012.
Chapter 16 - TCP: Software For Reliable Communication Introduction A Packet Switching System Can Be Overrun (merging highways) TCP Helps IP Guarantee Delivery.
DIYTP Network Basics  How do computers communicate?  Network Interface Card (NIC)  Media Access Control Address (MAC)  Unique to each NIC 
ITIS 1210 Introduction to Web-Based Information Systems Chapter 3. How TCP/IP Works.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Agenda Last class: Network Hardware Today: Network Protocols –How do computers talk to each other? –Needs? Same hardware Same rules (protocols) for encoding.
The OSI Model. Understanding the OSI Model In early 1980s, manufacturers began to standardize networking so that networks from different manufacturers.
Internet Service Providers and types of internet connections
Internet.
Application Layer Functionality and Protocols Abdul Hadi Alaidi
LESSON Networking Fundamentals Understand TCP/IP.
Class Notes Overview of Internet Session B
Layered Architectures
Using MIS 2e Chapter 6 Appendix
Data Networking Fundamentals
Inside of a computer… What happens when you turn your computer on? What loads? Where are applications stored? How are do they run? In what form is information.
Review of TCP/IP Internetworking
Inside of a computer… What happens when you turn your computer on? What loads? Where are applications stored? How are do they run? In what form is information.
How Our Customers Communicate With Us
Protocol Application TCP/IP Layer Model
INFORMATION FLOW ACROSS THE INTERNET
Presentation transcript:

1 Topic 2 – Lesson 2 Understanding TCP/IP via an Analogy SRA 221

2 Basic Questions What is the Internet? How does the Internet work? How do two computers use TCP ports and IP addresses to talk to (or communicate with) each other?

3 What is the Internet? Purpose of the Internet: enable any two computers to talk to each other Computer 1 and Computer 2 chat online Computer 1 sends an IM to Computer 2 The Simplest Internet = Computer 1 (sender) + (a bunch of routers) + Computer 2 (receiver) A bunch of routers Computer 1 Computer 2

4 How does the Internet work? The routers relay the message from the sender to the receiver The message is contained in a packet, which could be viewed as an envelope The packet could get lost or corrupted during transmission For reliability, the receiver will typically send an acknowledgement note back There may exist multiple routes (or paths) from the sender to the receiver

5 How to use TCP ports and IP addresses (1) Hilton Hotel 234 Moonrise Ave Boston, MA Sheraton Hotel 678 Sunrise Ave Los Angelos, CA 203 Alice Bob Room 404 Sheraton Hotel 678 Sunrise Ave Los Angelos, CA xxxxx Envelope When Alice sends a letter to Bob, what to put on the envelope?

6 How to use TCP ports and IP addresses (2) Envelope When Alice sends a letter to Bob, what to put on the envelope? Bob Room 203 Sheraton Hotel 678 Sunrise Ave Los Angelos, CA TCP Port IP address

7 How to use TCP ports and IP addresses (3) Hilton Hotel 234 Moonrise Ave Boston, MA Sheraton Hotel 678 Sunrise Ave Los Angelos, CA 203 Alice Bob TCP Ports IP addresses

8 How to use TCP ports and IP addresses (4) Hilton Hotel 234 Moonrise Ave Boston, MA Sheraton Hotel 678 Sunrise Ave Los Angelos, CA (310) Alice Bob When Alice calls Bob, what number to dial? (310) Ext. 203 TCP port numberIP address

9 How to use TCP ports and IP addresses (5) Receiver PC IP address: What does a TCP port mean in computer world? -- Multiple programs are running on a single computer -- We assign a port number to each program -- Two types of programs: -- Service-providing programs -- Service-requesting programs -- The first 1,024 ports are reserved for services Web server program 1025 IE browser program IE program 2 Telnet server program

10 How to use TCP ports and IP addresses (6) Sender computer IP address: Receiver computer IP address: When browser X sends a message to the Web server: TCP port numberIP address Web server program Message content 1025 Browser Program X The simplest packet

11 (7) The simplest packet has a drawback! Sender computer IP address: When browser X sends a message to the Web server: TCP port numberIP address Message content 1025 Browser Program X The simplest packet Receiver computer IP address: Web server program Drawback: there is NO return address!!! When the receiver sends back the acknowledgement, the receiver will cry – because …

12 (8) How to establish a TCP connection between two ports? A TCP connection Step 1: establish the connection Step 2: send the messages back and forth Step 3: terminate the connection A phone call session Step 1: Dial the phone number Step 2: do talking Step 3: hang up