360 likes | 520 Views
CMPE 150 Fall 2005 Lecture 18. 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. Today. Finish MAC.
E N D
CMPE 150Fall 2005Lecture 18 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.
Today • Finish MAC.
Ethernet Cabling • The most common kinds of Ethernet cabling.
Ethernet Cabling (Cont’d) • Three kinds of Ethernet cabling. • (a) 10Base5, (b) 10Base2, (c) 10Base-T.
Ethernet Topologies • Cable topologies. (a) Linear, (b) Spine, (c) Tree, (d) Segmented.
Switched Ethernet • A simple example of switched Ethernet.
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. Switch Hub
Fast Ethernet • IEEE 802.3u • 100Mbps.
Gigabit Ethernet . IEEE 802.11z. . All point to point. • (a) A two-station Ethernet. (b) A multistation Ethernet.
Gigabit Ethernet (Cont’d) • Gigabit Ethernet cabling.
Standardized MACs Topologies Bus Ring Techniques Token bus (802.4) Polling (802.11) Token ring (802.5; FDDI) Round robin Reservation DQDB (802.6) Contention CSMA/CD (802.3) CSMA(802.11)
Wireless LANs • 2 modes of operation: • Infrastructure mode. • Ad hoc mode,
Wireless LANs • (a) Wireless networking with a base station. • (b) Ad hoc networking.
IEEE 802.11 • IEEE standard for WLANs. • Standardizes the PHY, MAC, and LLC. • LLC is the same as Ethernet.
The 802.11 Protocol Stack • Part of the 802.11 protocol stack.
IEEE 802.11 Stack (Cont’d) • Distributed access control mechanism (DCF) based on CSMA with optional centralized control (PCF). Contention-free Service (polling) LLC MAC layer PCF Contention Service (CSMA) DCF Physical Layer
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).
Why a new MAC for wireless? • The range of a single radio may not cover the entire system.
Why a new MAC for wireless? • (a) The hidden station problem. • (b) The exposed station problem.
802.11 MAC • DCF: CSMA or CSMA/CA. • PCF; uses polling (centralized round-robin)
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.
802.11 Fragments • A fragment burst.
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.
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.
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.
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.
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.
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.
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.
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.
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.