Midterm Review EECS 122. University of California Berkeley

Similar documents
Midterm Review. Topics. Review: Network. Review: Network. Layers & Protocols. Review: Network WAN. Midterm Review EECS 122 EECS 122

Midterm Review EECS 122. University of California Berkeley

EECS 122. University of California Berkeley

EECS 122. University of California Berkeley. Network Architecture Network hierarchy Layering Performance. Link Layer Ethernet Wi-Fi

Unit 7 Media Access Control (MAC)

Multiple Access Links and Protocols

ICE 1332/0715 Mobile Computing (Summer, 2008)

MAC. Fall Data Communications II 1

Medium Access Control. MAC protocols: design goals, challenges, contention-based and contention-free protocols

Models. Motivation Timing Diagrams Metrics Evaluation Techniques. TOC Models

Random Access. 1. Aloha. 2. Slotted Aloha 3. CSMA 4. CSMA/CD

CMPE 257: Wireless and Mobile Networking

Computer Communication III

Data and Computer Communications. Chapter 13 Wireless LANs

Topics. Link Layer Services (more) Link Layer Services LECTURE 5 MULTIPLE ACCESS AND LOCAL AREA NETWORKS. flow control: error detection:

CSC344 Wireless and Mobile Computing. Department of Computer Science COMSATS Institute of Information Technology

EITF25 Internet Techniques and Applications L4: Network Access. Stefan Höst

Redes de Computadores. Medium Access Control

CSMA/CD (Collision Detection)

Lesson 2-3: The IEEE x MAC Layer

Mohamed Khedr.

CSCD 433 Network Programming Fall Lecture 7 Ethernet and Wireless

Mohammad Hossein Manshaei 1393

CMPE 257: Wireless and Mobile Networking

IEEE , Token Rings. 10/11/06 CS/ECE UIUC, Fall

CSE 461: Wireless Networks

IEEE Medium Access Control. Medium Access Control

Medium Access Control. IEEE , Token Rings. CSMA/CD in WLANs? Ethernet MAC Algorithm. MACA Solution for Hidden Terminal Problem

The MAC layer in wireless networks

Wireless Local Area Networks (WLANs) Part I

LAN PROTOCOLS. Beulah A AP/CSE

Chapter 4: The Medium Access Layer

6th Slide Set Computer Networks

Performance anomaly of b

4.3 IEEE Physical Layer IEEE IEEE b IEEE a IEEE g IEEE n IEEE 802.

Chapter 4. The Medium Access Control Sublayer. Points and Questions to Consider. Multiple Access Protocols. The Channel Allocation Problem.

Introduction to Wireless Networking CS 490WN/ECE 401WN Winter Lecture 4: Wireless LANs and IEEE Part II

CHAPTER 7 MAC LAYER PROTOCOLS. Dr. Bhargavi Goswami Associate Professor & Head Department of Computer Science Garden City College

Chapter 12 Multiple Access 12.1

CS 348: Computer Networks. - WiFi (contd.); 16 th Aug Instructor: Sridhar Iyer IIT Bombay

Review. Error Detection: CRC Multiple access protocols. LAN addresses and ARP Ethernet. Slotted ALOHA CSMA/CD

The MAC layer in wireless networks

Announcements: Assignment 4 due now Lab 4 due next Tuesday Assignment 5 posted, due next Thursday

CS 43: Computer Networks Media Access. Kevin Webb Swarthmore College November 30, 2017

CS 43: Computer Networks. 27: Media Access Contd. December 3, 2018

Lecture 16: QoS and "

Lecture 6. Data Link Layer (cont d) Data Link Layer 1-1

Local Area Networks NETW 901

CSCI 466 Midterm Networks Fall 2011

Protocols for Multiaccess Networks

Chapter 4. The Medium Access Control Sublayer

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008

An Efficient Scheduling Scheme for High Speed IEEE WLANs

Wireless Communications

Data Communications. Data Link Layer Protocols Wireless LANs

ECE 4450:427/527 - Computer Networks Spring 2017

Fairness in the IEEE network. Shun Y. Cheung

Data Link Layer -2- Network Access

Wireless# Guide to Wireless Communications. Objectives

The Link Layer and LANs. Chapter 6: Link layer and LANs

Wireless LAN -Architecture

Topics for Today. More on Ethernet. Wireless LANs Readings. Topology and Wiring Switched Ethernet Fast Ethernet Gigabit Ethernet. 4.3 to 4.

ECEN 5032 Data Networks Medium Access Control Sublayer

Computer Networks Principles LAN - Ethernet

CSCI 466 Midterm Networks Fall 2011

Data Link Layer -2- Network Access

IEEE Wireless LANs

Page 1. Outline : Wireless Networks Lecture 11: MAC. Standardization of Wireless Networks. History. Frequency Bands

Lecture 19. Principles behind data link layer services Framing Multiple access protocols

Ethernet. Introduction. CSE 3213 Fall 2011

Guide to Wireless Communications, Third Edition. Objectives

A Finite State Model for IEEE Wireless LAN MAC DCF

Chapter 6 Medium Access Control Protocols and Local Area Networks

CSMC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. Fall 2018 CMSC417 Set 1 1

04/11/2011. Wireless LANs. CSE 3213 Fall November Overview

MAC in /20/06

CS/ECE 439: Wireless Networking. MAC Layer Road to Wireless

Medium Access Control Sublayer

Strengthening Unlicensed Band Wireless Backhaul

IEEE MAC Sublayer (Based on IEEE )

Certified Wireless Network Administrator (CWNA) PW Chapter Medium Access. Chapter 8 Overview

MULTIPLE ACCESS PROTOCOLS 2. 1

Direct Link Networks (II)

CSE 6811 Ashikur Rahman

Wireless Local Area Networks (WLANs)) and Wireless Sensor Networks (WSNs) Computer Networks: Wireless Networks 1

Logical Link Control (LLC) Medium Access Control (MAC)

Aloha and slotted aloha

Ethernet. Typical Setup. Names. Operations. Operations Switch: No Collisions EECS 122. Hub: Single Collision Domain

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

Outline. Introduction to Networked Embedded Systems - Embedded systems Networked embedded systems Embedded Internet - Network properties

CSE 461: Multiple Access Networks. This Lecture

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061/1110. Lecture 8. Medium Access Control Methods & LAN

Rahman 1. Application

Computer Network Fundamentals Spring Week 3 MAC Layer Andreas Terzis

3.1. Introduction to WLAN IEEE

The Link Layer II: Ethernet

CSE/EE 461 Wireless and Contention-Free Protocols

Department of EECS - University of California at Berkeley EECS122 - Introduction to Communication Networks - Spring 2005 Final: 5/20/2005

Medium Access Control. CSCI370 Lecture 5 Michael Hutt New York Institute of Technology

Wireless Communication and Networking CMPT 371

Transcription:

Midterm Review EECS 122 University of California Berkeley

Topics Network Architecture Network hierarchy Layering Performance Link Layer Ethernet Wi-Fi 2

Review: Network WAN MAN 3

Review: Network WAN MAN LAN 4

Review: Network WAN LAN 5

Review: Layers & Protocols Application Transport TH Data Data HTTP, FTP, UDP - TCP Application Transport Network Asynchronous routed path Asynchronous routed path Network PH Data PH Data IP Network Data Link Control Asynchronous reliable bit pipe FH Data Data Link Control Asynchronous reliable bit pipe FH Data Data Link Control Physical Interface Synchronous unreliable bit pipe Physical Interface Synchronous unreliable bit pipe Physical Interface End Node Physical Link Router Physical Link End Node 6

Timing: Queuing Link: P bits Q R bps T seconds Q/R Q/R = queuing delay (load-dependent) T P/R Time 7

Timing: Store & Forward - Multiple System: 10Mbps 5Mbps 100Mbps 10Mbps 8

Little s Result N S 1 2 D X(t) T(N) T(N - 1) S = area S = T(1) + + T(N) = integral of X(t) 1 T(1) + + T(N) N X(t)dt = S =. T T N T T Average occupancy = (average delay)x(average arrival rate) 9

The basic queuing system 10

Performance Metrics Throughput Delay Jitter 11

Connection Throughput Connection: Send W bits (window size) Wait for ACKs Repeat Assume that the round-trip time is RTT seconds Throughput = W/RTT bps Source RTT K Destination RTT K Time 12

Stop-and-Wait Scenarios Transmit one packet, wait for ack, and repeat Set timeout for retransmission [Peterson & Davie] 13

Sliding Window Start with a window size of W packets Decrement available window size for each packet transmitted Increment available window size for each ack received [Peterson & Davie] 14

Random Multiple Access How to share a channel? Multiple Access Multiplexing ALOHA: First random multiple access system Efficient for many users, each with low utilization Try; If collide, wait random time then repeat Analysis: Slotted Aloha efficiency 1/e = 36% p, indpdt. Slot N nodes P(success) = Np(1 p) N-1 1/e if p = 1/N 15

Random Multiple Access Ethernet: First version CSMA/CD Wait until channel is idle; try; if collide, stop, wait, repeat Idea: CD should improve efficiency if fast enough If CD, wait random multiple of 512 bit times (exponential back off) Analysis: Worst-case Efficiency 1/(1 + 5a), a = PROP/TRANS A B 16

Switching Ethernet: Later versions Switched Larger aggregate throughput VLANs: partition in disjoint logical LANs Link Aggregation Each port is in its own collision domain as opposed to a hub where all ports are in the same collision domain Fast, GE, 10GE Improved modulation schemes 17

Ethernet Service? Operations: Addresses, MAC, Hub, Switch, Learning, Spanning Tree MAC: Why not Aloha? Why Switch? Why Loops? 18

802.11 a - 5GHz, up to 54Mbps b - 2.5GHz, up to 11Mbps g - 2.5GHz, up to 54Mbps MAC: CSMA/CA with or without RTS/CTS Distributed (DCF): CSMA/CA using different Interframe Gaps maintain network allocation vector Centralized (PCF): access point polls nodes 19

802.11 MAC If medium is idle for DIFS interval after a correctly received frame and backoff time has expired, transmission can begin immediately If previous frame contained errors, medium must be free for EIFS If medium is busy, access is deferred until medium is idle for DIFS and exponential backoff Backoff counter is decremented by one if a time slot is determined to be idle Unicast data must be acknowledged as part of an atomic exchange 20

802.11 Virtual Carrier Sensing Virtual Carrier Sensing using Network Allocation Vector (NAV) 21

802.11 Efficiency Calculation Example 22

802.11 What are hidden/exposed terminal problems? Why not CSMA/CD? Objectives of new MAC? Why RTS/CTS? How does NAV work? Why different IFS? Why more than 2 addresses? Why different PHYs? Why multiple channels? Efficiency calculation 23

Check List Network hierarchy Layering Performance: Timing & Metrics Layer 2 Ethernet MAC Wi-Fi MAC Repeaters, hubs, bridges, switches 24