Lecture 2 Overview.

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

Introduction 2 1: Introduction.
OSI Model OSI MODEL.
James 1:5 If any of you lacks wisdom, he should ask God, who gives generously to all without finding fault, and it will be given to him.
Lecture 2 Protocol Layers CPE 401 / 601 Computer Network Systems slides are modified from Dave Hollinger.
PROTOCOLS AND ARCHITECTURE Lesson 2 NETS2150/2850.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
Lecture 1 Internet Overview: roadmap 1.1 What is the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  network structure,
Lecture Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  network structure,
1 Netprog 2002 Network Terminology Motivation, Terminology, Layered systems (and other random stuff)
Lecture 1 Internet CPE 401 / 601 Computer Network Systems slides are modified from Dave Hollinger and Daniel Zappala.
Lecture 1 Overview: roadmap 1.1 What is computer network? the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  network.
Lecture 1 Internet Overview: roadmap 1.1 What is the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  network structure,
Introduction1-1 CS 325 Computer Networks Sami Rollins Fall 2005.
Computer Communication & Networks
OIS Model TCP/IP Model.
Lecturer: Tamanna Haque Nipa
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.
Communication Network Protocols Jaya Kalidindi CSC 8320(fall 2008)
Lecture 1 Internet CPE 401 / 601 Computer Network Systems slides are modified from Dave Hollinger and Daniel Zappala Lecture 1 Introduction.
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.
Protocol Architectures. Simple Protocol Architecture Not an actual architecture, but a model for how they work Similar to “pseudocode,” used for teaching.
Internet Addresses. Universal Identifiers Universal Communication Service - Communication system which allows any host to communicate with any other host.
Layer Architecture Layer architecture simplifies the network design. It is easy to debug network applications in a layered architecture network. The network.
The OSI Model An ISO (International standard Organization) that covers all aspects of network communications is the Open System Interconnection (OSI) model.
Lecture 1 Internet CPE 401 / 601 Computer Network Systems slides are modified from Dave Hollinger and Daniel Zappala Lecture 2 Introduction.
Lecture 3 Overview. Protocol An agreed upon convention for communication both endpoints need to understand the protocol. Protocols must be formally defined.
Introduction1-1 Data Communications and Computer Networks Chapter 1 CS 3830 Lecture 1 Omar Meqdadi Department of Computer Science and Software Engineering.
Introduction 1-1 Networking Admin  1 to 4 lectures a week for 11 weeks for a total of 23 lectures  Interleaves with Functional Programming  First prac.
William Stallings Data and Computer Communications
Open System Interconnection Describe how information from a software application in one computer moves through a network medium to a software application.
1 Networking. 2 Network “... communication system for connecting end-systems” End-systems a.k.a. “hosts” PCs, workstations dedicated computers network.
1 Netprog: OSI Reference Model Networking. 2 Network “... communication system for connecting end-systems” End-systems a.k.a. “hosts” PCs, workstations.
OSI Model. Open Systems Interconnection (OSI) is a set of internationally recognized, non proprietary standards for networking and for operating system.
1: Introduction1 Internet Services and Protocols Adapted from “Computer Networking: A Top Down Approach Featuring the Internet” Kurose and Ross, Addison.
TCP/IP Protocol Suite Suresh Kr Sharma 1 The OSI Model and the TCP/IP Protocol Suite Established in 1947, the International Standards Organization (ISO)
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
Lecture # 02 Network Models Course Instructor: Engr. Sana Ziafat.
Computer Engineering and Networks, College of Engineering, Majmaah University Protocols OSI reference MODEL TCp /ip model Mohammed Saleem Bhat
Computer Networking A Top-Down Approach Featuring the Internet Introduction Jaypee Institute of Information Technology.
OSI Model OSI MODEL. Communication Architecture Strategy for connecting host computers and other communicating equipment. Defines necessary elements for.
OSI Model OSI MODEL.
Network Models.
Computer Networks Dr. Adil Yousif CS Lecture 1.
The OSI Model Prof. Choong Seon HONG.
Motivation, Terminology, Layered systems (and other random stuff)
Graciela Perera Introduction Graciela Perera
Part 0: Networking Review
Slides taken from: Computer Networking by Kurose and Ross
OSI NETWORK MODEL.
Layered Architectures
Lecturer, Department of Computer Application
DEPARTMENT OF COMPUTER SCIENCE
Understanding the OSI Reference Model
Computer Network.
Chapter 1: Introduction
CPE 401 / 601 Computer Network Systems
Data and Computer Communications by William Stallings Eighth Edition
Chapter 3: Open Systems Interconnection (OSI) Model
Network Protocol Layers
Computer Network.
Networking.
OSI Model OSI MODEL.
Motivation, Terminology, Layered systems (and other random stuff)
Computer Networking A Top-Down Approach Featuring the Internet
Networking.
EEC4113 Data Communication & Multimedia System Chapter 1: Introduction by Muhazam Mustapha, July 2010.
Internet Technologies Presenter: Samuel Wagema Mob: /
Unit – III Network Essentials
Presentation transcript:

Lecture 2 Overview

Multiaccess vs. Point-to-point Multi-access means shared medium many end-systems share the same physical communication resources (wire, frequency, ...) There must be some arbitration mechanism. Point-to-point only 2 systems involved no doubt about where data came from ! Internet

The Internet millions of connected computing devices: hosts = end systems running network apps communication links fiber, copper, radio, satellite routers: forward packets (chunks of data) Home network Institutional network Mobile network Global ISP Regional ISP PC server wireless laptop cellular handheld wired links access points router Internet

A Network of Networks roughly hierarchical Tier-1 ISPs provide national, international coverage Tier-2 ISPs provide regional coverage Tier-3 and lower levels provide local coverage any tier may sell to business and residential customers any ISP may have a link to any other ISP not strictly hierarchical Internet

Internet Design Goals primary goal: interoperability among existing networks a network of networks obey administrative boundaries secondary goals fault tolerance multiple transport protocols support a variety of networks distributed management cost effective, low effort for host attachment, accountability first three were more important, so remaining four did not receive as much attention no mention of security Internet

Internet Design Principles minimal assumptions about services network should support ability to send packets no reliability or security end-to-end principle keep the core of the network as simple as possible, put complex functionality at the edges exception: significant performance improvement Internet

Layering Divide a task into pieces and then solve each piece independently (or nearly so) Establishing a well defined interface between layers makes porting easier Major Advantages: Code Reuse Extensibility Internet

The Internet Hourglass

The Internet at each Hop

CPE 401 / 601 Computer Network Systems Lecture 3 Protocols and Layering Lecture 1 Internet CPE 401 / 601 Computer Network Systems slides are modified from Dave Hollinger

What’s a protocol? human protocols: network 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 Internet

What’s a protocol? a human protocol and a computer network protocol: Hi TCP connection request Hi TCP connection response Got the time? Get http://www.awl.com/kurose-ross 2:00 <file> time Q: Other human protocols? Internet

Protocol An agreed upon convention for communication. both endpoints need to understand the protocol. Protocols must be formally defined and unambiguous! Protocols define format, order of msgs sent and received among network entities, actions taken on msg transmission, receipt We will study lots of existing protocols and perhaps develop a few of our own. Internet

Programs & Processes A program is an executable file. A process or task is an instance of a program that is being executed. A single program can generate multiple processes. Internet

Client - Server A server is a process - not a machine ! A server waits for a request from a client. A client is a process that sends a request to an existing server and (usually) waits for a reply. Internet

Client - Server Examples Server returns the time-of-day. Server returns a document. Server prints a file for client. Server does a disk read or write. Server records a transaction. Internet

Servers Servers are generally more complex (more interesting). Basic types of servers: Iterative - server handles one client at a time. Concurrent - server handles many clients at a time. We will study the differences later. Internet

Layering Internet

OSI Reference Model The International Standards Organization (ISO) proposal for the standardization of various protocols used in computer networks is called the Open Systems Interconnection Reference Model. Although the OSI model is a just a model (not a specification), it is generally regarded as the most complete model. Protocol Layers

OSI 7 Layer Model: 7 Application 6 Presentation 5 Session 4 Transport 3 Network 2 Data-Link 1 Physical High level protocols TCP/IP Model Low level protocols Protocol Layers

Simplified Network Model Application Application Interface Protocols Transport Transport Peer-to-peer Protocols Network Network Data Link Data Link Protocol Layers

The Physical Layer Responsibility: Issues: transmission of raw bits over a communication channel Issues: mechanical and electrical interfaces time per bit distances Protocol Layers

The Data Link Layer Responsibility: Issues: provide an error-free communication link Issues: framing (dividing data into chunks) header & trailer bits addressing 10110110101 01100010011 10110000001 Protocol Layers

The Data Link Layer Data Link Control sublayer Medium Access Control sublayer needed by mutiaccess networks. MAC provides Data Link Control with “virtual wires” on multiaccess networks. Protocol Layers

The Network Layer Responsibilities: Issues: path selection between end-systems (routing). flow control. fragmentation & reassembly translation between different network types. Issues: packet headers virtual circuits Protocol Layers

The Transport Layer Responsibilities: Issues: provides virtual end-to-end links between peer processes. end-to-end flow control Issues: headers error detection reliable communication Protocol Layers

The Session Layer Responsibilities: establishes, manages, and terminates sessions between applications. service location lookup Many protocol suites do not include a session layer. Not in TCP/IP model Protocol Layers

The Presentation Layer Responsibilities: data encryption data compression data conversion Many protocol suites do not include a Presentation Layer. Not in TCP/IP model Protocol Layers

The Application Layer Responsibilities: Issues: anything not provided by any of the other layers TCP/IP model Session and Presentation Layer functions Issues: application level protocols appropriate selection of “type of service” Protocol Layers

Layering & Headers Each layer needs to add some control information to the data in order to do it’s job. This information is typically prepended to the data before being given to the lower layer. Once the lower layers deliver the data and control information - the peer layer uses the control information. Protocol Layers

Headers DATA Application Application Transport H DATA Transport Network H H DATA Network Data Link H H H DATA Data Link Protocol Layers

What are the headers? Physical: Data Link: no header - just a bunch of bits Data Link: address of the receiving endpoints address of the sending endpoint length of the data checksum Protocol Layers

What are the headers? Network: Protocol Protocol version type of service packet identifier time to live source network address destination network address length of the data fragment number header checksum Protocol Layers

Layers Summary Data-Link: communication between machines on the same network. Network: communication between machines on possibly different networks. Transport: communication between processes (running on machines on possibly different networks). Protocol Layers