1 cis 6930: review on network technology jonathan c.l. liu, ph.d. department of computer,...

75
1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

Upload: norma-james

Post on 12-Jan-2016

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

1

CIS 6930: Review on Network Technology

Jonathan C.L. Liu, Ph.D.Department of Computer, InformationScience and Engineering (CISE),University of Florida

Page 2: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

2

Network HardwareLocal Area NetworksMetropolitan Area NetworksWide Area NetworksWireless NetworksHome NetworksInter-networks

Page 3: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

3

Local Area Networks

Page 4: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

4

Metropolitan Area Networks

A metropolitan area network based on cable TV.

Page 5: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

5

Wide Area Networks

A stream of packets from sender to receiver.

Page 6: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

6

Wireless Networks

(a) Bluetooth configuration(b) Wireless LAN

Page 7: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

7

Network SoftwareProtocol HierarchiesDesign Issues for the LayersConnection-Oriented and Connectionless ServicesService PrimitivesThe Relationship of Services to Protocols

Page 8: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

8

Page 9: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

9

Connection-Oriented and Connectionless Services

Six different types of service.

Page 10: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

10

Service PrimitivesPackets sent in a simple client-server interaction on a connection-oriented network.

Page 11: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

11

Page 12: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

12

Page 13: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

13

Fiber Optic Networks

A fiber optic ring with active repeaters.

Page 14: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

14

The Electromagnetic Spectrum

The electromagnetic spectrum and its uses for communication.

Page 15: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

15

Page 16: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

16

Global Star

(a) Relaying in space.(b) Relaying on the

ground.

Page 17: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

17

Structure of the Telephone System

A typical circuit route for a medium-distance call.

Page 18: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

18

Page 19: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

19

Time Division Multiplexing

The T1 carrier (1.544 Mbps).

Page 20: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

20

Time Division Multiplexing (3)

Multiplexing T1 streams into higher carriers.

Page 21: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

21

Page 22: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

22

Page 23: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

23

Packet Switching

A comparison of circuit switched and packet-switched networks.

Page 24: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

24

Functions of the Data Link Layer

•Provide service interface to the network layer

•Dealing with transmission errors

•Regulating data flow• Slow receivers not swamped by fast senders

Page 25: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

25

Elementary Data Link Protocols

•An Unrestricted Simplex Protocol•A Simplex Stop-and-Wait Protocol•A Simplex Protocol for a Noisy

Channel

Page 26: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

26

Unrestricted Simplex Protocol

Page 27: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

27

Simplex Stop-and-Wait Protocol

Page 28: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

28

For a Noisy Channel

A positive acknowledgement

with retransmission protocol.

Continued

Page 29: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

29

For a Noisy Channel (2)

A positive acknowledgement with retransmission protocol.

Page 30: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

30

Sliding Window Protocols•A One-Bit Sliding Window Protocol

•A Protocol Using Go Back N•A Protocol Using Selective Repeat

Page 31: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

31

Page 32: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

32

Page 33: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

33

Dynamic Channel Allocation

Station Model.Single Channel Assumption.Collision Assumption.

(a) Continuous Time.(b) Slotted Time.

(a) Carrier Sense.(b) No Carrier Sense.

Page 34: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

34

Pure ALOHA

In pure ALOHA, frames are transmitted at completely arbitrary

times.

Page 35: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

35

Pure ALOHA (2)Vulnerable period for the shaded

frame.

Page 36: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

36

Pure ALOHA (3)

Throughput versus offered traffic for ALOHA systems.

Page 37: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

37

Performance Comparison

Page 38: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

38

CSMA with Collision Detection

CSMA/CD can be in one of three states: contention, transmission, or idle.

Page 39: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

39

Ethernet Cabling

The most common kinds of Ethernet cabling.

Page 40: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

40

Ethernet MAC Sublayer Protocol

Collision detection can take as long as 2 .

Page 41: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

41

Ethernet Performance

Efficiency of Ethernet at 10 Mbps with 512-bit slot times.

Page 42: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

42

Switched EthernetA simple example of switched Ethernet.

Page 43: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

43

Fast Ethernet

The original fast Ethernet cabling.

Page 44: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

44

Some Wireless Networks

384 Kbps384 Kbps

56 Kbps56 Kbps

54 Mbps54 Mbps

5-11 Mbps5-11 Mbps

1 Mbps1 Mbps

802.15

802.11b

802.11{a,g}

IS-95 CDMA, GSM

UMTS/WCDMA, CDMA2000

.11 p-to-p link

2G

3G

Indoor

10 – 30m

Outdoor

50 – 200m

Mid rangeoutdoor

200m – 4km

Long rangeoutdoor

5km – 20km

Page 45: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

45

Wireless Link CharacteristicsDifferences from a wired link ….

decreased signal strength: radio signal attenuates as it propagates through matter (path loss)interference from other sources: standardized wireless network frequencies (e.g., 2.4 GHz) shared by other devices (e.g., phone); devices (motors) interfere as wellmultipath propagation: radio signal reflects off objects ground, arriving at destination with slightly different times

…. make communication across (even a point to point) wireless link much more “difficult”

Page 46: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

46

IEEE 802.11 Wireless LAN

802.11b2.4-5 GHz unlicensed radio spectrumup to 11 Mbpsdirect sequence spread spectrum (DSSS) in physical layer• all hosts use same

chipping codewidely deployed, using base stations

802.11a 5-6 GHz rangeup to 54 Mbps

802.11g 2.4-5 GHz rangeup to 54 Mbps

All use CSMA/CA for multiple accessAll have base-station and ad-hoc network versions

Page 47: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

47

Hidden-Node Problem

(a) The hidden station problem.

(b) The exposed station problem.

Page 48: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

48

IEEE 802.11: multiple accessavoid collisions: 2+ nodes transmitting at same time802.11: CSMA - sense before transmitting

don’t collide with ongoing transmission by other node

802.11: no collision detection!difficult to receive (sense collisions) when transmitting due to weak received signals (fading)can’t sense all collisions in any case: hidden nodes, and/or fadinggoal: avoid collisions: CSMA/C(ollision)A(voidance)

Page 49: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

49

Timing of the protocol

The use of virtual channel sensing using CSMA/CA.

Page 50: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

50

Avoiding collisions (more)

idea: allow sender to “reserve” channel rather than random access of data frames: avoid collisions of long data framessender first transmits small request-to-send (RTS) packets to BS using CSMA

RTS may still collide with each other (but they’re short)BS broadcasts clear-to-send (CTS) in response to RTSRTS heard by all nodes

sender transmits data frame

other stations defer transmissions

Avoid data frame collisions completely using small reservation packets!

Page 51: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

51

Collision Avoidance: RTS-CTS exchange

APA B

time

RTS(A)RTS(B)

RTS(A)

CTS(A) CTS(A)

DATA (A)

ACK(A) ACK(A)

reservation collision

defer

Page 52: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

52

802.11: Channels, association802.11b: 2.4GHz-2.485GHz spectrum divided into 11 channels at different frequencies

AP admin chooses frequency for APinterference possible: channel can be same as that chosen by neighboring AP!

host: must associate with an APscans channels, listening for beacon frames containing AP’s name and MAC addressselects AP to associate withmay perform authenticationwill typically run DHCP to get IP address in AP’s subnet

Page 53: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

53

Broadband Wireless

•The 802.16 Protocol Stack•The 802.16 Physical Layer•The 802.16 MAC Sublayer

Protocol•The 802.16 Frame Structure

Page 54: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

54

The 802.16 Protocol Stack

Page 55: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

55

The 802.16 Physical Layer

The 802.16 transmission environment.

Page 56: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

56

The 802.16 Physical Layer (2)

Frames and time slots for time division duplexing.

Page 57: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

57

802.16 MAC Sublayer Protocol

Service Classes•Constant bit rate service•Real-time variable bit rate

service•Non-real-time variable bit

rate service•Best efforts service

Page 58: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

58

802.16 Frame Structure

(a) A generic frame. (b) A bandwidth request frame.

Page 59: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

59

Bluetooth

•Bluetooth Architecture•Bluetooth Applications•The Bluetooth Protocol Stack•The Bluetooth Radio Layer•The Bluetooth Baseband Layer•The Bluetooth L2CAP Layer•The Bluetooth Frame Structure

Page 60: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

60

Mradius ofcoverage

S

SS

P

P

P

P

M

S

Master device

Slave device

Parked device (inactive)P

802.15: personal area networkless than 10 m diameterreplacement for cables (mouse, keyboard, headphones)ad hoc: no infrastructuremaster/slaves:

slaves request permission to send (to master)master grants requests

802.15: evolved from Bluetooth specification

2.4-2.5 GHz radio bandup to 721 kbps

Page 61: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

61

The Bluetooth Protocol StackThe 802.15 version of the Bluetooth

protocol architecture.

Page 62: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

62

The Bluetooth Frame Structure

A typical Bluetooth data frame.

Page 63: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

63

IEEE 802.15.3 - Overview

High data rate WPANPotential future standardMotivation: The need for higher bandwidths currently supported with 802.15.1

100 Mpbs within 10 meter400 Mpbs within 5 meter

Data, High quality TV, Home cinema

Page 64: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

64

IEEE 802.15.3 - Overview

Dynamic topologyMobile devices often join and leave the piconetShort connection times

High spatial capacityMultiple Power Management modesSecure Network

Page 65: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

65

IEEE 802.15.3 - Overview

Based on piconetsData Devices (DEV) establish peer-to-peer communicationIncludes also a Piconet Coordinator (PNC)

Page 66: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

66

IEEE 802.15.3 - Topology

Page 67: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

67

IEEE 802.15.3 - Superframe

Page 68: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

68

IEEE 802.15.3 - Beacon

BeaconControl informationAllocates GTSSynchronization

Page 69: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

69

IEEE 802.15.3 - CAP

CAPAllows contention via CSMA/CACommand exchange between DEV and PNCFile transfers from DEV without request

Page 70: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

70

IEEE 802.15.3 - CFP

CFPTime slot allocation specified in the beaconReserved bandwidth for DEVMTS: Command, GTS: Data

Page 71: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

71

IEEE 802.15.3 - GTS

GTS reservationDEV sends a Channel Time Request (CTR) to PNC• Isochronous data: number and duration

of slot(s)• Asynchronous data: Total amount of data

PNC allocates GTSs to DEV via CTADEV is responsible of utilizing allocated GTSs

Page 72: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

72

IEEE 802.15.3 - GTS

Two types of GTSsDynamic GTS• Location within a superframe may change• PNC can optimize channel utilization

Pseudostatic GTS• Only for isochronous data• Fixed location within a superframe• May be changed, but only after a series

of notitications to the DEV

Page 73: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

73

IEEE 802.15.3

Starting a piconetDEV scans the for the best channel and sends out beacons -> the DEV becomes PNCIf no channels available: Establishes a child or neighbor piconet instead• Requests a private GTS from parent PNC• All communication takes place within

assigned GTS

Page 74: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

74

IEEE 802.15.3 - QoS

QoSIEEE 802.15.3 supports both synchronous and asynchronous dataCAP offers only best-effortThe PNC will allocate resources in the CFP• Through admission control• Synchronous data: Based on number of

time slots per superframe, duration of slot, priority and GTS type

Page 75: 1 CIS 6930: Review on Network Technology Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida

75

IEEE 802.15.3 - QoS• Asynchronous data: Based on total data

and priority

After performing admission control, GTSs may be allocated