31
IK1500 1 Communication Systems IK1330 Lecture 3: Networking Anders Västberg [email protected] 08-790 44 55

1 IK1500 Communication Systems IK1330 Lecture 3: Networking Anders Västberg [email protected] 08-790 44 55

Embed Size (px)

Citation preview

IK15001

Communication SystemsIK1330Lecture 3: Networking

Anders Vä[email protected]

08-790 44 55

HT08/P1 IK1500 2

Content

• Elements of networking– Multiplexing– Switching– Routing– Network management (not discussed in this

course).

• Problem solving

HT08/P1 IK1500 3

Distributed information applications

source/sink

source/sink

source/sink

source/sink

source/sink

source/sink

Distributedinformation applications

HT08/P1 IK1500 4

Examples of Sources/Sinks

• Sources– Telephone– Video cameras– Files on a disk

• Sinks– Telephone receivers– Television monitors– Computer storage devices

HT08/P1 IK1500 5

Layered Model

Bit Carrier Infrastructure

Resource Sharing Mechanisms

sources and/or sinksnetworked applications

Common Information Services

Multiplexing, scheduling, routing,network management

Information services

Communication links

infrastructure and traffic flow :

buffering, jitter removal, etc.browsers, source compression, storage,User interfaces, transducers, servers,

Dynamic and intelligent control of

Networking

WDM, Optical crossconnects, SDH, DSL,cable, Ethernet, satellite, fixed or mobilewireless links

HT08/P1 IK1500 6

Layered Model

• Information Services– e.g. Packet telephony, electronic mail, www

• Networking– Quality of Service requirements– Resource sharing

• Communication Links– Regarded in this course as imperfect bit-pipes:

They can delay, lose or modify the information they carry

HT08/P1 IK1500 7

Quality of Service

• Certain Quality of Service (QoS) e.g. in terms of:– Guaranteed bounds of service denial– Statistical bounds of service denial– Information loss– Throughput– Delay

HT08/P1 IK1500 8

Design Perspectives

• Communication Link– Highest possible bit transmission rate (given

the resources used)– Acceptable bit rate

• Networking– QoS requirements for the flows may be

different for different applications:• Short delay but can tolerate higher bit error rates• Reliable transfer and high throughput

HT08/P1 IK1500 9

Comparison: Networking – OS

Distributedalgorithms for

information transport(e.g., X.25, Internet, ATM)

Applications

Computeroperating system

(e.g., Unix, Linux, Windows)

Network ofcommunication links

Hardware(e.g., processor, memory,disk drives, sound card)

(e.g., calculation, accounting,database)

Distributedinformationapplications

(e.g., www, e-commerce, teleconf)

Protocols

HT08/P1 IK1500 10

Functional Elements

• Multiplexing

• Switching

• Routing

• Network management

HT08/P1 IK1500 11

Multiplexing

• Circuit Multiplexing– Link transmission rate is divided into channels– Each conversation gets one channel and holds that

channel for the duration of the connection– Rate is fixed at connection setup time– If there are no available channels then the new

communication reqeust is blocked

• Main performance objectives:– Probability of blocking– Handling of different classes of flows

HT08/P1 IK1500 12

Circuit multiplexing

time

channelslink

HT08/P1 IK1500 13

Traffic Flow

data emitted by a computer

PCM (pulse coded modulation)voice with activity detection

variable-bit-rate video

video frames (e.g., 30 frames/sec)

talk spurt silence

random epochs of data emission

bit rate

scenechange

HT08/P1 IK1500 14

Multiplexing

• Packet Multiplexing– Average rate must be less than the bit rate of the link– Peak rate can exceed the link’s bit rate

• Excess data must be queued delay• If the buffer is to small data loss

– Overhead• Header (and in certain cases a Trailer)

• Main performance objectives:– Low probability of loss– Bounded delay

HT08/P1 IK1500 15

Packet Multiplexing

time

link

packets from various connections

HT08/P1 IK1500 16

Multiplexing Taxonomy

multiplexing

circuit multiplexed packet multiplexed

centralized distributed

randomaccess

polledaccess

reservationaccess

token passingmaster-slave

HT08/P1 IK1500 17

Centralized Packet Multiplexing

Terminal

Terminal

Terminal

Terminal

Host

Host

Multiplexer Multiplexer

multiplexer ports

full-duplex link

HT08/P1 IK1500 18

Distributed Packet Multiplexing

link

Nodes

Random Access

HT08/P1 IK1500 19

Polling Based Distributed Packet Multiplexing

Node

HT08/P1 IK1500 20

Reservation Based Distributed Packet Multiplexing

VSAT

VSAT

Router

RouterCampusnetwork

Campusnetwork

Packetswitch

DIU

DIU

HT08/P1 IK1500 21

Hybrid Link Multiplexing

movableboundary

circuit-multiplexed

packet-multiplexed

HT08/P1 IK1500 22

Six-Node Network

S2S1

S

(c)

(b)(a)

links2

)1( NNN links

HT08/P1 IK1500 23

Switch

Switchlink

HT08/P1 IK1500 24

Switch Functionality

• Demultiplexing each flow

• Determine the output link for the flow

• Forward (switch) the element of each flow to the right output link

HT08/P1 IK1500 25

Packet Switch

• Store-and-forward– Receive the entire packet first, then forward it

• Cut-through– Start forwarding the packet as soon as it

arrives

HT08/P1 IK1500 26

Packet Switch

O/p Queuescheduling,processing

O/p queuescheduling,processing

Control and signaling functions

Switchfabric

Queueing andscheduling

Queueing andscheduling

Input processingand forwarding

Input processingand forwarding

Lineinterface

Lineinterface

Lineinterface

Lineinterface

HT08/P1 IK1500 27

Call Setup Procedure for a Circuit Multiplexed Network

call teardown delay

call-processing delay

dial tone delay

information transfer

calling phone switch

call complete signal (on hook)

dial digits

apply dial tone

phone goes off hook

call accept (or deny) signal

HT08/P1 IK1500 28

Operation of a Circuit Switch

input i x

TDM frame TDM frame

Control processor

output oy

HT08/P1 IK1500 29

Routing

• Establish paths through the network between sources and sinks

• Difference between routing and forwarding

• Two types:– Centralized Routing– Distributed Routing

HT08/P1 IK1500 30

Routing

• Routing Algorithms– Find end-to-end path through the networks– While:

• Fulfilling QoS constraints• Utilize network resources efficiently

• Two main types:– Hop-by-Hop routing– Source routing

HT08/P1 IK1500 31

Packet Multiplexed Network

• Virtual circuit-based– Routes are determined at the connection

setup time – Sufficient to know the label of the connection

and not the complete source and destination address

• Datagram-based– Each packet is routed separately– Each packet must know the source and

destination address