Top Banner
CMPE 150 – Winter 2009 Lecture 3 January 13, 2009 P.E. Mantey
73

CMPE 150 – Winter 2009

Jan 03, 2016

Download

Documents

CMPE 150 – Winter 2009. Lecture 3 January 13, 2009 P.E. Mantey. CMPE 150 -- Introduction to Computer Networks. Instructor: Patrick Mantey [email protected] http://www.soe.ucsc.edu/~mantey/ Office: Engr. 2 Room 595J Office hours: Tuesday 3-5 PM TA: Anselm Kia [email protected] - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: CMPE 150 – Winter 2009

CMPE 150 – Winter 2009

Lecture 3

January 13, 2009

P.E. Mantey

Page 2: CMPE 150 – Winter 2009

CMPE 150 -- Introduction to Computer Networks

Instructor: Patrick Mantey [email protected] http://www.soe.ucsc.edu/~mantey/

Office: Engr. 2 Room 595J Office hours: Tuesday 3-5 PM TA: Anselm Kia [email protected] Web site: http://www.soe.ucsc.edu/classes/cmpe150/Winter09/

Text: Tannenbaum: Computer Networks (4th edition – available in bookstore, etc. )

Page 3: CMPE 150 – Winter 2009

Syllabus

Page 4: CMPE 150 – Winter 2009

Today’s Agenda

Standards Layered Network Architecture -

review Networks and History Physical Layer

Signals and Systems Fourier Analysis Communication Theory

Page 5: CMPE 150 – Winter 2009

Standards Required to allow for interoperability between

equipment Advantages

Ensures a large market for equipment and software Allows products from different vendors to

communicate Disadvantages

Freeze technology May be multiple standards for the same thing

Page 6: CMPE 150 – Winter 2009

Standards Organizations

IEEE ANSI Internet Society ISO ITU-T (formally CCITT) ATM forum

Page 7: CMPE 150 – Winter 2009

Network Standardization

Who’s Who in the Telecommunications World

Who’s Who in the International Standards World

Who’s Who in the Internet Standards World

Page 8: CMPE 150 – Winter 2009

ITU

Main sectors• Radiocommunications• Telecommunications Standardization• Development

Classes of Members• National governments• Sector members• Associate members• Regulatory agencies

Page 9: CMPE 150 – Winter 2009

IEEE 802 Standards

The 802 working groups. The important ones are marked with *. The ones marked with are hibernating. The one marked with † gave up.

Page 10: CMPE 150 – Winter 2009

Metric Units

The principal metric prefixes.

Page 11: CMPE 150 – Winter 2009

Reference Models

The TCP/IP reference model.

Page 12: CMPE 150 – Winter 2009

Reference Models

Protocols and networks in the TCP/IP model initially.

Page 13: CMPE 150 – Winter 2009

Comparing OSI and TCP/IP ModelsConcepts central to the OSI model

Services InterfacesProtocols

Page 14: CMPE 150 – Winter 2009

A Critique of the OSI Model and Protocols

Why OSI did not take over the world

Bad timing Bad technology Bad implementations Bad politics

Page 15: CMPE 150 – Winter 2009

Bad Timing

“The apocalypse of the two elephants.”

Page 16: CMPE 150 – Winter 2009

A Critique of the TCP/IP Reference Model

Problems: Service, interface, and protocol not

distinguished Not a general model Host-to-network “layer” not really a layer No mention of physical and data link layers Minor protocols deeply entrenched, hard to

replace

Page 17: CMPE 150 – Winter 2009

Hybrid Model

The hybrid reference model used by Tannenbaum

Page 18: CMPE 150 – Winter 2009

Internet Layering

Level 5 -- Application Layer (rlogin, ftp, SMTP, POP3, IMAP, HTTP..)

Level 4 -- Transport Layer(a.k.a Host-to-Host)(TCP, UDP, ARP, ICMP, etc.)

Level 3 -- Network Layer (a.k.a. Internet) (IP)Level 2 -- (Data) Link Layer / MAC sub-layer

(a.k.a. Network Interface or Network Access Layer)

Level 1 -- Physical Layer

Page 19: CMPE 150 – Winter 2009

Example Networks

The Internet Connection-Oriented Networks:

X.25, Frame Relay, and ATM

Ethernet Wireless LANs: 802:11

Page 20: CMPE 150 – Winter 2009

Architecture of the Internet

Page 21: CMPE 150 – Winter 2009

TCP/IP Reference Model

Protocols and networks in the TCP/IP model initially.

Page 22: CMPE 150 – Winter 2009

Characteristics Internet Layer

Connectionless Internet Protocol (IP) Task is to deliver packets to destination

Transport Layer Transmission Control Protocol (TCP)

Connection-oriented Reliable

User Datagram Protocol (UDP) Connectionless Unreliable

Page 23: CMPE 150 – Winter 2009

TELCO Networks

Connection-Oriented Networks X.25 Frame Relay ATM

Fixed Route (set up at start of call) Quality of Service Billing – for connection time

Page 24: CMPE 150 – Winter 2009

T’s and D’s

http://www.netstreamsol.com.au/networking/notes/general/t1_e1_t3_e3_ds0_ds1_ds3.html

Page 25: CMPE 150 – Winter 2009

T1

• Time-division multiplexed stream of 24 telephone channels

• The basic technology upon which all T-carrier facilities are based

• Uses a full-duplex digital signal over two wire pairs.

• Bandwidth of 1.544 Mbps through telephone-switching network

• Uses AMI or B8ZS coding.

Page 26: CMPE 150 – Winter 2009
Page 27: CMPE 150 – Winter 2009

O’s

Page 28: CMPE 150 – Winter 2009

SONET

• Synchronous Optical NETwork• Synchronous Digital Hierarchy (SDH) Europe• Internet for CARRIERS• Worldwide standard• Multiplex multiple digital channels• Management support for

– Operations– Administration– Maintenance

Page 29: CMPE 150 – Winter 2009

X.25 and Frame Relay• X.25 -- First Public Data Network – 1970s

– Call and connect “Data Terminal Equipment”

– Simple packet structure

– Implemented “virtual circuit” connections

– Flow control, hop-by-hop error control

– Multiplexing – up to 4095 circuits at a time

• Frame Relay – 1980s (up to 2Mbps)

– Limited error control, flow control

– VC based packet switching --“wide area LAN”

Page 30: CMPE 150 – Winter 2009

Asynchronous Transfer Mode• Vintage mid -1980s • Goal to unify voice networks and data networks• Packet Switching with virtual circuits (“channels”)• Fixed-length packets (“cells”) - @ 53 bytes

– 5 byte header, 48 byte “payload”– Virtual channel header (VCI)– No retransmission link-by-link

Error correction codes only• Envisioned to reach the end user• Used widely today for backbones

Page 31: CMPE 150 – Winter 2009

ATM Virtual Circuits

A virtual circuit.

Page 32: CMPE 150 – Winter 2009

ATM Virtual Circuits (2)

An ATM cell.

Page 33: CMPE 150 – Winter 2009

The ATM Reference Model

The ATM reference model.

Page 34: CMPE 150 – Winter 2009

The ATM Reference Model (2)

The ATM layers and sublayers and their functions

Page 35: CMPE 150 – Winter 2009

Ethernet

Architecture of the original Ethernet.

Page 36: CMPE 150 – Winter 2009

Wireless LANs

(a) Wireless networking with a base station. (b) Ad hoc networking.

Page 37: CMPE 150 – Winter 2009

Wireless LANs (2)

The range of a single radio may not cover the entire system.

Page 38: CMPE 150 – Winter 2009

Wireless LANs (3)

A multicell 802.11 network.

Page 39: CMPE 150 – Winter 2009

The ARPANET

(a) Structure of the telephone system.(b) Baran’s proposed distributed switching

system.

Page 40: CMPE 150 – Winter 2009

The ARPANET (2)

The original ARPANET design.

IMP = Interface Message Processor (Honeywell DDP-316)

Page 41: CMPE 150 – Winter 2009

The ARPANET (3)

Growth of the ARPANET (a) December 1969. (b) July 1970.(c) March 1971. (d) April 1972. (e) September 1972.

Page 42: CMPE 150 – Winter 2009

NSFNET

The NSFNET backbone in 1988.

Page 43: CMPE 150 – Winter 2009
Page 44: CMPE 150 – Winter 2009
Page 45: CMPE 150 – Winter 2009
Page 46: CMPE 150 – Winter 2009
Page 47: CMPE 150 – Winter 2009

http://www.internet2.edu/pubs/networkmap.pdf

Page 48: CMPE 150 – Winter 2009

http://www.nlr.net/services/map/

Page 49: CMPE 150 – Winter 2009
Page 50: CMPE 150 – Winter 2009
Page 51: CMPE 150 – Winter 2009

http://doc.cenic.org/tools/topology_map.pl?network=uc

UC CENIC January 2009

Page 52: CMPE 150 – Winter 2009

SIGNALS and SYSTEMS

Page 53: CMPE 150 – Winter 2009

SIGNALS and SYSTEMS

What is a signal?

Page 54: CMPE 150 – Winter 2009

SIGNALS and SYSTEMS

What is a signal?

What is a system?

Page 55: CMPE 150 – Winter 2009

SIGNALS and SYSTEMS

What is a signal?

What is a system?

Page 56: CMPE 150 – Winter 2009

SIGNALS and SYSTEMS

What is a signal?

What is a system?

Signal: time varying function produced by physical device (voltage, current, etc.)

Page 57: CMPE 150 – Winter 2009

SIGNALS and SYSTEMS

What is a signal?

What is a system?

Signal: time varying function produced by physical device (voltage, current, etc.)

System: device or process (algorithm) having signals as input and output

Input x(t) output y(t)

Page 58: CMPE 150 – Winter 2009
Page 59: CMPE 150 – Winter 2009

SIGNALS and SYSTEMS

Page 60: CMPE 150 – Winter 2009

ax(t) ay(t)

a1 x1(t) + a2 x2(t) a1 y1(t) + a2 y2(t)

Superposition

Page 61: CMPE 150 – Winter 2009

SIGNALS and SYSTEMS

Periodic signals --

f(t+T) = f(t) Period = T (seconds)

Frequency = 1/ Period

(“cycles” / sec. = Hertz (Hz)

001/f T

Page 62: CMPE 150 – Winter 2009

SIGNALS and SYSTEMS

Periodic signals --

f(t+T) = f(t) Period = T (seconds)

Frequency = 1/ Period

(“cycles” / sec. = Hertz (Hz)

Radian frequency:

(radians/sec.)2 f

Page 63: CMPE 150 – Winter 2009

SIGNALS and SYSTEMS

Reference: Signals, Systems and TranformsLeland B. JacksonAddison Wesley

Page 64: CMPE 150 – Winter 2009

SIGNALS and SYSTEMS

Page 65: CMPE 150 – Winter 2009

SIGNALS and SYSTEMS

100MHz square wave

What bandwidth required for transmission?

Page 66: CMPE 150 – Winter 2009

SIGNALS and SYSTEMS

Periodic Signal --- Composed of sinusoids

MATLAB Demo

Page 67: CMPE 150 – Winter 2009

SIGNALS and SYSTEMS

Periodic Signal --- Composed of sinusoids

Page 68: CMPE 150 – Winter 2009

Fourier Series

2

0 0

0

2

0 0

0

1( )cos(2 ) ( )

1( )sin(2 ) ( )

n

n

a x t nf t d t

b x t nf t d t

00

0 0

0 00 0

1

2

1 2( ) 2 2

fT

t f t

d t f dt dt dtT T

is the “fundamental frequency”

0 01

1( ) cos(2 ) sin(2 )

2

N

n i nn

x t a a nf t b nf t

Page 69: CMPE 150 – Winter 2009

Fourier Series

Integration limits: when 0 2t , then

0 0 0

2 2 1

2 /t

T T

so we get:

0 01

1( ) cos(2 ) sin(2 )

2

N

n i nn

x t a a nf t b nf t

0

0

00 0

00 0

2( )cos(2 )

2( )sin(2 )

T

n

T

n

a x t nf t dtT

b x t nf t dtT

Page 70: CMPE 150 – Winter 2009

Fourier Series

Euler:

0 01

1( ) cos(2 ) sin(2 )

2

N

n i nn

x t a a nf t b nf t

2 cos(2 ) sin(2 )ij f ti ie f t j f t

02( ) jn f tn

n

x t c e

02( ) jn f t

in

x t c e

Page 71: CMPE 150 – Winter 2009

Fourier Series

02( ) jn f tn

n

x t c e

0

0

0

2

02

1( )

T

jn tn

T

c x t e dtT

We can show2 2

n n nc a b 1tan ( / )n nb a ;

recall that2 2 1cos( ) sin( ) cos( tan ( ))

ba b a b

a

Page 72: CMPE 150 – Winter 2009

Phasors:

Phasors

2 2a b

a

b

Page 73: CMPE 150 – Winter 2009

References Stallings, W. Data and Computer Communications

(7th edition), Prentice Hall 2004 chapter 1 Web site for Stallings book

http://williamstallings.com/DCC/DCC7e.html Web sites for IETF, IEEE, ITU-T, ISO Internet Requests for Comment (RFCs) Usenet News groups

comp.dcom.* comp.protocols.tcp-ip