CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer...

36
1 CMPE 150- Introduction to Computer Networks CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks
  • date post

    15-Jan-2016
  • Category

    Documents

  • view

    213
  • download

    0

Transcript of CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer...

Page 1: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

1CMPE 150- Introduction to Computer Networks

CMPE 150

Fall 2005Lecture 18

Introduction to Computer Networks

Page 2: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

2CMPE 150- Introduction to Computer Networks

Announcements

• Midterm on 11.04.– In class, closed books/notes.

• Homework 3 is up.– Due on 11.07.05.

• Lab this week: discussion/review sessions for midterm.

• Lab next week: – Layer 2.

– Ethernet.

Page 3: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

3CMPE 150- Introduction to Computer Networks

Today

• Finish MAC.

Page 4: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

4CMPE 150- Introduction to Computer Networks

Ethernet Cabling

• The most common kinds of Ethernet cabling.

Page 5: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

5CMPE 150- Introduction to Computer Networks

Ethernet Cabling (Cont’d)

• Three kinds of Ethernet cabling. • (a) 10Base5, (b) 10Base2, (c) 10Base-T.

Page 6: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

6CMPE 150- Introduction to Computer Networks

Ethernet Topologies

• Cable topologies. (a) Linear, (b) Spine, (c) Tree, (d) Segmented.

Page 7: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

7CMPE 150- Introduction to Computer Networks

Switched Ethernet

• A simple example of switched Ethernet.

Page 8: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

8CMPE 150- Introduction to Computer Networks

Switched Ethernet (Cont’d)

• Point-to-point connections to multi-port hub acting like switch; no collisions.

• More efficient under high traffic load: break large shared Ethernet into smaller segments.

Hub

Switch

Page 9: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

9CMPE 150- Introduction to Computer Networks

Fast Ethernet

• IEEE 802.3u• 100Mbps.

Page 10: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

10CMPE 150- Introduction to Computer Networks

Gigabit Ethernet

• (a) A two-station Ethernet. (b) A multistation Ethernet.

. IEEE 802.11z.

. All point to point.

Page 11: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

11CMPE 150- Introduction to Computer Networks

Gigabit Ethernet (Cont’d)

• Gigabit Ethernet cabling.

Page 12: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

12CMPE 150- Introduction to Computer Networks

Standardized MACs

TopologiesBus Ring

Round robin

Reservation

Contention

Token bus(802.4)Polling (802.11)

DQDB(802.6)

CSMA/CD(802.3)CSMA(802.11)

Token ring(802.5; FDDI)

Techniques

Page 13: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

13CMPE 150- Introduction to Computer Networks

Wireless LANs

Page 14: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

14CMPE 150- Introduction to Computer Networks

Wireless LANs

• 2 modes of operation:– Infrastructure mode.

– Ad hoc mode,

Page 15: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

15CMPE 150- Introduction to Computer Networks

Wireless LANs

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

Page 16: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

16CMPE 150- Introduction to Computer Networks

IEEE 802.11

• IEEE standard for WLANs.• Standardizes the PHY, MAC, and LLC.– LLC is the same as Ethernet.

Page 17: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

17CMPE 150- Introduction to Computer Networks

The 802.11 Protocol Stack

• Part of the 802.11 protocol stack.

Page 18: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

18CMPE 150- Introduction to Computer Networks

IEEE 802.11 Stack (Cont’d)

• Distributed access control mechanism (DCF) based on CSMA with optional centralized control (PCF).

Physical Layer

DCF

PCFMAClayer

Contention-freeService (polling)

ContentionService(CSMA)

LLC

Page 19: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

19CMPE 150- Introduction to Computer Networks

802.11

• Distributed coordination function (DCF) uses CSMA-based protocol (e.g., ad hoc networks).

• CD does not make sense in wireless.– Hard for transmitter to distinguish its own

transmission from incoming weak signals and noise.

• Point coordination function (PCF) uses polling to grant stations their turn to transmit (e.g., cellular networks).

Page 20: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

20CMPE 150- Introduction to Computer Networks

Why a new MAC for wireless?

Page 21: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

21CMPE 150- Introduction to Computer Networks

Why a new MAC for wireless?

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

Page 22: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

22CMPE 150- Introduction to Computer Networks

Why a new MAC for wireless?

• (a) The hidden station problem.• (b) The exposed station problem.

Page 23: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

23CMPE 150- Introduction to Computer Networks

802.11 MAC

• DCF: CSMA or CSMA/CA.• PCF; uses polling (centralized round-robin)

Page 24: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

24CMPE 150- Introduction to Computer Networks

What’s CSMA/CA?

• CSMA with collision avoidance.• Radios are usually half-duplex.– Cannot send and listen at the same time.

– CSMA/CD not possible.

• CSMA/CA means both physical- and virtual carrier sensing.– Tries to avoid hidden terminals.

Page 25: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

25CMPE 150- Introduction to Computer Networks

How does CSMA/CA work?

Page 26: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

26CMPE 150- Introduction to Computer Networks

802.11 Fragments

• A fragment burst.

Page 27: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

27CMPE 150- Introduction to Computer Networks

REVIEW

Page 28: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

28CMPE 150- Introduction to Computer Networks

REVIEW (1)

• Introduction, overview, terminology.• The Telephone Network (PSTN or POTS).• Addressing.• Data networks.– Communication model.– System components.

• Connecting end systems:– Point-to-point (dedicated) link.– Multiple access (shared) link.– Switched point-to-point.

Page 29: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

29CMPE 150- Introduction to Computer Networks

REVIEW (2)

• Types of data networks:– Coverage: LAN, MAN, WAN.– Type of connection.– Topology.

• Protocols, Layering, Protocol Architecture (Stack), PDUs.

• Examples of protocol stacks.– OSI ISO.– TCP/IP.

• Protocol stack operation.– Encapsulation/de-encapsulation.– Overhead.

Page 30: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

30CMPE 150- Introduction to Computer Networks

REVIEW (3)

• Types of networks:– Circuit-, message-, and packet switching.

• Types of network services:– Connection versus connection-less service or

datagram versus virtual circuit.

• Physical layer (PHY).– Function.– Analog versus digital transmission.– Digitization.

Page 31: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

31CMPE 150- Introduction to Computer Networks

REVIEW (4)

• PHY (Cont’d).– Sampling frequency.

– Bit rate.

– Signals and Systems.• Fourier analysis.• Nyquist’s Theorem.• Shanon’s Theorem.• Bandwidth.

– Guided transmission.

– More on the PSTN.

Page 32: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

32CMPE 150- Introduction to Computer Networks

REVIEW (5)

• PHY (Cont’d).– More on the PSTN.• Components.• Modems.• Modulation.• Baud rate versus bit rate.• Full-, half-, and simplex transmission.• Broadband access: ADSL, Cable, Wireless LL.• Trunking.

– Mux’ing and De-mux’ing.

– Wireless transmission.

Page 33: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

33CMPE 150- Introduction to Computer Networks

REVIEW (6)• PHY (Cont’d).

– Wireless transmission.– Satellite.– Mobile phone system.

• DLL.– Functions.

• Framing, error-, and flow control.

– Framing.• Different framing mechanisms.• Frame fields.

– Error control.– Flow control.

Page 34: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

34CMPE 150- Introduction to Computer Networks

REVIEW (7)

• DLL.– Error control.• Error detection versus error correction.• Mechanisms for error detection/correction.

– Error + Flow control protocols.• Stop-and-Wait.• ARQ.• Sliding window.• Go back N• Selective repeat.

Page 35: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

35CMPE 150- Introduction to Computer Networks

REVIEW (8)

• DLL (Cont’d).– Window size and sequence numbers.– Bandwidth-delay product.– Example DLL protocols,

• MAC.– Why MACs?– Where is the MAC in the stack?– MACs and LANs.– Multiplexing.• FDM, TDM. Dynamic TDM.

Page 36: CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.

36CMPE 150- Introduction to Computer Networks

REVIEW (9)

• MAC (Cont’d).– Types of MACs.– Contention-based MACs.

• Aloha family.• CSMA family,

• Ethernet.– Ethernet MAC.– BEB.– Cabling.– Ethernet evolution.

• Wireless LANs.– IEEE 802.11.