Ethernet and WiFi. h-p://xkcd.com/466/

Similar documents
Ethernet. Lecture 6. Outline. Ethernet - Physical Properties. Ethernet - Physical Properties. Ethernet

Lecture 6. Reminder: Homework 2, Programming Project 2 due on Thursday. Questions? Tuesday, September 13 CS 475 Networks - Lecture 6 1

Lecture 23 Overview. Last Lecture. This Lecture. Next Lecture ADSL, ATM. Wireless Technologies (1) Source: chapters 6.2, 15

LAN Protocols. Required reading: Forouzan 13.1 to 13.5 Garcia 6.7, 6.8. CSE 3213, Fall 2015 Instructor: N. Vlajic

Outline. EEC-682/782 Computer Networks I. Multiple Access Protocols. IEEE 802 Standards

High Level View. EE 122: Ethernet and Random Access protocols. Medium Access Protocols

Outline. EEC-484/584 Computer Networks. Multiple Access Protocols. Wireless LAN Protocols. Lecture 9. Wenbing Zhao

EEC-484/584 Computer Networks

Introductory to Computer Networks Local Area Networks. Lecture 16 Fall Isfahan University of technology Dr.

EE 122: Ethernet and

Link Layer and Ethernet

Link Layer and Ethernet

Reminder: Datalink Functions Computer Networking. Datalink Architectures

Data Link Layer, Part 5. Medium Access Control

Local Area Networks. Aloha Slotted Aloha CSMA (non-persistent, 1-persistent, p-persistent) CSMA/CD Ethernet Token Ring

Computer Networks. Medium Access Sublayer (Part I)

Data Link Layer, Part 3 Medium Access Control. Preface

Introduc)on to Wireless Networks. Dino Lopez

Ethernet. Networks: Ethernet 1

CSE 461: Multiple Access Networks. This Lecture

Direct Link Communication II: Wired Media. Multi-Access Communication

Lecture 6: Example LAN: Ethernet

Medium Access Control Sublayer Chapter 4

IEEE 802 LANs SECTION C

EITF25 Internet- - Techniques and Applica8ons Stefan Höst. L5 Data link (part 2)

Getting Connected (Chapter 2 Part 4) Networking CS 3470, Section 1 Sarah Diesburg

Wireless and Mobile Networks 7-2

6.9 Summary. 11/20/2013 Wireless and Mobile Networks (SSL) 6-1. Characteristics of selected wireless link standards a, g point-to-point

CARRIER SENSE MULTIPLE ACCESS (CSMA):

Networking Technologies and Applications

Part3. Local Area Networks (LAN)

Ethernet Basics. based on Chapter 4 of CompTIA Network+ Exam Guide, 4 th ed., Mike Meyers

CSE 461: Multiple Access. Homework: Chapter 2, problems 1, 8, 12, 18, 23, 24, 35, 43, 46, and 58

Ethernet. Computer Networks. Lecture 4.

Chapter 6 Wireless and Mobile Networks

COS 140: Foundations of Computer Science

Topic 2b Wireless MAC. Chapter 7. Wireless and Mobile Networks. Computer Networking: A Top Down Approach

Wireless Networks. CSE 3461: Introduction to Computer Networking Reading: , Kurose and Ross

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

CSC 4900 Computer Networks: Wireless Networks

Medium Access Control

Media Access Control (MAC) Sub-layer and Ethernet

Switching and bridging

Contention Protocols and Networks

Shared Access Networks Wireless. 1/27/14 CS mywireless 1

Wireless and WiFi. Daniel Zappala. CS 460 Computer Networking Brigham Young University

MULTIPLE ACCESS PROTOCOLS 2. 1

COS 140: Foundations of Computer Science

Lecture 4b. Local Area Networks and Bridges

Wireless and Mobile Networks Reading: Sections 2.8 and 4.2.5

Goals. Fundamentals of Network Media. More topics. Topics. Multiple access communication. Multiple access solutions

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008

EE-379 Embedded Systems and Applications Introduction to Ethernet

Lecture 5 The Data Link Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Zarządzanie sieciami telekomunikacyjnymi

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

WEEK 9 TCP/IP, PHYSICAL AND DATA LINK LAYERS

Data Link Layer -2- Network Access

Hamming Code. Gives a method for construc=ng a code with a distance of 3. Plus an easy way to correct [soon]

Chapter 9 Introduction to Networks

Direct Link Communication II: Wired Media. Multi-Access Communication

Announcements / Wireless Networks and Applications Lecture 9: Wireless LANs Wireless. Regular Ethernet CSMA/CD.

Chapter 4: The Medium Access Layer

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

Lecture 6 The Data Link Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

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

More on LANS. LAN Wiring, Interface

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

Medium Access Protocols

Introduction to Networks and the Internet

Medium Access Control Sublayer Chapter 4

Media and Access Method. Tory Klementsen, MCP A+ Sno Isle Skill Center Network+ Module 2

Network Media and Layer 1 Functionality

Data and Computer Communications. Chapter 11 Local Area Network

Local Area Networks (LANs) SMU CSE 5344 /

Last Lecture: Data Link Layer

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

Jaringan Komputer. Broadcast Network. Outline. MAC (Medium Access Control) Channel Allocation Problem. Dynamic Channel Allocation

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

Chapter 4 (Week 7) The Medium Access Control Sublayer ANDREW S. TANENBAUM COMPUTER NETWORKS FOURTH EDITION PP CN&DC Dr.

Objectives. Hexadecimal Numbering and Addressing. Ethernet / IEEE LAN Technology. Ethernet

CSCI 466 Midterm Networks Fall 2011

ECE 4450:427/527 - Computer Networks Spring 2017

Unit II. Part A (2 Marks)

A LAN is a high-speed data network that covers a relatively small geographic area. It typically connects workstations, personal computers, printers,

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

Today. Last Time. Motivation. CAN Bus. More about CAN. What is CAN?

Mohammad Hossein Manshaei 1393

Chapter 3.1 Acknowledgment:

Link Layer: Retransmissions

Chapter 6 Wireless and Mobile Networks. Chapter 6 outline. Chapter 6: Wireless and Mobile Networks. Elements of a wireless network.

CMPE 344 Computer Networks Spring Getting Connected. Reading: Peterson and Davie, 2.1,

Data Link Layer -2- Network Access

Bluetooth. 3.3 Latest Technology in Wireless Network. What is BLUETOOTH: Bluetooth 2/17/2016

128 CHAPTER 2 Getting connected 2.7 WIRELESS

Ethernet. Introduction. CSE 3213 Fall 2011

Data and Computer Communications

Data Communication & Networks G Session 5 - Main Theme Wireless Networks. Dr. Jean-Claude Franchitti

Topics Today. Lecture 8: Physical and Link Layers. Protocol Layering. Physical layer: chips versus bits. Physical Layer (Layer 1) Protocol Layering

Transcription:

Ethernet and WiFi h-p://xkcd.com/466/ CSCI 466: Networks Keith Vertanen Fall 2011

Overview Mul?ple access networks Ethernet Long history Dominant wired technology 802.11 Dominant wireless technology 2

Classic Ethernet Ethernet luminferous ether through which electromagne?c radia?on once thought to propagate Carrier Sense, Mul?ple Access with Collision Detec?on (CSMA/CD) IEEE 802.3 Robert Metcalfe, co- inventor of Ethernet 3

Ethernet Classic Ethernet Xerox Ethernet standardized as IEEE 802.3 in 1983 Xerox not interested in commercializing Metcalfe leaves and forms 3Com 4

Ethernet connec?vity Shared medium All hosts hear all traffic on cable Hosts tapped the cable 2500m maximum length May include repeaters amplifying signal 10 Mbps bandwidth 5

Classic Ethernet cabling Cable aser being "vampire" tapped. Thick Ethernet cable (yellow), 10BASE- 5 transceivers, cable tapping tool (orange), 500m maximum length. Thin Ethernet cable (10BASE2) with BNC T- connector, 185m maximum length. 6

Ethernet addressing Media Access Control address (MAC) 48- bit globally unique address 281,474,976,710,656 possible addresses Should last?ll 2100 e.g. 01:23:45:67:89:ab Address of all 1's is broadcast FF:FF:FF:FF:FF:FF 7

Frame format Ethernet frame format Manchester encoded Preamble products 10- Mhz square wave Allows clock synch between sender & receiver Pad to at least 64- bytes (collision detec?on) Ethernet 802.3 AlternaWng 0's and 1's (except SoF of 11) 48- bit MAC addresses 8

Ethernet receivers Hosts listens to medium Deliver to host: Any frame with host's MAC address All broadcast frames (all 1's) Mul?cast frames (if subscribed to) Or all frames if in promiscuous mode 9

MAC sublayer Media Access Control (MAC) sublayer Who goes next on a shared medium Ethernet hosts can sense if medium in use Algorithm for sending data: 1. Is medium idle? If not, wait. 2. Start transmi`ng data, listen for collision. 3. If collision detected, transmit 32- bit jamming sequence. Stop transmi`ng and go to backoff procedure. 10

Backoff procedure Binary exponen?al backoff First collision Wait 0-1?meslots (chosen at random) Second collision Wait 0-3?meslots In general, i th collision Wait a random number of?meslots between 0 and 2 i - 1 (max of 1023 slots) Give up aeer 16 or so retries Timeslot = 51.2 µs 11

Long single cable Switched Ethernet Hard to find breaks or loose connec?ons Different wiring pa-ern Each host wired straight to hub Hub simply connected all wires together Using exis?ng office twisted pair phone lines 12

Switched Ethernet Hubs Made network easier to manage But did not address capacity problem Switches High- speed backplane connec?ng all ports Only output frame to des?na?on port Isolates traffic, no collisions, be-er security 13

Fast Ethernet Fast Ethernet IEEE 802.3u Keep all the classic Ethernet frame formats, etc. Reduce the bit?me from 100 nsec to 10nsec 100 Mbps No more mul?drop cables or vampire taps 14

Gigabit Ethernet Gigabit Ethernet IEEE 802.3ab 1000 Mbps Unacknowledged datagram service Addi?on of flow control Unofficial support for jumbo frames Up to 9KB (instead of limit of 1500 bytes) 15

10- Gigabit Ethernet Even faster 1000x faster than original Ethernet Inside data centers, long haul trunks 40 and 100- Gigabit Ethernet Recently ra?fied and star?ng to be deployed 16

Ethernet retrospec?ve Why so popular? Easy to administer, no rou?ng or config tables Cheap hardware and wiring Plays nice with TCP/IP Ethernet and IP are connec?onless protocols Alternates like ATM were not Speed increased by order of magnitude periodically without throwing away exis?ng infrastructure Borrowed good ideas from other (failed) networking technologies (FDDI, Fiber Channel) 17

Wireless Shared medium using wireless Bit errors more prevalent than wired Limits on transmit power Ba-ery life, government regula?on Difficult to transmit and listen for collisions Undirected signal Interference Security 18

Wireless technologies Link length Data rate Uses RFID 10 m Very low Smart cards, pet implants, passports, library books Bluetooth 802.15.1 Wi- Fi 802.11 10 m 2 Mbps Link peripheral to computer (e.g. headset, mouse, keyboard). 100 m 11-600 Mbps Link computer to a wired base sta?on. 3G Cellular 10 km Hundreds of kbps (per connec?on) Link mobile device to wired tower. Wi- MAX 802.16 50 km 144 Mbps Last- mile broadband to home. Mobile broadband. 19

Wireless transmission Spread spectrum A way to share the medium Support varying numbers of users Support bursty traffic (e.g. web surfing) Frequency hopping Original military s a-empt to avoid jamming Pseudorandom sequence of frequencies Unlikely two transmi-ers using same sequence 20

Wireless transmission Spread spectrum Direct sequence Transmit same bit on n different frequencies Spread signal across n?mes wider frequency band XOR signal bit with n pseudorandom bits 21

Base sta?on topology Wireless topology Typically all clients talk to base sta?on No direct communica?on between clients 22

Wireless topology Ad hoc / mesh topology Nodes are peers No special base sta?on Advantages: More fault tolerant Extends range Disadvantages: Nodes are more complex Nodes may be asked to expend limited resources (e.g. power) One Laptop per Child, uses 802.11s mesh drae standard. 23

802.11 Wi- Fi Standard Released Max bit rate (shared) Frequency band Indoor range 802.11 1997 2 Mbps 2.4 GHz 20 m 802.11a 1999 54 Mbps 5 GHz 35 m 802.11b 1999 11 Mbps 2.4 GHz 38 m 802.11g 2003 54 Mbps 2.4 GHz 38 m 802.11n 2009 600 Mbps 2.4 GHz 5 GHz 70 m Operate in license exempt bands More absorp?on at high frequencies (5 GHz) All support lower bit rates Switch between modula?on techniques & error correc?on codes 802.11n, mul?ple antennas MIMO (Mul?ple Input Mul?ple Output) 24

Summary Wired Ethernet Long history and widely adopted Used in LANs, datacenters, etc. Order of magnitude bit rate increase every few years Careful a-en?on to backwards compa?bility 802.11 Wi- Fi Widely adopted short- range wireless technology Typically via fixed access point Also can be used ad hoc between clients 25