+ All Categories

sdf

Date post: 25-Mar-2016
Category:
Upload: deepak-chaudhary
View: 215 times
Download: 3 times
Share this document with a friend
Description:
asfadvfasfdsffasdf
Popular Tags:
47
2G1316 Data Communications and Computer Networks Peter Sjödin KTH School of Electrical Engineering Laboratory for Communication Networks
Transcript
Page 1: sdf

2G1316

Data Communications and Computer Networks

Peter SjödinKTH School of Electrical EngineeringLaboratory for Communication Networks

Page 2: sdf

2

Introduction

• Goal• Related courses• Planning and rules

LecturesRecitationsLaboration

• MaterialBookExercises with solutionsLab instructions

• Responsabilities of participants

Page 3: sdf

3

Goal

• BasicsData communications

o How information can be transfered

Protocols

o How system functions are performed

Services

o How the networks are used

Network architectures

o How the pieces are put together

Design principles and methods

• Introduction to TCP/IP and the Internet

Page 4: sdf

4

Related Courses

2E1623 (5p)Data linksand local area networks

2G1305/2E1605 (4p)Internetworking(2D1392 Protocols and Principles of the Internet)

2G1318 (4p)Queuing theory and teletraffic systems

2E1624 (5p)Performance Analysisof CommunicationNetworks

2E1632 (5p)Management of networks and networked systems

2E1633 (5p)Network services andInternet-based applications

Laboratory for Communication Systems, www.s3.kth.se/lcn

Page 5: sdf

5

Course Planning

• Twelve lectures

• Nine recitations

• One laborationHomework

Preparation for the laboration

Page 6: sdf

6

Teachers

• LecturesPeter Sjödin (Swedish)

• Recitation assistantsGyörgy Dan (English/Swedish)

Vladimir Vukadinovic (English)

Fetahi Wuhib (English)

• LaborationsJing Fu

Mikael Rudholm

Page 7: sdf

7

Students

• Please meet…D3, D4

E3, E4

I2

MEDIA2

Medicinsk Informatiko Karolinska institutet

Enstaka kurser…

Page 8: sdf

8

Please Note!

• Exam March 13

• Important messages through Bildabilda.kth.se

Also at the lectures

You are responsible for stayingupdated!

Page 9: sdf

9

Lectures and Recitations

• F1: Introduction• F2: Layered models

InternetOSI

• F3 and F4 + Ö1 and Ö2: Physical layer and data transfer

ModulationCodingLink technologies

• F5 + Ö3: Data link layerFlow controlError controlData link protocols

• F6 + Ö4: Local Area NetworksMultiple AccessEthernet (IEEE 802.3)

• F7 + Ö5: Wide Area NetworksCircuit switchingPacket switchingVirtual circuits

• F8 and F9 + Ö6 and Ö7: Internetworking and IP

• F10 and F11 + Ö8: End-to-end communication

Transport protocolsApplications

• F12: — (spare)• F13 + Ö9: Summary

Page 10: sdf

10

Laboration

• Purpose

Design and configuration of a computer network

Work with modern Internet equipment

• Laboratorium LQ303, Osquldas väg 10

• Groups with two students

• Sign up for lab sessions

(more details later)

• Homework

Must be completed in order to do the lab!

Deadline February 2

Hand in at lecture or recitation

Page 11: sdf

11

Recitations

• There are two parallel recitation groups for 2E1623 and 2G1316

• You do not need to register

• Recommendation:MEDIA, Medicinsk Informatik

o Track 1 (György)

D, E, and Io Track 2 (Vladimir and Fetahi)

Page 12: sdf

12

Course Material

• BookBehrouz A Forouzan, Data Communications and Networking, 3rd edition,

McGraw-Hill. ISBN 007-123241-9.

• Exercises with solutions

• Lab instructions

• Summary of course modules

Background material

• All material (except for the book) is available on the course

web

http://www.s3.kth.se/courses/2G1316

• There will be a printed version of exercises and lab

instructions, which you can buy

Page 13: sdf

13

Your Responsibilities

• Registration for exams and labsS3 booking system, see the web

• Course registrationsNo separate course registrationWhen you register for the labs, you also register for the courseIf you for some reason are not going to register for the labs, please contact Peter!

• Search the webMost information available on the course web Course administration

• Course evaluation• Course responsible can be reached through Bilda

Make sure your Bilda profile is up to date

• Be on time for the laborationsAnd keep the deadline for the homework

Page 14: sdf

14

Course Committee (Kursnämnd)

• Volounteers?

• MeetingsMid-course

End of course

Page 15: sdf

15

Today’s Lecture

• Definitions

• Signals

• Requirements on communication

• Communication networksConnections and topologies

Network types

• Examples of networks

Page 16: sdf

16

Illustrations in this material are collected from

Behrouz A Forouzan, Data Communications and Networking, 3rd edition, McGraw-Hill.

Page 17: sdf

17

Information and Data

• Information—many meaningsWikipedia (http://www.wikipedia.org) lists five meanings:

o 1. Negative entropy—the instructions that are needed to produce order or reduce uncertainty

o ...o 5. Any type of pattern that influences the

formation or transformation of other patterns

• DataRepresentation of information

o Symbols with a certain syntax

Page 18: sdf

18

Information

• Technical definitionContext known by sender and receiver

o The alternatives are well defined

Information represents one alternativeo To represent one of N alternatives requires⎡log2N⎤ bits

o Example: The letters in the Swedish alphabet can be represented by 5 bits (25 = 32)

Page 19: sdf

19

Information

• Time dependent informationHas a certain bit rate or data rate (measured in bits per second, b/s, bit/s, bps)

• Time independent informationConsists of a certain amount of bits

Page 20: sdf

20

Communication

• Sharing or transfer of information• “Telecommunication”

Communication at a distanceo ”Tele” is ”far” in Greek

Traditionally speachSound, pictures, text, ...

• “Communications”With an ’s’ at the end!“The branch of technology concerned with the representation, transfer, interpretation, and processing of data among persons, places, and machines also known as information systems.”

o From http://www.wikipedia.org

• ”Data communications””[...] the exchange of data between two devices over some form of transmission medium”

o Forouzan

Page 21: sdf

21

Network Functions

• Ways to transfer information on a linkSignal format

• AddressingIdentify sender and receiver

• RoutingFind a path between sender and receiver

• BufferingCompensate for differences in speedVariations in traffic load

• Error detection and controlIf data is lost or corrupted

• Congestion controlTo protect the network from being overloaded

• Management and network operations

Page 22: sdf

22

Signals

• Analog signalsContinuous in timeInfinitely many levels

o Continuously varying

• Digital signalsLimited number of levels

o Discreteo Often binary (0 and 1)

Discrete in time

Page 23: sdf

23

Sine Wave

• Fully described bys(t) = A sin(2πft + φ)

A is amplitude, f is frequency, φ is phase

Page 24: sdf

24

Time and Frequency Domains

• A signal can be represented asA function of time

A function of frequency

Page 25: sdf

25

Composite Signals

Page 26: sdf

26

Fourier Analysis

• Any composite signal can be representedas a sum of simple sine waves

Page 27: sdf

27

Bandwidth

• Important property of a mediumDifference between highest and lowest frequency that can pass through the medium

Measured in Hertz [Hz]

Limits the channel’s capacity

Page 28: sdf

28

Capacity

• Transmission capacityMeasured in bits per second [b/s, bit/s, bps]

• Increased bandwidth can give higher capacityA noiseless analogous channel has infinite capacity

• Larger unitskilo (k) 103, mega (M) 106, giga (G) 109, tera (T) 1012, peta (P) 1015, exa (E) 1018, zetta (Z) 1021, yotta (Y) 1024, … googol 10100, … googolplex 1010100

Page 29: sdf

29

Data Communications

• All information is represented as digital dataAnalog information is converted to digital

o Sampling

• Data is transferred using electromagnetic waves

Light, electricity, radioo Analog signal

o Modulation

• Information is recreated at the receiverErrors are corrected or hidden

Page 30: sdf

30

Requirements on Communication

• QualityDelayInformation loss and distortionReliabilitySecurity

• ConnectivityOne-way and two-way

o Simplex/duplex

One to one, one to many

• CostInformationService

o Resources (time, capacity)

o Management—Booking—Directory services—Security

Page 31: sdf

31

Connectivity

Duplex

Half duplex

Simplex

Page 32: sdf

32

Point-to-point Connections

Page 33: sdf

33

Multipoint Connection

Page 34: sdf

34

Networks

• Need devices between sender and receiverSignals regeneration and amplification

Different equipment, formats, etc

Sharing of links

Routing, addressing, traffic control, ...

• A set of nodes connected by linksHosts, switches, routers, stations, …

• Links form a topology

• Distributed processingTasks are divided among multiple units (computers)

Page 35: sdf

35

Physical Topologies

TopologyTopology

MeshMesh StarStar BusBus RingRing

Page 36: sdf

36

Mesh Topology

• One link betweenevery pair of nodes

• AdvantagesReliable and robust

High capacity

• DisadvantagesHigh cost

o Installation

o Cabling

o Number of I/O ports

Page 37: sdf

37

Star Topology

• All links to a central node(hub)

• Common officeinstallation today

• AdvantagesLess costly than mesh

Easy to install and maintain

• DisadvantagesHub is single point of failure

One cable from eachnode to hub

Page 38: sdf

38

Bus Topology

• Point-to-multipoint

• AdvantagesEase of installation

Cost

• DisadvantagesLimited size

Maintainanceo Reconfiguration

o Fault isolation

Page 39: sdf

39

Ring Topology

• Point-to-point linksBetween neighbours

• Signals rotate around the ring

• AdvantagesEasy to install and reconfigureCost

• DisdvantagesRobustness

• Dual ring improvesrobustness and capacity

Page 40: sdf

40

Network Types

NetworkNetwork

Local Area Network(LAN)

Local Area Network(LAN)

Metropolitan Area Network(MAN)

Metropolitan Area Network(MAN)

Wide Area Network(WAN)

Wide Area Network(WAN)

• Classification depends on:Ownership

Size and distance

Physical architecture

Page 41: sdf

41

Local Area Networks (LANs)

• Single organizationOffice, building, campus, etc

• Resource sharingPrinters, file servers, Internet connection

• One type of mediumEthernet most common

o 10, 100, 1000 Mb/s

Wireless LANs

Page 42: sdf

42

Metropolitan Area Network (MAN)

• Connect LANs together• Provide access to WAN• Different kinds of ownership

private companypublic company

o Network operatoro ”Stadsnät, kommuner, energibolag”

Page 43: sdf

43

Wide Area Network (WAN)

• International networks• Use different kinds of equipment

Public, leased, private equipment

• International operators (carriers)• Private WAN

”Enterprise networks”

Page 44: sdf

44

Telephone Network

• Built for analog voice trafficSuscriber access via simple pair cable

o Analog signals with low bandwidth, about 3 kHz

Low delay, low lossData transfer with modem (fax)ISDN – multiservice network, is available but outdated

• Simple terminals with “intelligence in the network”• Services mainly related to connection establishment

(“plustjänster")Call waitingCall transferGroup calls

• xDSL—Higher data rate over existing telephone cables

Page 45: sdf

45

Cable TV

• One-way distribution (simplex) of TV signals

• Cabling with high qualityCoaxial cable or optical cable

Bus or star topology

• Alternative Internet accessHigher capacity down link (up to 2000 kb/s today)

Lower capacity uplink (up to 400 kb/s today)

• Owned and operated independently of the telephone network

Competition in the local access networks

Page 46: sdf

46

The Internet

• Most important computer networkNote: capital I in Internet!

• Many interconnected (independent) networks• Common addressing and transmission format

Internet Protocol (IP)

• Access via telephone network, cable TV, fiber, …Internet Service Provider (ISP)Limited access speed

• Information primarily not time-dependentMainly text and pictures

• Time-dependent traffic increasesStreaming media (for example Web radio)IP telephony (“Voice over IP”)

Page 47: sdf

47

Internet Today


Recommended