basic concepts of computer networks and...

23
Basic Concepts of Computer Networks and Services C.Courcoubetis G.D. Stamoulis October 2016

Upload: others

Post on 24-Jul-2020

3 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Basic Concepts of Computer Networks and Servicespages.cs.aueb.gr/.../Lecture01/basic_concepts_2016.pdf · 2016-10-07 · Computer Networks Basic Concepts - 9 History of Networks (ΙΙ)

Basic Concepts

of Computer Networks and Services

C.Courcoubetis

G.D. Stamoulis

October 2016

Page 2: Basic Concepts of Computer Networks and Servicespages.cs.aueb.gr/.../Lecture01/basic_concepts_2016.pdf · 2016-10-07 · Computer Networks Basic Concepts - 9 History of Networks (ΙΙ)

Computer Networks Basic Concepts - 2

What are Computer Networks?

• Consist of software and hardware

• Allow exchange of information and access to services and applications

• Factors that contribute to the broad adoption of computer networks

Economies of scale in production

Economies of scale in demand (network externalities)

Page 3: Basic Concepts of Computer Networks and Servicespages.cs.aueb.gr/.../Lecture01/basic_concepts_2016.pdf · 2016-10-07 · Computer Networks Basic Concepts - 9 History of Networks (ΙΙ)

Computer Networks Basic Concepts - 3

Network Economies

Time

50%

0

100%

Use

r uti

lity

# of compatible users

Economies of scale in production and demand : positive externalities and feedback

Page 4: Basic Concepts of Computer Networks and Servicespages.cs.aueb.gr/.../Lecture01/basic_concepts_2016.pdf · 2016-10-07 · Computer Networks Basic Concepts - 9 History of Networks (ΙΙ)

Computer Networks Basic Concepts - 4

Computer Networks Variety in

• Information encoding: digital or analog

• Physical medium: copper, optical fiber, air, cable

• Geographic distribution: Wide Area Networks: Internet core, X.25, ... Metropolitan Area Networks: Optical Rings, WiMax, FDDI Local Area Networks: WLANs, Ethernet, Token Ring, ...

• Services and applications: voice, data, video, multimedia, online social networks all application are served by the same network

Page 5: Basic Concepts of Computer Networks and Servicespages.cs.aueb.gr/.../Lecture01/basic_concepts_2016.pdf · 2016-10-07 · Computer Networks Basic Concepts - 9 History of Networks (ΙΙ)

Computer Networks Basic Concepts - 5

Basic Idea

Point to point links

non-viable approach Shared links

Required:

• Switching, and

• Multiplexing: FDM, TDM, Statistical

Economies of scale

Page 6: Basic Concepts of Computer Networks and Servicespages.cs.aueb.gr/.../Lecture01/basic_concepts_2016.pdf · 2016-10-07 · Computer Networks Basic Concepts - 9 History of Networks (ΙΙ)

Computer Networks Basic Concepts - 6

Types of Multiplexing

Frequency Division Multiplexing (FDM)

frequency

time

idle

time

idle

Time Division Multiplexing (ΤDM)

frequency

time

Statistical Multiplexing

frequency

Page 7: Basic Concepts of Computer Networks and Servicespages.cs.aueb.gr/.../Lecture01/basic_concepts_2016.pdf · 2016-10-07 · Computer Networks Basic Concepts - 9 History of Networks (ΙΙ)

Computer Networks Basic Concepts - 7

Statistical Multiplexing

• Packet switching and transmission “Store-and-forward”

A B C

Page 8: Basic Concepts of Computer Networks and Servicespages.cs.aueb.gr/.../Lecture01/basic_concepts_2016.pdf · 2016-10-07 · Computer Networks Basic Concepts - 9 History of Networks (ΙΙ)

Computer Networks Basic Concepts - 8

History of Networks (Ι)

• 1830: Telegraph (digital!!) • 1876: Telephony (analog ??)

1887: 150000 tel. USA, 26000 UK, 9000 Fr, 7000 Rus.

1903s: non-Bell = 50-60%, long-distance call= 3% Need for interconnection

1934: Regulatory issues, creation of FCC

• 1960+: RS-232-C for asynchronous transmission of symbols at 38.4 kbps - Modems - Data link layer protocols

• 1960+: First ideas for the Internet by Baran, J.C.R. Liklider, Bob Taylor and Larry Roberts

Page 9: Basic Concepts of Computer Networks and Servicespages.cs.aueb.gr/.../Lecture01/basic_concepts_2016.pdf · 2016-10-07 · Computer Networks Basic Concepts - 9 History of Networks (ΙΙ)

Computer Networks Basic Concepts - 9

History of Networks (ΙΙ)

• 1967-69: Design and Implementation of Αrpanet, mainly in UCLA and ΒΒΝ 2 Sept. 1969: Transmission of first bits within UCLA network

• 1970+: Rapid evolution of Arpanet, X.25, LANs, CATV 1970: Protocol and network ALOHA in Hawaii

1976: Ethernet (Xerox PARC), proprietary networks - SNA etc.

1972: 15 nodes in ARPANET 200 nodes in 1979

1974: Introduction of TCP/IP (V.Cerf, R.Kahn)

Page 10: Basic Concepts of Computer Networks and Servicespages.cs.aueb.gr/.../Lecture01/basic_concepts_2016.pdf · 2016-10-07 · Computer Networks Basic Concepts - 9 History of Networks (ΙΙ)

Computer Networks Basic Concepts - 10

History of Networks(ΙΙΙ)

• 1980+: Spread of TCP/IP, protocols on the Internet: ftp, smtp. - FAX, ISDN, Mobile Communications, competition in telephony.

• 1990+: Multimedia, Wide spread and evolution of mobile communications, Broadband ISDN and: User-friendly applications Commercial applications

WWW by Tim Burnes Lee brings together all human knowledge transparently with respect to position

Led to the wide-spreading and the final(??) prevalence of the Internet over other networking technologies

Netscape, Search Engines (Yahoo! , altavista etc.) – Commercial ISPs

Page 11: Basic Concepts of Computer Networks and Servicespages.cs.aueb.gr/.../Lecture01/basic_concepts_2016.pdf · 2016-10-07 · Computer Networks Basic Concepts - 9 History of Networks (ΙΙ)

Computer Networks Basic Concepts - 11

History of Networks (ΙV)

• 2000-10: Wide-spreading of broadband, in wired and wireless networks, in both core and access networks - dramatic increase of applications and content, in both volume and diversity Peer-to-peer provisioning of information and services

Google, Skype, You-tube, Facebook, Web2.0.

Security and privacy are very important issues

Analysis of networks in light of the stakeholders’ incentives tussles

Page 12: Basic Concepts of Computer Networks and Servicespages.cs.aueb.gr/.../Lecture01/basic_concepts_2016.pdf · 2016-10-07 · Computer Networks Basic Concepts - 9 History of Networks (ΙΙ)

Computer Networks Basic Concepts - 12

Networks History (ΙV)

• 2010+: Virtualization, SDN (Software Defined Networks),

emphasis on network control plane

Need for energy saving

Interaction with the cloud – cross-layer management

Fundamental business issues: who benefits economically from the wide-spreading of Internet? network neutrality, and how this is affected by technologies, software architectures etc.

Big Data and their exploitation – new privacy issues

Page 13: Basic Concepts of Computer Networks and Servicespages.cs.aueb.gr/.../Lecture01/basic_concepts_2016.pdf · 2016-10-07 · Computer Networks Basic Concepts - 9 History of Networks (ΙΙ)

Computer Networks Basic Concepts - 13

Network Architectures

• Physically: consists of computers, links, routers, switches, ...

Basic requirement: interoperability

• Logically: consists of services simple services complex services

layered architecture

transport service: best-effort or with assured quality

• end-to-end services End-user is interested in those services

The quality delivered is determined by Service Level Agreements (SLAs)

Page 14: Basic Concepts of Computer Networks and Servicespages.cs.aueb.gr/.../Lecture01/basic_concepts_2016.pdf · 2016-10-07 · Computer Networks Basic Concepts - 9 History of Networks (ΙΙ)

Computer Networks Basic Concepts - 14

Assured-quality and Elastic Services

• Assured-quality Services (based on SLAs): the network provides performance guarantees ,

with respect to packet loss rate, average delay and variability of delay (jitter)

users apply for resources in order to be served.

need for admission control

• Elastic Services:

the network does not provide performance guarantees (best effort), the performance is degraded in case of congestion

users do not apply for reserving bandwidth, the use of which may be unlimited

they better serve applications with adaptive rate

Page 15: Basic Concepts of Computer Networks and Servicespages.cs.aueb.gr/.../Lecture01/basic_concepts_2016.pdf · 2016-10-07 · Computer Networks Basic Concepts - 9 History of Networks (ΙΙ)

Computer Networks Basic Concepts - 15

Transport and Value-added Services

“adds

value”

Application A Application B

Network Network

Interface

Transport

Service

Service = Transport + Added value

Page 16: Basic Concepts of Computer Networks and Servicespages.cs.aueb.gr/.../Lecture01/basic_concepts_2016.pdf · 2016-10-07 · Computer Networks Basic Concepts - 9 History of Networks (ΙΙ)

Computer Networks Basic Concepts - 16

Networks Classification

Communication Network

Switched Communication

Network

Broadcast Communication

Network

Circuit-Switched Communication Network

telephony, GSM

Packet-Switched Communication Network

Datagram Network (switching of self-contained packet)

Internet

Virtual Circuit Network ΑΤΜ similar characteristics to Circuit-Switched without exclusiveness in the usage

of resources, which are shared

Page 17: Basic Concepts of Computer Networks and Servicespages.cs.aueb.gr/.../Lecture01/basic_concepts_2016.pdf · 2016-10-07 · Computer Networks Basic Concepts - 9 History of Networks (ΙΙ)

Computer Networks Basic Concepts - 17

Internet

F

T

P

T

E

L

N

E

T

R

L

O

G

I

N

S

M

T

P

D

N

S

...

H

T

T

P

R

T

P

T

F

T

P

TCP UDP

IP

LAN link

LLC

MAC

Physical

IEEE 802 standards

LAN link

Page 18: Basic Concepts of Computer Networks and Servicespages.cs.aueb.gr/.../Lecture01/basic_concepts_2016.pdf · 2016-10-07 · Computer Networks Basic Concepts - 9 History of Networks (ΙΙ)

Computer Networks Basic Concepts - 18

Internet: hourglass model (Deering, 1998)

email WWW phone...

SMTP HTTP RTP...

TCP UDP…

IP

ethernet PPP…

CSMA async sonet...

copper fiber radio...

• Network layer protocol: one and only simple

Leads to: Easy network expansion interconnectivity

Page 19: Basic Concepts of Computer Networks and Servicespages.cs.aueb.gr/.../Lecture01/basic_concepts_2016.pdf · 2016-10-07 · Computer Networks Basic Concepts - 9 History of Networks (ΙΙ)

Computer Networks Basic Concepts - 19

email WWW phone...

SMTP HTTP RTP...

TCP UDP…

IP + mcast

+ QoS +...

ethernet PPP…

CSMA async sonet...

copper fiber radio...

Internet: “heavier” version (Schultzrinne)

Page 20: Basic Concepts of Computer Networks and Servicespages.cs.aueb.gr/.../Lecture01/basic_concepts_2016.pdf · 2016-10-07 · Computer Networks Basic Concepts - 9 History of Networks (ΙΙ)

Computer Networks Basic Concepts - 20

email WWW phone...

SMTP HTTP RTP...

TCP UDP…

IP4 IP6

ethernet PPP…

CSMA async sonet...

copper fiber radio...

• Double interfaces

• Basic interoperability issues

Internet: “double” version (Schultzrinne)

Page 21: Basic Concepts of Computer Networks and Servicespages.cs.aueb.gr/.../Lecture01/basic_concepts_2016.pdf · 2016-10-07 · Computer Networks Basic Concepts - 9 History of Networks (ΙΙ)

Computer Networks Basic Concepts - 21

OSI Model

1

6

4

5

1

2

3

7

1

2

3

1

2

1

2

1

2

3

6

4

5

1

2

3

7

Communication services

Secure, efficient connections, local syntax

Connections

Delivery of messages

Application layer

Presentation layer

Session layer

Transport layer

End system End system Network

Commonly used applications

Encryption, compression, syntax conversion

Supervision of connections

Segmentation/reassembly, flow control, end-to-end error control Network layer: guides packet from source to destination Data link layer: packet delivery between two adjacent nodes Physical layer: digital comm., delivers bits

Page 22: Basic Concepts of Computer Networks and Servicespages.cs.aueb.gr/.../Lecture01/basic_concepts_2016.pdf · 2016-10-07 · Computer Networks Basic Concepts - 9 History of Networks (ΙΙ)

Computer Networks Basic Concepts - 22

Networks Control

• A set of internal mechanisms that are used by the network in order to comply with its obligations towards customers’ SLAs

• Typically involve other protocols from those used for information transfer

• More control options wider set of services

• Levels of control policing and shaping

switching and scheduling

routing

admission control

• The services’ architecture includes the control software units for the service provisioning.

Network

Service

Interface

multicasting

flow and congestion control

resource management

pricing policy

Page 23: Basic Concepts of Computer Networks and Servicespages.cs.aueb.gr/.../Lecture01/basic_concepts_2016.pdf · 2016-10-07 · Computer Networks Basic Concepts - 9 History of Networks (ΙΙ)

Computer Networks Basic Concepts - 23

Time Scales for Network Control

Connection

interarrival time

Selective cell discard, frame discard,

priority control and scheduling, Usage Parameter

Control (UPC), traffic shaping

Feedback controls (flow)

Call admission control (CAC), Call routing

Network management

Cell time

Round-trip

propagation time

Traffic & Congestion Control Functions Time scale

Minutes

Pricing policy Months, years