ELEC3030 Computer Networks



Similar documents
Computer Networks Vs. Distributed Systems

Chapter 1: Introduction

Overview of Network Hardware and Software. CS158a Chris Pollett Jan 29, 2007.

EE4367 Telecom. Switching & Transmission. Prof. Murat Torlak

8/27/2014. What is a computer network? Introduction. Business Applications (1) Uses of Computer Networks. Business Applications (2)

Computer Network. Interconnected collection of autonomous computers that are able to exchange information

Topics. Computer Networks. Let s Get Started! Computer Networks: Our Definition. How are Networks Used by Computers? Computer Network Components

Data Communication Networks Introduction

Communications and Computer Networks

The TCP/IP Reference Model

CSCI 362 Computer and Network Security

Data Communications and Networking Overview

EITF25 Internet Techniques and Applications L5: Wide Area Networks (WAN) Stefan Höst

Basic Networking Concepts. 1. Introduction 2. Protocols 3. Protocol Layers 4. Network Interconnection/Internet

The OSI and TCP/IP Models. Lesson 2

Computer Networks. Definition of LAN. Connection of Network. Key Points of LAN. Lecture 06 Connecting Networks

CSMC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. January 11 CMSC417 Set 1 1

Chapter 7: Computer Networks, the Internet, and the World Wide Web. Invitation to Computer Science, C++ Version, Third Edition

ICS 153 Introduction to Computer Networks. Inst: Chris Davison


SFWR 4C03: Computer Networks & Computer Security Jan 3-7, Lecturer: Kartik Krishnan Lecture 1-3

Network Security 網 路 安 全. Lecture 1 February 20, 2012 洪 國 寶

The OSI model has seven layers. The principles that were applied to arrive at the seven layers can be briefly summarized as follows:

524 Computer Networks

Chapter 8: Computer Networking. AIMS The aim of this chapter is to give a brief introduction to computer networking.

an interconnected collection of autonomous computers interconnected = able to exchange information

Introduction to computer networks and Cloud Computing

CSE 3461 / 5461: Computer Networking & Internet Technologies

Data Communication and Computer Network

Communication Systems Internetworking (Bridges & Co)

The OSI Model and the TCP/IP Protocol Suite PROTOCOL LAYERS. Hierarchy. Services THE OSI MODEL

Data Link Layer Overview

CS335 Sample Questions for Exam #2

Introduction Chapter 1. Uses of Computer Networks

Internetworking and IP Address

Wide Area Networks. Learning Objectives. LAN and WAN. School of Business Eastern Illinois University. (Week 11, Thursday 3/22/2007)

Architecture and Performance of the Internet

The Network Layer Functions: Congestion Control

Layered Architectures and Applications

Overview of Computer Networks

Lecture 28: Internet Protocols

IP Networking. Overview. Networks Impact Daily Life. IP Networking - Part 1. How Networks Impact Daily Life. How Networks Impact Daily Life

Communication Networks. MAP-TELE 2011/12 José Ruela

Objectives of Lecture. Network Architecture. Protocols. Contents

Lecture 6 Types of Computer Networks and their Topologies Three important groups of computer networks: LAN, MAN, WAN

Local-Area Network -LAN

ELEC3030 (EL336) Computer Networks. How Networks Differ. Differences that can occur at network layer, which makes internetworking difficult:

Ethernet. Ethernet. Network Devices

Computer Networking: A Survey

NZQA Expiring unit standard 6857 version 4 Page 1 of 5. Demonstrate an understanding of local and wide area computer networks

Computer Networking Networks

JOB READY ASSESSMENT BLUEPRINT COMPUTER NETWORKING FUNDAMENTALS - PILOT. Test Code: 4514 Version: 01

Protocols and Architecture. Protocol Architecture.

Chapter 9A. Network Definition. The Uses of a Network. Network Basics

IT4405 Computer Networks (Compulsory)

Module 1. Introduction. Version 2 CSE IIT, Kharagpur

What is CSG150 about? Fundamentals of Computer Networking. Course Outline. Lecture 1 Outline. Guevara Noubir noubir@ccs.neu.

Computer Networks III

Introduction To Computer Networking

Mathatma Gandhi University

How To Use A Network Over The Internet (Networking) With A Network (Netware) And A Network On A Computer (Network)

Telecommunications, Networks, and Wireless Computing

The WestNet Advantage: -- Textbooks, ebooks, ecourses -- Instructor Resourse Center -- Student Resource Center

Lecture (02) Networking Model (TCP/IP) Networking Standard (OSI) (I)

Protocol Architecture

The OSI Model: Understanding the Seven Layers of Computer Networks

Indian Institute of Technology Kharagpur. TCP/IP Part I. Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

Protocol Data Units and Encapsulation

Access Control: Firewalls (1)

How To Understand The Layered Architecture Of A Network

Understanding TCP/IP. Introduction. What is an Architectural Model? APPENDIX

DATA COMMUNICATION AND NETWORKS

Computer Networks CS321

Introduction to Computer Networks and Data Communications

Introduction to Networks

Communication Networks. MAP-TELE 2011/12 José Ruela

Internet Concepts. What is a Network?

Security (II) ISO : Security Architecture of OSI Reference Model. Outline. Course Outline: Fundamental Topics. EE5723/EE4723 Spring 2012

Chapter 2 - The TCP/IP and OSI Networking Models

FIREWALLS & NETWORK SECURITY with Intrusion Detection and VPNs, 2 nd ed. Chapter 2 An Introduction to Networking

Local Area Networks transmission system private speedy and secure kilometres shared transmission medium hardware & software

Introduction To Computer Networks

Computer Networks. By Hardeep Singh

WAN Technology. Heng Sovannarith

Networking Test 4 Study Guide

CSIS CSIS 3230 Spring Networking, its all about the apps! Apps on the Edge. Application Architectures. Pure P2P Architecture

CPS221 Lecture: Layered Network Architecture

COMPUTER NETWORKS SECOND EDITION. ANDREW S.fjANENBAUM. Vrije Universiteit Amsterdam, The Netherlands. Nachrichtentechnische Bib'iothek THD Inv.

Internetworking and Internet-1. Global Addresses

COMMUNICATION NETWORKS WITH LAYERED ARCHITECTURES. Gene Robinson E.A.Robinsson Consulting

WAN Data Link Protocols

2 Basic Concepts. Contents

Transcription:

ELEC3030 Computer Networks Professor Sheng Chen: Building 86, Room 1021 E-mail: sqc@ecs.soton.ac.uk Download lecture slides from: http://www.ecs.soton.ac.uk/ sqc/el336/ or get them from Course Office (ECS Student Services) Reading Text: A.S. Tanenbaum, Computer Networks, 4th edition, Prentice Hall, 2003. 2nd Reading Text: L. Chappell and E. Tittel, Guide to TCP/IP, 2nd edition, Thomson, 2004. I will cover half of the unit, including Introduction Data link layer Physical layer Network layer 1

Overview Two most important aspects of computer networks are hardware and software Hardware: as communication is a primary concern in a network, we are dealing with both computers and communication technologies In terms of scale, historically computer networks are classified as Local area networks (LAN): within room, building or campus, and size from 10 m up to a few km Metropolitan area networks (MAN): size in tens km and may cover a city Wide area networks (WAN): within a country or even whole continent, and size from 10 km to 100 km Internetworks: deal with how to connect different kinds of networks resulting the Internet which really covers the whole Planet Software: what actually makes computer networks is software. With software we are not talking computer codes, but design thinking, methodology and framework 2

Overview (continue) It is useful to view computer networks software as consisting of Protocols: describe how two communicating parties exchange information Services: describe what a network offers to parties that want to communicate Interfaces: define how the services offered by a network can be accessed Reference model is referred to as the way of organising network softwares Different people and organisations would like you to organise your network in their reference models, and some examples: OSI 7-layer reference model (OSI: open systems interconnection) TCP/IP model (TCP/IP: transmission control protocol/internet protocol) Hybrid 5-layer model we adopt: a compromise between OSI and TCP/IP Standardisation is critical in computer networks, and major players in standardisations include: ITU (international telecommunication union), ISO (international standards organisation) and IEEE 3

The Hardware Transmission technology: there are two basic methods Broadcast: transmission is broadcasted to and received by all, as in broadcast networks such as packet radio, satellite and LANs Point-to-point: transmission goes from sender to receiver possibly via some intermediate switching nodes, as in switched networks such as WANs and Internet Are wireless networks WIFI broadcast or point-to-point link based? LANs: use broadcast transmission technology Computer Two typical topologies for LANs are bus and token ring (a) Cable (b) Computer MANs: are bigger versions of LANs Two examples are the distributed queue, dual bus on right and air interface for fixed broadband wireless access system (IEEE 802.16) WMAX Direction of flow on bus A Bus A Computer... 1 2 3 N Bus B Direction of flow on bus B Head end 4

The Hardware (continue) LANs and MANs do not have any switching nodes: the wire (or wireless) does all the work This makes them extremely efficient but harder to get bigger WANs: hosts are connected to a subnet, which contains routers (switching nodes) and trunks Routers generally adopt a store-and-forward (packet-switched) principle Subnet Router LAN Host Internetwork: many networks exist with very different hardware and software, and interconnecting different networks is called internetwork Connect a collection of different LANs within a department Connect different LANs through a WAN, with WAN acting as a subnet Connect different WANs to each other by means of gateways the Internet Subnet: collection of routers and trunks; Network: combination of a subnet and its hosts; Internetwork: distinct networks interconnected together 5

Layered Structure and Protocol A complete communication task across network is very complicated most network architectures or softwares are organised as a series of layers Each layer performs a related subset of the functions required to communicate with another system It relies on the next lower layer to perform more primitive functions and to conceal the details of how those functions are actually implemented interface layer interface N entity N-1 entity protocol connection service access point Logically, peer layers across the network talk to each other using protocols The communication is actually carried out using some services provided by lower layer Adjacent layers in the same machine communicate via an interface Interface is realised in one or more service access points, which function in the manner of ports 6

Services There are two different types of services: connection-oriented and connectionless Connection-oriented: the user first establishes a connection, then uses the connection to communicate, finally releases the connection (think this as using telephone) Connectionless: each data unit has the complete destination address and is routed through the network to the destination independently (think this as posting a letter) Each service offers certain quality: e.g. whether ordered delivery and how reliable A service is specified by a set of primitives (operations) available to a user to access the service Four classes of service primitives are: request indication response confirm Consider a simplest connection-oriented service with 8 primitives entity wants the service to do some work entity is to be informed about an event entity wants to response to an event response to earlier request has come back 1. CONNECT.request request a connection to be established (dial a phone number) 2. CONNECT.indication signal the called party (phone rings) 3. CONNECT.response used by the callee to accept/reject calls (pick up the phone) 4. CONNECT.confirm tell the caller whether the call was accepted (caller hears ringing stop) 5. DATA.request request that data be sent (say something) 6. DATA.indication signal the arrival of data (callee hears you) 7. DISCONNECT.request request that a connection be released (caller hangs up) 8. DISCONNECT.indication signal the release of the connection (callee hears busy tone) 7

OSI 7-layer Reference Model Recall that software makes computer networks and layered structure is a basic principle in organising computer network software In design, one would like to have a framework for dividing network software into several layers, defining what each layer does, and finally providing implementation specifications This kind of framework is called reference model Layer 7 Application Interface 6 Presentation Interface 5 Session 4 Transport 3 Network 2 Data link Application protocol Presentation protocol Session protocol Transport protocol Communication subnet boundary Internal subnet protocol Network Network Data link Data link Application Presentation Session Transport Network Data link Name of unit exchanged APDU PPDU SPDU TPDU Packet Frame A well known example is the OSI 7-layer reference model specified by ISO 1 Physical Host A Physical Router Physical Router Network layer host-router protocol Data link layer host-router protocol Physical layer host-router protocol Physical Host B Bit 8

OSI 7-layer Model (continue) 1. Physical layer: is concerned with the transmission of raw bits, and deals with mechanical, electrical and procedural interfaces, and physical transmission medium 2. Data link layer: describes how a shared communication medium can be accessed, and how to make an unreliable noisy link reliable 3. Network layer: is concerned with controlling the operation of subnet, for example, how routing is done 4. Transport layer: provides the actual network interface to applications, jobs like making network connections, multiplexing, flow control. It is a true end-to-end layer, from source to destination 5. Session layer: tells how to set up long-lasting communications (sessions). This is the dumbest and ill-defined 6. Presentation layer: describes everything that is needed to exchange data in a platform-independent way. An example is data encoding 7. Application layer: contains the stuff that user can see, such as e-mail, file transfer, remote login, web s exchange protocols Note that the user-network interaction occurs at the bottom three-layer levels: the net is essentially unconcerned with higher layers 9

TCP/IP Reference Model This is where Internet started: used to be a wild cowboy s world but now is better standardised 1. Application layer: does similar things as OSI application layer 2. Transport layer: does similar things as OSI transport layer Two end-to-end protocols are defined: TCP transmission control protocol (for reliable connection-oriented) and UDP user datagram protocol (for unreliable connectionless) 3. Internet layer: similar in functionality to OSI network layer 7 6 5 4 3 2 1 OSI Application Presentation Session Transport Network Data link Physical TCP/IP Application Transport Internet Host-to-network Not present in the model 4. Host-to-network layer: anything below the internet layer, not very well defined Two reference models represent two different views of the world: telecommunication camp and computer camp. OSI camp views the world (i.e. the network) as rigid, well defined and organised, TCP/IP camp historically views the world as hostile and chaotic New standards are now often defined with best of both reference models 10

Comparison of OSI and TCP/IP Models Three important concepts, services, interfaces and protocols, are well defined in OSI model, but not in original TCP/IP model Transport layer does the hardest job, dealing with end-to-end connection Data link layer is also very important: An end-to-end connection consists of many links, and each possibly noisy link need to be made reliable On the other hand, no one really knows precisely what session layer does It may also be argued that a separate presentation layer is not strictly necessary Based on comparison, we will adopt the hybrid 5-layer reference model: This is a good framework for discussion of computer networks 5 Application layer 4 Transport layer 3 Network layer 2 Data link layer 1 Physical layer 11

Summary Computer network hardware overview Two communication technologies: broadcast and point-to-point transmissions Networks in terms of scale: LAN, MAN, WAN, internetwork Computer network software overview: Layered structure, definitions of protocol, service and interface Connection-oriented and connectionless services, service quality, service primitives Reference models: OSI 7-layer, TCP/IP and hybrid 5-layer 12