4.1 Fundamentals COMMUNICATION: Advanced Operating Systems (CSc 8320)

Slides:



Advertisements
Similar presentations
Exercises and Solutions Lecture 1
Advertisements

OSI MODEL Maninder Kaur
1 The 7 layer OSI model Sending an . 2 The seven layers.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
OSI Model.
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
TCP: Software for Reliable Communication. Spring 2002Computer Networks Applications Internet: a Collection of Disparate Networks Different goals: Speed,
The OSI Model A layered framework for the design of network systems that allows communication across all types of computer systems regardless of their.
Lecturer: Tamanna Haque Nipa
1.  A protocol is a set of rules that governs the communications between computers on a network.  Functions of protocols:  Addressing  Data Packet.
Process-to-Process Delivery:
Data Communications and Networks
Presentation on Osi & TCP/IP MODEL
Computer Networks.  The OSI model is a framework containing seven layers that defines the protocols and devices used at each stage of the process when.
Characteristics of Communication Systems
Internet Addresses. Universal Identifiers Universal Communication Service - Communication system which allows any host to communicate with any other host.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
Unit27-networking BTEC NAT – UNIT 27 NETWORKING OSI MODEL Unit Leader:Dave Bell
The OSI Model An ISO (International standard Organization) that covers all aspects of network communications is the Open System Interconnection (OSI) model.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
 An ISO is a multi national body dedicated to worldwide agreement on international standards.  An ISO standard that covers all aspects of network communications.
The OSI Model.
University of the Western Cape Chapter 12: The Transport Layer.
Spring 2006Computer Networks1 Chapter 2 Network Models.
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Communication Fundamentals Yi Liang 9/9/2015. Fundamentals  Layered protocols Build Message System call Send over network d Process A Process B.
Prepared by Engr.Jawad Ali BSc(Hons)Computer Systems Engineering University of Engineering and Technology Peshawar.
Network Protocols and Standards (Part 2). The OSI Model In 1984, the International Organization for Standardization (ISO) defined a standard, or set of.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Distributed (Operating) Systems -Communication in Distributed Systems- Computer Engineering Department Distributed Systems Course Assoc. Prof. Dr. Ahmet.
Individual Project 1 Sarah Pritchard. Fran, a customer of your company, would like to visit your company’s website from her home computer… How does your.
Net 221D:Computer Networks Fundamentals
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.
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 5 – VoIP and the OSI Model.
Internet Flow By: Terry Hernandez. Getting from the customers computer onto the internet Internet Browser
Data Communication Network Models
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)
Cisco I Introduction to Networks Semester 1 Chapter 7 JEOPADY.
Networking Using the OSI Model.
The OSI Model Prof. Choong Seon HONG.
Chapter 5 Network and Transport Layers
Chapter 5 Network and Transport Layers
Click to edit Master subtitle style
Chap. 2 Network Models.
The OSI Model and the TCP/IP Protocol Suite
Chapter 1 Introduction Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011.
Lec 2: Protocols.
Layered Architectures
Understand the OSI Model Part 2
The OSI 7 Layer Model.
Understanding the OSI Reference Model
IOS Network Model 2nd semester
The OSI Model and the TCP/IP Protocol Suite
Packet Sniffing.
Chapter 3: Open Systems Interconnection (OSI) Model
Process-to-Process Delivery:
Chapter 15 – Part 2 Networks The Internal Operating System
Networking Theory (part 2)
Network Architecture Models
How Our Customers Communicate With Us
EEC4113 Data Communication & Multimedia System Chapter 1: Introduction by Muhazam Mustapha, July 2010.
The OSI Model and the TCP/IP Protocol Suite
OSI Reference Model Unit II
Kyle Broussard, Alexandra Mikolai,
Process-to-Process Delivery: UDP, TCP
The TCP/IP Model.
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Transport Layer 9/22/2019.
Networking Theory (part 2)
Unit – III Network Essentials
Presentation transcript:

4.1 Fundamentals COMMUNICATION: Advanced Operating Systems (CSc 8320) Presented by: Azim Ahmadzadeh September 8, 2017

The Problem → (ISO OSI) Protocols In distributed systems, there is no shared memory; When two processes need to communicate, they should rely on sending and receiving messages; To avoid chaos, some agreements are needed: How many volts to signal a O-bit and I-bit? What is the last bit of the incoming message? How to know if a message is damaged or lost? → (ISO OSI) International Standards Organization developed a reference model called Open System Interconnection model. Protocols

Connection Oriented Protocols; Generally, there are 2 types of protocols: Connection Oriented Protocols; First, establish a connection; (Possibly) negotiate the protocols; Communicate; Finally, terminate the connection; Exp: Telephone Connectionless Protocols; No established connection is required; Transmit the message when the “sender” is ready. Exp: Mailbox

OSI Communication Model The Seven Layers A group of protocols from a communication model. Any open system needs to follow this model to be able to communicate with other open systems. “Each layer deals with one specific aspect of the communication.” “Each layer provides an interface to the one above it.” Physical layer: Cable layer; Systems need to be physically connected to the network; Transmission of raw bits; Data Link: Every networking device need a MAC address; How switches operate; It divides packets into frames; error detection and correction; Network Layer: Anything related to IP addresses; DNS; Routing -> finding the path and making sure the message reaches the other end; Transport Layer: Windowing (divides messages into smaller pieces); Decides how large a block of info should be; how long a computer should wait (acknowledgement); Session Layer: A computer to communicate to any other system, a session has to be established; (Handshaking) Presentation Layer: In the OS layer; encryption; Security protocol; 32-64 conversion; Application Layer: Skype; chrome; firefox; ... Illustration from: https://networksmania.files.wordpress.com/2012/03/data-link.png

Physical Layer OSI Communication Model It is concerned with transmitting the O’s and I’s. How many bits per seconds can be sent? Can transmission take place in both directions simultaneously? It makes sure that when a machine sends a 0 bit, it is actually received as a 0 bit and not a 1 bit; Physical layer: Cable layer; Systems need to be physically connected to the network; Transmission of raw bits; Data Link: Every networking device need a MAC address; How switches operate; It divides packets into frames; error detection and correction; Network Layer: Anything related to IP addresses; DNS; Routing -> finding the path and making sure the message reaches the other end; Transport Layer: Windowing (divides messages into smaller pieces); Decides how large a block of info should be; how long a computer should wait (acknowledgement); Session Layer: A computer to communicate to any other system, a session has to be established; (Handshaking) Presentation Layer: In the OS layer; encryption; Security protocol; 32-64 conversion; Application Layer: Skype; chrome; firefox; ... Illustration from: https://networksmania.files.wordpress.com/2012/03/data-link.png

Data Link Layer OSI Communication Model It divides packets into frames; 0’s and 1’s will not always be received as they were sent. Data link layer has to detect and correct such mistakes. An error is detected when the two sides of the communication do not agree on the checksum; Physical layer: Cable layer; Systems need to be physically connected to the network; Transmission of raw bits; Data Link: Every networking device need a MAC address; How switches operate; It divides packets into frames; error detection and correction; Network Layer: Anything related to IP addresses; DNS; Routing -> finding the path and making sure the message reaches the other end; Transport Layer: Windowing (divides messages into smaller pieces); Decides how large a block of info should be; how long a computer should wait (acknowledgement); Session Layer: A computer to communicate to any other system, a session has to be established; (Handshaking) Presentation Layer: In the OS layer; encryption; Security protocol; 32-64 conversion; Application Layer: Skype; chrome; firefox; ... Illustration from: https://networksmania.files.wordpress.com/2012/03/data-link.png

Network Layer OSI Communication Model It is to find the best route from sender to receiver; The shortest route is not necessarily the best route, but the one with the minimum number of queued messages; IP is the most popular network protocol; Each IP packet is routed to its destination independent of all others. No internal path is selected and remembered Physical layer: Cable layer; Systems need to be physically connected to the network; Transmission of raw bits; Data Link: Every networking device need a MAC address; How switches operate; It divides packets into frames; error detection and correction; Network Layer: Anything related to IP addresses; DNS; Routing -> finding the path and making sure the message reaches the other end; Transport Layer: Windowing (divides messages into smaller pieces); Decides how large a block of info should be; how long a computer should wait (acknowledgement); Session Layer: A computer to communicate to any other system, a session has to be established; (Handshaking) Presentation Layer: In the OS layer; encryption; Security protocol; 32-64 conversion; Application Layer: Skype; chrome; firefox; ... Illustration from: https://networksmania.files.wordpress.com/2012/03/data-link.png

Transport Layer OSI Communication Model Upon receiving a message, transport layer breaks it into smaller pieces called Segments (Windowing); “Which packets have been sent?” “Which packets have been received?” “How many more the receiver has room to receive?” Protocols: TCP, TCPIIP, UDP, RTP; Physical layer: Cable layer; Systems need to be physically connected to the network; Transmission of raw bits; Data Link: Every networking device need a MAC address; How switches operate; It divides packets into frames; error detection and correction; Network Layer: Anything related to IP addresses; DNS; Routing -> finding the path and making sure the message reaches the other end; Transport Layer: Windowing (divides messages into smaller pieces); Decides how large a block of info should be; how long a computer should wait (acknowledgement); Session Layer: A computer to communicate to any other system, a session has to be established; (Handshaking) Presentation Layer: In the OS layer; encryption; Security protocol; 32-64 conversion; Application Layer: Skype; chrome; firefox; ... Illustration from: https://networksmania.files.wordpress.com/2012/03/data-link.png

Session Layer OSI Communication Model For any system-to-system communication, a session has to be established (Handshaking); It controls which party is talking now (synchronization); Only a few applications are interested in the session layer; Physical layer: Cable layer; Systems need to be physically connected to the network; Transmission of raw bits; Data Link: Every networking device need a MAC address; How switches operate; It divides packets into frames; error detection and correction; Network Layer: Anything related to IP addresses; DNS; Routing -> finding the path and making sure the message reaches the other end; Transport Layer: Windowing (divides messages into smaller pieces); Decides how large a block of info should be; how long a computer should wait (acknowledgement); Session Layer: A computer to communicate to any other system, a session has to be established; (Handshaking) Presentation Layer: In the OS layer; encryption; Security protocol; 32-64 conversion; Application Layer: Skype; chrome; firefox; ... Illustration from: https://networksmania.files.wordpress.com/2012/03/data-link.png

Presentation Layer OSI Communication Model It is in the OS layer; Not concerned with the bits, but their meaning; Responsible for tasks like encryption (Security protocols); Compatibility of systems with different internal representations on the opposite sides; Physical layer: Cable layer; Systems need to be physically connected to the network; Transmission of raw bits; Data Link: Every networking device need a MAC address; How switches operate; It divides packets into frames; error detection and correction; Network Layer: Anything related to IP addresses; DNS; Routing -> finding the path and making sure the message reaches the other end; Transport Layer: Windowing (divides messages into smaller pieces); Decides how large a block of info should be; how long a computer should wait (acknowledgement); Session Layer: A computer to communicate to any other system, a session has to be established; (Handshaking) Presentation Layer: In the OS layer; encryption; Security protocol; 32-64 conversion; Application Layer: Skype; chrome; firefox; ... Illustration from: https://networksmania.files.wordpress.com/2012/03/data-link.png

Application Layer OSI Communication Model Applications such as Firefox, Skype, etc. “It is practically the container for all applications and protocols that do not fit into one of the underlying layers”; Protocols such as HTTP, FTP. Physical layer: Cable layer; Systems need to be physically connected to the network; Transmission of raw bits; Data Link: Every networking device need a MAC address; How switches operate; It divides packets into frames; error detection and correction; Network Layer: Anything related to IP addresses; DNS; Routing -> finding the path and making sure the message reaches the other end; Transport Layer: Windowing (divides messages into smaller pieces); Decides how large a block of info should be; how long a computer should wait (acknowledgement); Session Layer: A computer to communicate to any other system, a session has to be established; (Handshaking) Presentation Layer: In the OS layer; encryption; Security protocol; 32-64 conversion; Application Layer: Skype; chrome; firefox; ... Illustration from: https://networksmania.files.wordpress.com/2012/03/data-link.png

Moving Through Stacks Data chunks becoming enveloped with more data as headers. At each layer, a header will be added to the message containing the corresponding protocols. E.g. “Data link layer header” is added to the message on the “Data link” layer. Illustration from: http://www.just2good.co.uk/osi.php

Persistent vs Transient Persistent communication A message is stored at a communication server as long as it takes to deliver it at the receiver. Transient communication A message is discarded by a communication server as soon as it cannot be delivered at the next server or at the receiver. Source: http://www.ia.pw.edu.pl/~tkruk/edu/rso.b/lecture/pre/rso03_pre.pdf

Synchronous vs Asynchronous Asynchronous Communication Sender continues immediately after it has submitted its message for transmission. Something that is happening in real time. Instant Messaging, Video Conference synchronous communication Sender blocked until its message is stored in a local buffer at the receiving host or actually delivered to the receiver. Something that is not happening in real time. senders ship off their messages for recipients to open at their convenience. Text Message, Email, Facebook, Youtube Source: http://www.ia.pw.edu.pl/~tkruk/edu/rso.b/lecture/pre/rso03_pre.pdf

See chapter 4.1 and copy all the references here … DAY, J. and ZIMMERMAN, H.: "The OSI Reference Model." Proceedings of the IEEE, (71)12:1334-1340, Dec. 1983. COMER, D.: lnternet working with TCPIIP, Volume I: Principles, Protocols, and Architecture. Upper Saddle River, NJ: Prentice Hall, 5th ed., 2006. Cited on page 121. SCHULZRINNE, H., CASNER, S., FREDERICK, R.. and JACOBSON, V.: "RTP: A Transport Protocol for Real-Time Applications." RFC 3550, July 2003. POSTEL, J. and REYNOLDS, J.: "File Transfer Protocol." RFC 995, Oct. 1985. FIELDING, R., GETTYS, J., MOGUL, J., FRYSTYK, H., MASINTER. L., LEACH, P., and BERNERS-LEE, T.: "Hypertext Transfer Protocol - HTTP/1.1." RFC 2616, June 1999.

Synchronous vs Asynchronous Persistent Asynchronous Persistent Synchronous Source: http://www.ia.pw.edu.pl/~tkruk/edu/rso.b/lecture/pre/rso03_pre.pdf