17
Lecture Computer Networks Basics Prof. Dr. Hans Peter Großmann mit M. Rabel sowie H. Hutschenreiter und T. Nau | Sommersemester 2012 | Institut für Organisation und Management von Informationssystemen

Lecture Computer Networks - Ulm · Lecture Computer Networks Prof. Dr. Hans Peter Großmann mit M. Rabel sowie Basics H. Hutschenreiter und T. Nau | Sommersemester 2012 | Institut

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Lecture Computer Networks - Ulm · Lecture Computer Networks Prof. Dr. Hans Peter Großmann mit M. Rabel sowie Basics H. Hutschenreiter und T. Nau | Sommersemester 2012 | Institut

Lecture Computer Networks

BasicsProf. Dr. Hans Peter Großmann mit M. Rabel sowieH. Hutschenreiter und T. Nau | Sommersemester 2012 |Institut für Organisation und Management von Informationssystemen

Page 2: Lecture Computer Networks - Ulm · Lecture Computer Networks Prof. Dr. Hans Peter Großmann mit M. Rabel sowie Basics H. Hutschenreiter und T. Nau | Sommersemester 2012 | Institut

Computer Networks | Grundlagen | Sommersemester 2012Page

Basics

• Characteristics of data communication technologies

• OSI-Model• Topologies

• Packet switching / Circuit switching

• Medium Access Control (MAC) mechanisms

• Coding• Quality of Service (QoS)

2

Friday, May 11, 12

Page 3: Lecture Computer Networks - Ulm · Lecture Computer Networks Prof. Dr. Hans Peter Großmann mit M. Rabel sowie Basics H. Hutschenreiter und T. Nau | Sommersemester 2012 | Institut

Computer Networks | Grundlagen | Sommersemester 2012Page

Characteristics I (examples)

• Access to the communication medium (MAC)– stochastic or deterministic

Technology STOCHASTIC DETERMINISTICEthernet YES

CAN YES

Profibus YES

MOST YES

LIN YES

IEEE 1394 (Firewire) YES (asynch.) YES (isochron.)

IEEE 802.11 (WLAN) YES

Bluetooth YES

3

Friday, May 11, 12

Page 4: Lecture Computer Networks - Ulm · Lecture Computer Networks Prof. Dr. Hans Peter Großmann mit M. Rabel sowie Basics H. Hutschenreiter und T. Nau | Sommersemester 2012 | Institut

Computer Networks | Grundlagen | Sommersemester 2012Page

Characteristics II (examples)

• Real-Time capability – fully-, conditionally- or not- capable

Technology FULLY CONDITIONALLY NOT

Ethernet YESCAN YESProfibus YES YES MOST YES YES LIN YES IEEE 1394 (Firewire) YES YES IEEE 802.11 (WLAN) YESBluetooth YES YES

4

Friday, May 11, 12

Page 5: Lecture Computer Networks - Ulm · Lecture Computer Networks Prof. Dr. Hans Peter Großmann mit M. Rabel sowie Basics H. Hutschenreiter und T. Nau | Sommersemester 2012 | Institut

Computer Networks | Grundlagen | Sommersemester 2012Page

Characteristics III (examples)

• Type of the nodes (Master, Slave, Equal)

Technology MASTER /SLAVE(S)

MULTI-MASTER / SLAVE(S) EQUAL NODES

Ethernet YESCAN YESProfibus YES MOST YESLIN YES IEEE 1394 (Firewire) YESIEEE 802.11 (WLAN) YESBluetooth YES

5

Friday, May 11, 12

Page 6: Lecture Computer Networks - Ulm · Lecture Computer Networks Prof. Dr. Hans Peter Großmann mit M. Rabel sowie Basics H. Hutschenreiter und T. Nau | Sommersemester 2012 | Institut

Computer Networks | Grundlagen | Sommersemester 2012Page

Characteristics IV (examples)

• Modes of data-communication – asynchronous, synchronous or isochronous

Technology ASYNCHRONOUS SYNCHRONOUS ISOCHRONOUS

Ethernet YES CAN YES Profibus YES MOST YES LIN YES IEEE 1394 (Firewire) YES YESIEEE 802.11 (WLAN) YES Bluetooth YES YES

6

Friday, May 11, 12

Page 7: Lecture Computer Networks - Ulm · Lecture Computer Networks Prof. Dr. Hans Peter Großmann mit M. Rabel sowie Basics H. Hutschenreiter und T. Nau | Sommersemester 2012 | Institut

Computer Networks | Grundlagen | Sommersemester 2012Page

Open Systems Interconnect (OSI) Model

• International Standards Organization (ISO) developed a model in 1983

• This model is to define an architecture that describes the communication between heterogeneous computers

• Communication is respectively the exchange of data between computers

• Various elements are involved:– electrical characteristics

• coding cable types• network adapters• data segmentation / packetizing• error control• software compatibility ...

• Strategic solution Handling of the different aspects in seven distinct layers: Seven layer OSI model

7

Friday, May 11, 12

Page 8: Lecture Computer Networks - Ulm · Lecture Computer Networks Prof. Dr. Hans Peter Großmann mit M. Rabel sowie Basics H. Hutschenreiter und T. Nau | Sommersemester 2012 | Institut

Computer Networks | Grundlagen | Sommersemester 2012Page

Seven Layer OSI Model

The main characteristics of the seven layer OSI model are:

• Each layer performs a defined subset of functions for the overall communication process

• The functions rely on those of the previous lower layer:– To perform more primitive functions– To hide the details of the lower layer functions

• Each layer provides services to the next higher layer

• Modifications within a layer do not require modifications of the other layers

• Dividing the communication functions into separate layers facilitates the management of the communication process

8

Friday, May 11, 12

Page 9: Lecture Computer Networks - Ulm · Lecture Computer Networks Prof. Dr. Hans Peter Großmann mit M. Rabel sowie Basics H. Hutschenreiter und T. Nau | Sommersemester 2012 | Institut

Computer Networks | Grundlagen | Sommersemester 2012Page

Main OSI Layer Terms

The main terms used in OSI Layer can be summarized as follows:

• Service: Each layer serves additional services for the higher layer. Type of service is dependent on the definition of the layer model.

• Interface: Services are usable via an interface through layers. Usage of services is also specified between layers.

• Protocol: It defines the internal operation procedure of a layer. The protocol is private to the layer. It can be changed or replaced without affecting other layers.

9

Friday, May 11, 12

Page 10: Lecture Computer Networks - Ulm · Lecture Computer Networks Prof. Dr. Hans Peter Großmann mit M. Rabel sowie Basics H. Hutschenreiter und T. Nau | Sommersemester 2012 | Institut

Computer Networks | Grundlagen | Sommersemester 2012Page

Peer to Peer Communication

How do two networked systems communicate?• Through their network protocol stacks• Each layer communicates with its peer

e.g. as bit streams are received by a receiving node's physical layer,they are passed up to the data link layer where they are again formed into frames and then to the network layer where they again become packets as shown below.

Application

Presentation

Session

Transport

Network

Data Link

Physical

Physical Medium

7

6

5

4

3

2

1

Application

Presentation

Session

Transport

Network

Data Link

Physical

7

6

5

4

3

2

1bits

message

packets

frames

message

message

message

10

Friday, May 11, 12

Page 11: Lecture Computer Networks - Ulm · Lecture Computer Networks Prof. Dr. Hans Peter Großmann mit M. Rabel sowie Basics H. Hutschenreiter und T. Nau | Sommersemester 2012 | Institut

Computer Networks | Grundlagen | Sommersemester 2012Page

OSI Reference Model for „Open Systems“

• 1st Layer Data - transmitted by bits. • 2nd Layer Data - transmitted by frames • 3rd Layer Data - transmitted by packets• Network layer creates a Protocol Data Unit (PDU) and those PDUs are

passed the 4th Layer• Each layer receives a PDU from the layer below. • In this way, each layer in a transmitting node communicates with its peer

layer of the receiving node.

Station A Station BRouter

Network

Data Link

Physical

Application

Presentation

Session

Transport

Network

Data Link

Physical

Physical Medium

7

6

5

4

3

2

1

Application

Presentation

Session

Transport

Network

Data Link

Physical

Physical Medium

7

6

5

4

3

2

1

11

Friday, May 11, 12

Page 12: Lecture Computer Networks - Ulm · Lecture Computer Networks Prof. Dr. Hans Peter Großmann mit M. Rabel sowie Basics H. Hutschenreiter und T. Nau | Sommersemester 2012 | Institut

Computer Networks | Grundlagen | Sommersemester 2012Page

Layers 1 and 2

Physical Layer• Mechanical • Electrical• Procedural

characteristics

Data Link Layer• Transport / Error Free

Transmission• Facility Sequential

Transmissions • Flow Control• Access Protocols

Establishment, maintenance and deactivation of the physical link

Reliable transferof data across thephysical link

12

Friday, May 11, 12

Page 13: Lecture Computer Networks - Ulm · Lecture Computer Networks Prof. Dr. Hans Peter Großmann mit M. Rabel sowie Basics H. Hutschenreiter und T. Nau | Sommersemester 2012 | Institut

Computer Networks | Grundlagen | Sommersemester 2012Page

Layers 3 and 4

Network Layer• Unreliable datagram

service• Static & Dynamic

Routing Control• Transport Accounting• Packet Segmentation• Heterogeneous Network

Control

Transport Layer• Segment Messages• Establish & Manage

Connections• End-To-End Control• Multiple Connection

Control

Upper Layers are independent from the data transmission and switching of technologies

Reliable, transparent transfer of data between source and destination

13

Friday, May 11, 12

Page 14: Lecture Computer Networks - Ulm · Lecture Computer Networks Prof. Dr. Hans Peter Großmann mit M. Rabel sowie Basics H. Hutschenreiter und T. Nau | Sommersemester 2012 | Institut

Computer Networks | Grundlagen | Sommersemester 2012Page

Layers 5 and 6

Session Layer • Session Establishment• Session Control• Dialog Control• Token Management

Synchronization• Checkpoint Insertion

Presentation Layer • Encryption & Decryption• Reformatting• Syntax & Semantics• Information

Representation• Data Compression &

Decompression

Control structurefor communication between applications

Standardized application interfaceCommoncommunications services

14

Friday, May 11, 12

Page 15: Lecture Computer Networks - Ulm · Lecture Computer Networks Prof. Dr. Hans Peter Großmann mit M. Rabel sowie Basics H. Hutschenreiter und T. Nau | Sommersemester 2012 | Institut

Computer Networks | Grundlagen | Sommersemester 2012Page

Layer 7

Application Layer• Network applications

facilitate networkconnectivity

• Virtual Terminal• File Transfer• E-Mail• Service announcement• Service availability• Mapping of virtual

world into real world

Services to the users of the OSI environment

15

Friday, May 11, 12

Page 16: Lecture Computer Networks - Ulm · Lecture Computer Networks Prof. Dr. Hans Peter Großmann mit M. Rabel sowie Basics H. Hutschenreiter und T. Nau | Sommersemester 2012 | Institut

Computer Networks | Grundlagen | Sommersemester 2012Page

Layer Concept

Layerinstance

Layerinstance

(N-1)-Layer

User of N-ServiceUser of corresponding

N-Service

(N+1)-Layer

N-Layer

(N-1)-Layer

Protocol betweenPartner Instances

Layer Interface

Layer Interface

16

Friday, May 11, 12

Page 17: Lecture Computer Networks - Ulm · Lecture Computer Networks Prof. Dr. Hans Peter Großmann mit M. Rabel sowie Basics H. Hutschenreiter und T. Nau | Sommersemester 2012 | Institut

Computer Networks | Grundlagen | Sommersemester 2012Page

Access Methods

17

Friday, May 11, 12