Lecture 3: Networks and Protocols Anders Västberg 08-790 44 55 Slides are a selection from the slides from chapter 3 and 4 from:

Slides:



Advertisements
Similar presentations
CSE 413: Computer Networks
Advertisements

Chapter 5: TCP/IP and OSI Business Data Communications, 5e.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
Module 3.4: Switching Circuit Switching Packet Switching K. Salah.
ECEN “Mobile Wireless Networking”
Network Basics: Circuit-siwtching vs. packet-switching
Protocols and the TCP/IP Suite Chapter 4 (Stallings Book)
Semester Copyright USM EEE442 Computer Networks Introduction: Protocols En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex, UK)
William Stallings Data and Computer Communications 7th Edition
Protocols and the TCP/IP Suite
Communication Networks Chapter 3. Types of Communication Networks Traditional Traditional local area network (LAN) Traditional wide area network (WAN)
Chapter 12: Circuit Switching and Packet Switching
Data Communications Architecture Models. What is a Protocol? For two entities to communicate successfully, they must “speak the same language”. What is.
William Stallings Data and Computer Communications 7 th Edition Chapter 2 Protocols and Architecture.
ECEN 619 “Internet Protocols and Modeling” Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings, etc Lecture notes and Paper.
COE 342: Data & Computer Communications (T042) Dr. Marwan Abu-Amara Chapter 2: Protocols and Architecture.
Computer Networks with Internet Technology William Stallings
Chapter 5: TCP/IP and OSI Business Data Communications, 6e.
Lecture slides prepared for “Business Data Communications”, 7/e, by William Stallings and Tom Case, Chapter 8 “TCP/IP”.
Data Communications and Networking
Protocols and the TCP/IP Suite Chapter 4. Multilayer communication. A series of layers, each built upon the one below it. The purpose of each layer is.
Communication Networks Chapter 3. Types of Communication Networks Traditional Traditional local area network (LAN) Traditional wide area network (WAN)
Communication Networks
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.
Protocols and the TCP/IP Suite
Chapter 2 – X.25, Frame Relay & ATM. Switched Network Stations are not connected together necessarily by a single link Stations are typically far apart.
William Stallings Data and Computer Communications 7 th Edition Data Communications and Networks Overview Protocols and Architecture.
Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff.
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications 1.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications.
ECEN “Internet Protocols and Modeling” Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings, etc Grading (Tentative):
CSCI 465 D ata Communications and Networks Lecture 13 Martin van Bommel CSCI 465 Data Communications & Networks 1.
Data and Computer Communications Chapter 10 – Circuit Switching and Packet Switching (Wide Area Networks)
TELE202 Lecture 5 Packet switching in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lectures »C programming »Source: ¥This Lecture »Packet switching in Wide.
 Circuit Switching  Packet Switching  Message Switching WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998.
Data and Computer Communications Circuit Switching and Packet Switching.
333: DISCUSS THE FUNDAMENTALS OF NETWORKING.  1. Discuss networking concepts (20 hrs)  2. Discuss hardware & software requirement to setup a Local Area.
Computer Networks with Internet Technology William Stallings
Chapter 2 Protocols and the TCP/IP Suite 1 Chapter 2 Protocols and the TCP/IP Suite.
William Stallings Data and Computer Communications
EEC4113 Data Communication & Multimedia System Chapter 7: Network Layer by Muhazam Mustapha, October 2011.
Lecture # 03 Switching Course Instructor: Engr. Sana Ziafat.
CHAPTER 4 PROTOCOLS AND THE TCP/IP SUITE Acknowledgement: The Slides Were Provided By Cory Beard, William Stallings For Their Textbook “Wireless Communication.
1 Chapter 3. Communication Networks Wen-Shyang Hwang KUAS EE.
1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE.
Chapter 3 Communication networks Acknowledgement: The Slides Were Provided By Cory Beard, William Stallings For Their Textbook “Wireless Communication.
Wired Communication Networks and the Internet Lecture Note 6.
ECEN “Internet Protocols and Modeling” Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings, etc Lecture notes and.
Data Communication Networks Lec 13 and 14. Network Core- Packet Switching.
Data and Computer Communications 8 th and 9 th Edition by William Stallings Chapter 10 – Circuit Switching and Packet Switching.
Shambhu J Upadhyaya 1 Shambhu Upadhyaya Computer Science & Eng. University at Buffalo Buffalo, New York COMMUNICATION PROTOCOLS.
Data and Computer Communications Chapter 7 Circuit Switching and Packet Switching.
Data and Computer Communications Ninth Edition by William Stallings Chapter 10 – Circuit Switching and Packet Switching Data and Computer Communications,
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.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Muhammad Waseem Iqbal Lecture # 20 Data Communication.
Protocols and the TCP/IP Suite
Lecture (2).
Computer Networks with Internet Technology William Stallings
Communication Networks
Protocols and the TCP/IP Suite
ECEN 619 “Internet Protocols and Modeling”
Data and Computer Communications by William Stallings Eighth Edition
ECEN “Internet Protocols and Modeling”
Data Communication Networks
Protocols and the TCP/IP Suite
Presentation transcript:

Lecture 3: Networks and Protocols Anders Västberg Slides are a selection from the slides from chapter 3 and 4 from:

Switching Terms Switching Nodes: –Intermediate switching device that moves data –Not concerned with content of data Stations: –End devices that wish to communicate –Each station is connected to a switching node Communications Network: –A collection of switching nodes [Stallings., 2005]

Switched Network [Stallings., 2005]

Observations of Figure 3.3 Some nodes connect only to other nodes (e.g., 5 and 7) Some nodes connect to one or more stations Node-station links usually dedicated point-to-point links Node-node links usually multiplexed links –Frequency-division multiplexing (FDM) –Time-division multiplexing (TDM) Not a direct link between every node pair [Stallings., 2005]

Techniques Used in Switched Networks Circuit switching –Dedicated communications path between two stations –E.g., public telephone network Packet switching –Message is broken into a series of packets –Each node determines next leg of transmission for each packet [Stallings., 2005]

Phases of Circuit Switching Circuit establishment –An end to end circuit is established through switching nodes Information Transfer –Information transmitted through the network –Data may be analog voice, digitized voice, or binary data Circuit disconnect –Circuit is terminated –Each node deallocates dedicated resources [Stallings., 2005]

Characteristics of Circuit Switching Can be inefficient –Channel capacity dedicated for duration of connection –Utilization not 100% –Delay prior to signal transfer for establishment Once established, network is transparent to users Information transmitted at fixed data rate with only propagation delay [Stallings., 2005]

Components of Public Telecommunications Network Subscribers - devices that attach to the network; mostly telephones Subscriber line - link between subscriber and network –Also called subscriber loop or local loop Exchanges - switching centers in the network –A switching centers that support subscribers is an end office Trunks - branches between exchanges [Stallings., 2005]

How Packet Switching Works Data is transmitted in blocks, called packets Before sending, the message is broken into a series of packets –Typical packet length is 1000 octets (bytes) –Packets consists of a portion of data plus a packet header that includes control information At each node en route, packet is received, stored briefly and passed to the next node [Stallings., 2005]

Packet Switching [Stallings., 2005]

Packet Switching [Stallings., 2005]

Packet Switching Advantages Line efficiency is greater –Many packets over time can dynamically share the same node to node link Packet-switching networks can carry out data-rate conversion –Two stations with different data rates can exchange information Unlike circuit-switching networks that block calls when traffic is heavy, packet-switching still accepts packets, but with increased delivery delay Priorities can be used [Stallings., 2005]

Disadvantages of Packet Switching Each packet switching node introduces a delay Overall packet delay can vary substantially –This is referred to as jitter –Caused by differing packet sizes, routes taken and varying delay in the switches Each packet requires overhead information –Includes destination and sequencing information –Reduces communication capacity More processing required at each node [Stallings., 2005]

Packet Switching Networks - Datagram Each packet treated independently, without reference to previous packets Each node chooses next node on packet’s path Packets don’t necessarily follow same route and may arrive out of sequence Exit node restores packets to original order Responsibility of exit node or destination to detect loss of packet and how to recover [Stallings., 2005]

Packet Switching Networks – Datagram Advantages: –Call setup phase is avoided –Because it’s more primitive, it’s more flexible –Datagram delivery is more reliable [Stallings., 2005]

Packet Switching Networks – Virtual Circuit Preplanned route established before packets sent All packets between source and destination follow this route Routing decision not required by nodes for each packet Emulates a circuit in a circuit switching network but is not a dedicated path –Packets still buffered at each node and queued for output over a line [Stallings., 2005]

Packet Switching Networks – Virtual Circuit Advantages: –Packets arrive in original order –Packets arrive correctly –Packets transmitted more rapidly without routing decisions made at each node [Stallings., 2005]

Effect of Packet Size on Transmission [Stallings., 2005]

Effect of Packet Size on Transmission Breaking up packets decreases transmission time because transmission is allowed to overlap Figure 3.9a –Entire message (40 octets) + header information (3 octets) sent at once –Transmission time: 129 octet-times Figure 3.9b –Message broken into 2 packets (20 octets) + header (3 octets) –Transmission time: 92 octet-times [Stallings., 2005]

Effect of Packet Size on Transmission Figure 3.9c –Message broken into 5 packets (8 octets) + header (3 octets) –Transmission time: 77 octet-times Figure 3.9d –Making the packets too small, transmission time starts increases –Each packet requires a fixed header; the more packets, the more headers [Stallings., 2005]

Key Features of a Protocol Syntax –Concerns the format of the data blocks Semantics –Includes control information for coordination and error handling Timing –Includes speed matching and sequencing [Stallings., 2005]

Agents Involved in Communication Applications –Exchange data between computers (e.g., electronic mail) Computers –Connected to networks Networks –Transfers data from one computer to another [Stallings., 2005]

TCP/IP Layers Physical layer Network access layer Internet layer Host-to-host, or transport layer Application layer [Stallings., 2005]

TCP/IP Physical Layer Covers the physical interface between a data transmission device and a transmission medium or network Physical layer specifies: –Characteristics of the transmission medium –The nature of the signals –The data rate –Other related matters [Stallings., 2005]

TCP/IP Network Access Layer Concerned with the exchange of data between an end system and the network to which it's attached Software used depends on type of network –Circuit switching –Packet switching (e.g., X.25) –LANs (e.g., Ethernet) –Others [Stallings., 2005]

T:TCP/IP Internet Layer Uses internet protocol (IP) Provides routing functions to allow data to traverse multiple interconnected networks Implemented in end systems and routers [Stallings., 2005]

TCP/IP Host-to-Host, or Transport Layer Commonly uses transmission control protocol (tcp) Provides reliability during data exchange –Completeness –Order [Stallings., 2005]

TCP/IP Application Layer Logic supports user applications Uses separate modules that are peculiar to each different type of application [Stallings., 2005]

Protocol Data Units (PDUs) [Stallings., 2005]

Common TCP/IP Applications Simple mail transfer protocol (SMTP) –Provides a basic electronic mail facility File Transfer Protocol (FTP) –Allows files to be sent from one system to another TELNET –Provides a remote logon capability [Stallings., 2005]

Layers of the OSI Model Application Presentation Session Transport Network Data link Physical [Stallings., 2005]

Comparison of OSI and TCP/IP [Stallings., 2005]

TCP/IP Architecture Dominance TCP/IP protocols matured quicker than similar OSI protocols –When the need for interoperability across networks was recognized, only TCP/IP was available and ready to go OSI model is unnecessarily complex –Accomplishes in seven layers what TCP/IP does with fewer layers [Stallings., 2005]

Elements of Standardization within OSI Framework Protocol Specification –Format of protocol data units (PDUs) exchanged –Semantics of all fields –Allowable sequence of PDUs Service Definition –Functional description that defines what services are provided, but not how the services are to be provided Addressing –Entities are referenced by means of a service access point (SAP) [Stallings., 2005]

Internetworking Terms Communication network – facility that provides a data transfer service among devices attached to the network Internet – collection of communication networks, interconnected by bridges/routers Intranet – internet used by an organization for internal purposes –Provides key Internet applications –Can exist as an isolated, self-contained internet [Stallings., 2005]

Internetworking Terms End System (ES) – device used to support end- user applications or services Intermediate System (IS) – device used to connect two networks Bridge – an IS used to connect two LANs that use similar LAN protocols Router - an IS used to connect two networks that may or may not be similar [Stallings., 2005]

Functions of a Router Provide a link between networks Provide for the routing and delivery of data between processes on end systems attached to different networks Provide these functions in such a way as not to require modifications of the networking architecture of any of the attached subnetworks [Stallings., 2005]

Network Differences Routers Must Accommodate Addressing schemes –Different schemes for assigning addresses Maximum packet sizes –Different maximum packet sizes requires segmentation Interfaces –Differing hardware and software interfaces Reliability –Network may provide unreliable service [Stallings., 2005]