EECS 228a Lecture 1 Overview: Networks Jean Walrand - - PowerPoint PPT Presentation

eecs 228a lecture 1 overview networks
SMART_READER_LITE
LIVE PREVIEW

EECS 228a Lecture 1 Overview: Networks Jean Walrand - - PowerPoint PPT Presentation

EECS 228a Lecture 1 Overview: Networks Jean Walrand www.eecs.berkeley.edu/~wlr Fall 2002 Course Information Instructor: Jean Walrand n Office Hours: M-Tu 1:00 - 2:00 Time/Place: MW 2:00-3:30 in 285 Cory Home Page: n http://www-


slide-1
SLIDE 1

EECS 228a – Lecture 1 Overview: Networks

Jean Walrand www.eecs.berkeley.edu/~wlr

Fall 2002

slide-2
SLIDE 2

EECS228a - Walrand 2

Course Information

Instructor: Jean Walrand

n Office Hours: M-Tu 1:00 - 2:00

Time/Place: MW 2:00-3:30 in 285 Cory Home Page:

n http://www-

inst.eecs.berkeley.edu/~ee228a

slide-3
SLIDE 3

EECS228a - Walrand 3

Topics

Overview [1 week] Economics of Networks [4] Routing [4] Congestion Control [2.5] Traffic Models [2.5] Review [1] Theoretical background State of the art

slide-4
SLIDE 4

EECS228a - Walrand 4

Details

Grading:

n In class presentations: 50% n Project: 50% - Original research on

selected topic

Material:

n Lecture Slides and Notes n Research Papers

slide-5
SLIDE 5

EECS228a - Walrand 5

Overview

Network Examples Network Components Internetworking Internet Other Networks Packets Transport Web Browsing Telephone Call Resource Sharing – Multiplexing Protocols IETF

slide-6
SLIDE 6

EECS228a - Walrand 6

Network Examples

Teleglobe Communications Corporation – Fiber + Satellite

slide-7
SLIDE 7

EECS228a - Walrand 7

Network Examples

Global Crossing Corporation

slide-8
SLIDE 8

EECS228a - Walrand 8

Network Examples

KPNQWEST

slide-9
SLIDE 9

EECS228a - Walrand 9

Network Examples

Williams Communications

slide-10
SLIDE 10

EECS228a - Walrand 10

Network Examples

Palo Alto Network

slide-11
SLIDE 11

EECS228a - Walrand 11

Network Components

Link: carry bits from one place to another (or maybe to many other places) Switch/router: move bits between links, forming internetwork Host: communication endpoint (workstation, PDA, cell phone, toaster, tank)

slide-12
SLIDE 12

EECS228a - Walrand 12

Network Components

Fibers Cat5 Unshielded Twisted Pairs Coaxial Cable

Links

Wireless

slide-13
SLIDE 13

EECS228a - Walrand 13

Network Components

Ethernet Network Interface Card

slide-14
SLIDE 14

EECS228a - Walrand 14

Network Components

Ethernet

slide-15
SLIDE 15

EECS228a - Walrand 15

Network Components

Ethernet is a broadcast-capable, multi- access LAN

Link: Ethernet

slide-16
SLIDE 16

EECS228a - Walrand 16

Network Components

Telephone Switch Large Router

slide-17
SLIDE 17

EECS228a - Walrand 17

Network with Routers

LANs interconnected by routers

LAN1 LAN2 LAN3 Internet R1 R2 R3 R4

slide-18
SLIDE 18

EECS228a - Walrand 18

Internetworking

Provides message delivery between multiple networks:

Subnet 1 Subnet 2 ISP 2 ISP 1

Example: Subnet 1 = network of LANs of previous slide ISP 1 = Sprint, ISP 2 = MCI Subnet 2 = UCB network

slide-19
SLIDE 19

EECS228a - Walrand 19

The Internet

A global network of networks all using a common protocol (IP, the Internet Protocol) Focus of this class A challenge to understand:

n large scale (10’s of millions of users, 10’s

  • f thousands of networks)

n heterogeneity, irregular topology,

decentralized management

slide-20
SLIDE 20

EECS228a - Walrand 20

Scale of Internet

  • Data from www.nw.com
slide-21
SLIDE 21

EECS228a - Walrand 21

Other Networks

The Telephone Network Processor Interconnection Networks ATM Networks Cable-TV Networks

slide-22
SLIDE 22

EECS228a - Walrand 22

Packets

A B

A | B | ...

B → port 2 1 2 3

A | B | ... A | B | ...

slide-23
SLIDE 23

EECS228a - Walrand 23

Packets: Main Ideas

The switches have no memory of packets: scalability The network is independent of the applications: flexibility The packet formats and addresses are independent of the technology: extensibility

slide-24
SLIDE 24

EECS228a - Walrand 24

Transport

Packets ACKs

slide-25
SLIDE 25

EECS228a - Walrand 25

Web Browsing

Example Locating Resource: DNS Connection End-to-end Packets Bits Points to remember

slide-26
SLIDE 26

EECS228a - Walrand 26

Click Link or URL get content from local

  • r remote computer

URL: http://www.google.com/string Specifies

  • Protocol: http
  • Computer: www.google.com
  • String

Computer (server) selects contents based on string

Web: Example

slide-27
SLIDE 27

EECS228a - Walrand 27

Web: Locating Resource

www.google.com is the name of a computer Network uses IP addresses To find the IP address, the application uses a hierarchical directory service called the Domain Name System

local com host www.google.com? IP = a.b.c.d IP = a.b.c.d www.google.com?

slide-28
SLIDE 28

EECS228a - Walrand 28

Web: Connection

The protocol (http) sets up a connection between the host and cnn.com to transfer the page The connection transfers the page as a byte stream, without errors: pacing + error control

Host cnn.com connect OK get page page; close

slide-29
SLIDE 29

EECS228a - Walrand 29

Web: End-to-end

The byte stream flows from end to end across many links and switches: routing (+ addressing) That stream is regulated and controlled by both ends: retransmission of erroneous or missing bytes; flow control

End-to-end pacing and flow control Routing www.google.com host

slide-30
SLIDE 30

EECS228a - Walrand 30

Web: Packets

The network transports bytes grouped into packets The packets are “self- contained” and routers handle them one by one The end hosts worry about errors and flow control:

n Destination checks

packet for errors (using error detection code CKS) and sends ACKs with sequence number #

n Source retransmits

k t th t t

C

A | B | # , CKS | bytes

B C

www.google.com IP address: A Host IP address: B Destination Next Hop

slide-31
SLIDE 31

EECS228a - Walrand 31

Web: Bits

Equipment in each node sends the packets as a string of bits That equipment is not aware of the meaning of the bits

01011...011...110 Transmitter Physical Medium Receiver 01011...011...110 Optical Copper Wireless

slide-32
SLIDE 32

EECS228a - Walrand 32

Web: Points to remember

Separation of tasks

n send bits on a link: transmitter/receiver [clock, modulation,…] n send packet on each hop [framing, error detection,…] n send packet end to end [addressing, routing] n pace transmissions [detect congestion] n retransmit erroneous or missing packets [acks, timeout] n find destination address from name [DNS]

Scalability

n routers don’t know about connections n names and addresses are hierarchical

slide-33
SLIDE 33

EECS228a - Walrand 33

Telephone Call

Telephone Network Dialing a Number Setting up a Circuit Phone Conversation Releasing the Circuit

slide-34
SLIDE 34

EECS228a - Walrand 34

Telephone Network

5ESS (Lucent) DMS100 (Nortel)

slide-35
SLIDE 35

EECS228a - Walrand 35

Telephone Network

slide-36
SLIDE 36

EECS228a - Walrand 36

Telephone Network

Logic Diagram:

slide-37
SLIDE 37

EECS228a - Walrand 37

Dialing a Number

A Off-Hook S1 Listens A dials S1 Registers A B S1

slide-38
SLIDE 38

EECS228a - Walrand 38

Setting Up a Circuit

A B ring Circuit = capacity to carry one phone call (shown by thin lines) Circuit is allocated to the call between A and B Circuits are not shared; they are dedicated.

slide-39
SLIDE 39

EECS228a - Walrand 39

Phone Conversation

A B Voice signals use the reserved circuits

slide-40
SLIDE 40

EECS228a - Walrand 40

Release Circuits

A B A or B goes Off-Hook Circuits get released

slide-41
SLIDE 41

EECS228a - Walrand 41

Resource Sharing - Multiplexing

Networks are shared resources Sharing via multiplexing Fundamental Question: how to achieve controlled sharing

slide-42
SLIDE 42

EECS228a - Walrand 42

Multiplexing

Methods for sharing a communication channel Tradeoff between utilization and predictability Common Approaches:

n TDM (time-division multiplexing) n Statistical Multiplexing

slide-43
SLIDE 43

EECS228a - Walrand 43

Time Division Multiplexing

(also called STDM --Synchronous Time Division Multiplexing)

Multiplexer

n links rate r bps each 1 link, rate nr bps

Frame:

Time “slots” are reserved bps = bits per second

slide-44
SLIDE 44

EECS228a - Walrand 44

Statistical Multiplexing

Multiplexer

n links any rate 1 link, any rate

Trace Excerpt:

Variable-sized “packets” of data are interleaved based on the statistics of the senders

slide-45
SLIDE 45

EECS228a - Walrand 45

Analysis of STDM/FDM

TDM, FDM (frequency division multiplexing), and WDM (wavelength) may under-utilize channel with idle senders Applicable only to fixed numbers of flows Requires precise timer (or oscillator and guard bands for FDM) Resources are guaranteed

slide-46
SLIDE 46

EECS228a - Walrand 46

Analysis of Statistical Mux’ing

Traffic is sent on demand, so channel is fully utilized if there is traffic to send Any number of flows Need to control sharing:

n packets are limited in size n prevents domination of single sender

Resources are not guaranteed

slide-47
SLIDE 47

EECS228a - Walrand 47

Protocols

Agreement dictating the form and function

  • f data exchanged between two (or more)

parties to effect a communication Two parts: syntax and semantics

n syntax: where bits go n semantics: what they mean and what to do

with them

slide-48
SLIDE 48

EECS228a - Walrand 48

Protocol Example

Internet Protocol (IP)

n if you can generate and understand IP,

you can be on the Internet

n media, OS, data rate independent

TCP and HTTP

n if you can do these, you are on the web

slide-49
SLIDE 49

EECS228a - Walrand 49

Protocol Standards

New functions require new protocols Thus there are many (e.g. IP, TCP, UDP, HTTP, RIP, OSPF, IS-IS, SMTP, SNMP, Telnet, FTP, DNS, NNTP, NTP, BGP, PIM, DVMRP, ARP, NFS, ICMP, IGMP) Specifications do not change frequently Organizations: IETF, IEEE, ITU

slide-50
SLIDE 50

EECS228a - Walrand 50

The IETF

Specifies Internet-related protocols Produces “RFCs” (www.rfc-editor.org) Quotation from IETF T-shirt:

We reject kings, presidents and voting. We believe in rough consensus and running code.

  • -- David Clark