Department of Computer Science Southern Illinois University Carbondale CS441 – Mobile & Wireless Computing Overview of Computer Networking Protocols.

Slides:



Advertisements
Similar presentations
Protocol layers and Wireshark Rahul Hiran TDTS11:Computer Networks and Internet Protocols 1 Note: T he slides are adapted and modified based on slides.
Advertisements

Dr. Philip Cannata 1 Computer Networking. Dr. Philip Cannata 2.
Summer Workshop on Cyber Security Computer Networks Security (Part 1) Dr. Hamed Mohsenian-Rad University of California at Riverside and Texas Tech University.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
1 William Stallings Data and Computer Communications 7 th Edition Chapter 2 Protocols and Architecture.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
PROTOCOLS AND ARCHITECTURE Lesson 2 NETS2150/2850.
Kemal AkkayaWireless & Network Security 1 Department of Computer Science Southern Illinois University Carbondale CS591 – Wireless & Network Security Lecture.
Introduction1-1 Introduction to Computer Networks Our goal:  get “feel” and terminology  more depth, detail later in course  approach:  use Internet.
Networking Based on the powerpoint presentation of Computer Networking: A Top Down Approach Featuring the Internet, Third Edition, J.F. Kurose and K.W.
Protocols and the TCP/IP Suite
CS 325 Computer Networks Sami Rollins Fall 2003.
Data Communications Architecture Models. What is a Protocol? For two entities to communicate successfully, they must “speak the same language”. What is.
1 Day 01 - The Internet. 2 Chapter 1 Introduction Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose, Keith Ross.
William Stallings Data and Computer Communications 7 th Edition Chapter 2 Protocols and Architecture.
ECS 152A 1. Introduction. A Communications Model Source —generates data to be transmitted Transmitter —Converts data into transmittable signals Transmission.
Introduction1-1 CS 325 Computer Networks Sami Rollins Fall 2005.
COE 342: Data & Computer Communications (T042) Dr. Marwan Abu-Amara Chapter 2: Protocols and Architecture.
Computer Networks with Internet Technology William Stallings
1: Introduction1 Part I: Introduction Goal: r get context, overview, “feel” of networking r more depth, detail later in course r approach: m descriptive.
Chapter 1 Introduction Computer Networking: A Top Down Approach 6th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
RSC Part I: Introduction Redes y Servicios de Comunicaciones Universidad Carlos III de Madrid These slides are, mainly, part of the companion slides to.
Introduction1-1 Course Code:EE/TE533 Instructor: Muddathir Qamar.
William Stallings Data and Computer Communications 7 th Edition Data Communications and Networks Overview Protocols and Architecture.
CS 3214 Computer Systems Godmar Back Lecture 23. Announcements Project 5 due Dec 8 Exercise 10 handed out Exercise 11 coming before Thanksgiving CS 3214.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
ECE 4400:427/527 - Computer Networks Spring 2015 Dr. Nghi Tran Department of Electrical & Computer Engineering Lecture 3: Network Architectures Dr. Nghi.
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications.
Introduction1-1 Data Communications and Computer Networks Chapter 1 CS 3830 Lecture 1 Omar Meqdadi Department of Computer Science and Software Engineering.
1 Computer Networks & The Internet Lecture 4 Imran Ahmed University of Management & Technology.
William Stallings Data and Computer Communications
1 ECE453 - Introduction to Computer Networks Lecture 1: Introduction.
Introduction1-1 Chapter 1 Computer Networks and the Internet Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition. Jim Kurose,
Reference model. Goal: 2 message exchange between application processes.
CHAPTER 4 PROTOCOLS AND THE TCP/IP SUITE Acknowledgement: The Slides Were Provided By Cory Beard, William Stallings For Their Textbook “Wireless Communication.
1: Introduction1 Protocol “Layers” Networks are complex! r many “pieces”: m hosts m routers m links of various media m applications m protocols m hardware,
Marina Papatriantafilou – Introduction to computer communication Based on the book Computer Networking: A Top Down Approach, Jim Kurose, Keith Ross, Addison-Wesley.
1: Introduction1 Internet Services and Protocols Adapted from “Computer Networking: A Top Down Approach Featuring the Internet” Kurose and Ross, Addison.
TUNALIData Communications1 Chapter 2 Protocols and Architecture.
Computer Networking A Top-Down Approach Featuring the Internet Introduction Jaypee Institute of Information Technology.
Roadmap  Introduction to Basics  Computer Network – Components | Classification  Internet  Clients and Servers  Network Models  Protocol Layers.
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications.
Computer Networks with Internet Technology William Stallings Chapter 2 Protocols and the TCP/IP Protocol Suite.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Computer Networks Dr. Adil Yousif CS Lecture 1.
Course on Computer Communication and Networks Lecture 1 Chapter 1: Introduction Part A: Internet, Protocol Layering and Data CTH EDA344/ GU DIT 420.
Introduction and Overview of Network and Telecommunications
Lecture (2).
Graciela Perera Introduction Graciela Perera
CS 3214 Computer Systems Networking.
Introduction to Networks
Day 01 - The Internet.
Network Introduction.
Slides taken from: Computer Networking by Kurose and Ross
CS 3214 Computer Systems Lecture 21 Godmar Back.
Distributed Systems.
Computer Networks with Internet Technology William Stallings
OSI Protocol Stack Given the post man exemple.
CS 3214 Computer Systems Networking.
Introduction 1 1: Introduction.
Course on Computer Communication and Networks Lecture 1 Chapter 1: Introduction Part A: Internet, Protocol Layering and Data CTH EDA344/ GU DIT 423.
ECE 4400:427/527 - Computer Networks Spring 2017
Chapter 1: Introduction
Protocols and the TCP/IP Suite
Data and Computer Communications by William Stallings Eighth Edition
Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge
Protocols and the TCP/IP Suite
Computer Networking A Top-Down Approach Featuring the Internet
Presentation transcript:

Department of Computer Science Southern Illinois University Carbondale CS441 – Mobile & Wireless Computing Overview of Computer Networking Protocols and Layering Thanks to: Computer Networking: A Top Down Approach Featuring the Internet, 3rd edition. Jim Kurose, Keith Ross Addison-Wesley, July 2004 Data and Computer Communications 7th Edition. William Stallings Prentice-Hall PTR Computer Network 4th edition Andrew S. Tanenbaum Prentice-Hall PTR Mobile & Wireless Computing 1

What’s the Internet: “nuts and bolts” view Millions of connected computing devices: hosts = end systems Running network apps Communication links fiber, copper, radio, satellite transmission rate = bandwidth Routers: forward packets (chunks of data) Protocols control sending, receiving of msgs e.g., TCP, IP, HTTP, FTP, PPP Internet: “network of networks” loosely hierarchical public Internet versus private intranet Internet standards RFC: Request for comments IETF: Internet Engineering Task Force local ISP company network regional ISP router workstation server mobile Mobile & Wireless Computing 2

The network edge End systems (hosts) Client/Server model Run application programs e.g., web, email at “edge of network” Client/Server model Client host requests, receives service from always-on server e.g., Web browser/server; email client/server Peer-Peer model Minimal (or no) use of dedicated servers e.g., Gnutella, KaZaA Mobile & Wireless Computing 3

What’s the Internet: a service view Communication infrastructure enables distributed applications Network edge: applications and hosts Network core: routers network of networks Physical media: communication links Applications: Web, email, games, e-commerce, file sharing Communication services provided to apps: Connectionless unreliable Connection-oriented reliable Various protocols are used for communication services Mobile & Wireless Computing 4

What’s a protocol? Human protocols: “What’s the time?” “I have a question” Introductions … specific msgs sent … specific actions taken when msgs received, or other events Network protocols: Machines rather than humans All communication activity in Internet governed by protocols Protocols define format, order of messages sent and received among network entities, and actions taken on message transmission, receipt Mobile & Wireless Computing 5

What’s a protocol? A human protocol and a computer network protocol: Hi Got the time? 2:00 TCP connection req response Get http://www.awl.com/kurose-ross <file> time Q: Other human protocols? Key Elements of a Protocol: Syntax Data formats Signal levels Timing Speed matching Sequencing Semantics Control information Error handling Mobile & Wireless Computing 6

Protocol “Layers” Networks are complex! Many “pieces”: hosts routers links of various media applications protocols hardware, software Consider the following analogy: Organization of air travel ticket (purchase) baggage (check) gates (load) runway takeoff airplane routing ticket (complain) baggage (claim) gates (unload) runway landing Question: Is there any hope of organizing structure of network? Or at least our discussion of networks? A series of steps Mobile & Wireless Computing 7

Layering of airline functionality ticket (purchase) baggage (check) gates (load) runway (takeoff) airplane routing departure airport arrival intermediate air-traffic control centers ticket (complain) baggage (claim gates (unload) runway (land) ticket baggage gate takeoff/landing Layers: Each layer implements a service via its own internal-layer actions relying on services provided by layer below Why Layering? Dealing with complex systems Explicit structure allows identification, relationship of complex system’s pieces Layered reference model for discussion Modularization eases maintenance, updating of system Change of implementation of layer’s service transparent to rest of system e.g., change in gate procedure doesn’t affect rest of system Mobile & Wireless Computing 8

Standardized Protocol Architectures Required for devices to communicate Vendors have more marketable products Customers can insist on standards based equipment Two standards: OSI Reference model Open Systems Interconnection Developed by the International Organization for Standardization (ISO) Seven layers Never lived up to early promises TCP/IP protocol suite Most widely used De facto standard Also: IBM Systems Network Architecture (SNA) Mobile & Wireless Computing 9

OSI - The Model A layer model Each layer performs a subset of the required communication functions Each layer relies on the next lower layer to perform more primitive functions Each layer provides services to the next higher layer Changes in one layer should not require changes in other layers Why OSI did not take over the world Bad timing Bad technology Bad implementations Bad politics Mobile & Wireless Computing 10

The OSI Environment Mobile & Wireless Computing 11

OSI as Framework for Standardization Mobile & Wireless Computing 12

Elements of Standardization Protocol specification Operates between the same layer on two systems May involve different operating system Protocol specification must be precise Format of data units Semantics of all fields Allowable sequence of PCUs Service definition Functional description of what is provided Addressing between applications Referenced by SAPs Services between adjacent layers expressed in terms of primitives and parameters Primitives specify function to be performed Parameters pass data and control info Mobile & Wireless Computing 13

OSI Layers Transport Physical Session Data Link Presentation Network Exchange of data between end systems Error free In sequence No losses No duplicates Quality of service Session Control of dialogues between applications Dialogue discipline Grouping Recovery Presentation Data formats and coding Data compression Encryption Application Means for applications to access OSI environment Physical Physical interface between devices Mechanical Electrical Functional Procedural Data Link Means of activating, maintaining and deactivating a reliable link Error detection and control Higher layers may assume error free transmission Network Transport of information Higher layers do not need to know about underlying technology Not needed on direct links Mobile & Wireless Computing 14

Use of a Relay Mobile & Wireless Computing 15

TCP/IP Protocol Architecture Developed by the US Defense Advanced Research Project Agency (DARPA) for its packet switched network (ARPANET) Used by the global Internet No official model but a working one. Application layer Host to host or transport layer Internet layer Data link layer Physical layer Problems: Service, interface, and protocol not distinguished Not a general model No exact separate mention of physical and data link layers Sometimes called host-to-network layer Minor protocols deeply entrenched, hard to replace Mobile & Wireless Computing 16

Layer Descriptions Physical Layer Data Link Layer Internet (IP) Layer Physical interface between data transmission device (e.g. computer) and transmission medium or network Characteristics of transmission medium Signal levels Data rates Data Link Layer Exchange of data between neighboring network nodes Invoking services like priority Internet (IP) Layer Systems may be attached to different networks Routing functions across multiple networks Implemented in end systems and routers Transport Layer (TCP) Reliable delivery of data Ordering of delivery Application Layer Support for user applications: HTTP, SMTP Mobile & Wireless Computing 17

OSI vs TCP/IP Mobile & Wireless Computing 18

Protocols and networks in the TCP/IP model Mobile & Wireless Computing 19

How is a connection established? TCP/IP is already part of your computer’s OS Application layer initiates the process TCP adds the PORT number (known as SAP in OSI Model) to the packet For each application there is a different port number (e.g., SMTP= 25) Makes a connection request to the receiving side IP adds the IP address of the destination computer Link or MAC layer determines the destination MAC address and creates a frame by appending that address Passes it to physical layer for transmission Physical layer converts it to bits and transmits The reverse order is followed at the receiver site to receive the packet at the given PORT Mobile & Wireless Computing 20

PDUs in TCP/IP Mobile & Wireless Computing 21

Encapsulation source destination application transport network link message M application transport network link physical segment Ht M datagram Ht Hn M frame Ht Hn Hl M link physical Ht Hn Hl M Ht Hn Hl M switch destination network link physical Ht Hn M Ht Hn M M application transport network link physical Ht Hn Hl M Ht Hn Hl M Ht M Ht Hn M router Ht Hn Hl M Mobile & Wireless Computing 22

Some Protocols in TCP/IP Suite Mobile & Wireless Computing 23