Introduction to Ethernet. Guy Hutchison 8/30/2006

Similar documents
Layer 2 functionality bridging and switching

Introduction to Ethernet and lab3.3

Clause BASE-X Physical Coding Sublayer (PCS) UNIVERSITY of NEW HAMPSHIRE INTEROPERABILITY LABORATORY

Chapter 15 Local Area Network Overview

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

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

Summary of MAC protocols

Part3. Local Area Networks (LAN)

Chapter 4 Configuring Switching

EE 122: Ethernet and

ET4254 Communications and Networking 1

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space provided.

Packet Switching on L2 (LAN Level)

Tri-Speed Ethernet MAC IP User Guide

2. LAN Topologies Gilbert Ndjatou Page 1

IEEE 802 LANs SECTION C

Transparent Bridging and VLAN

Medium Access Protocols

Arhitecturi și Protocoale de Comunicații (APC) Rețele locale (I)

Spanning Tree Protocol(STP)

IEEE standards for local area networks

Canova Tech The Art of Silicon Sculpting

DP83848 Single 10/100 Mb/s Ethernet Transceiver Reduced Media Independent Interface (RMII ) Mode

University of New Hampshire InterOperability Laboratory Gigabit Ethernet Consortium

Networking Technologies and Applications

LANs and ARP. Networking. Sirindhorn International Institute of Technology Thammasat University. Networking. LANs and ARP.

Chapter 6 Connecting Device

Ethernet Hub. Campus Network Design. Hubs. Sending and receiving Ethernet frames via a hub

- Hubs vs. Switches vs. Routers -

M242 COMPUTER NETWORS AND SECURITY

The Link Layer and LANs: Ethernet and Swiches

Lecture 9: Switched Ethernet Features: STP and VLANs

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008

Local Area Network Overview

Switched Ethernet Virtual LANs

Ethernet. ITS323: Introduction to Data Communications CSS331: Fundamentals of Data Communications

Ethernet. Contents. ITS323: Introduction to Data Communications CSS331: Fundamentals of Data Communications. IEEE 802 LANs.

Internetworking is connecting two or more computer networks with some sort of routing device to exchange traffic back and forth, and guide traffic on

CS 43: Computer Networks Switches and LANs. Kevin Webb Swarthmore College December 5, 2017

Canova Tech. IEEE Plenary Meeting, San Diego (CA) cg draft 2.0 PLCA (Clause 148) Overview July 9 th, 2018

PHY-Less Ethernet Implementation Using Freescale Power Architecture Based Microprocessors

Goal and Outline. Computer Networking. What Do We Need? Today s Story Lecture 3: Packet Switched Networks Peter Steenkiste

Internetworking Concepts Overview. 2000, Cisco Systems, Inc. 2-1

Ethernet. Network Fundamentals Chapter Cisco Systems, Inc. All rights reserved. Cisco Public 1

Local Area Networks. Ethernet LAN

1: Review Of Semester Provide an overview of encapsulation.

8 PORT LOW COST 10/100 SWITCH

LAN PROTOCOLS. Beulah A AP/CSE

Data Link Layer. Our goals: understand principles behind data link layer services: instantiation and implementation of various link layer technologies

EECS 122, Lecture 7. Kevin Fall Jean Walrand

CCENT Study Guide. Chapter 2 Ethernet Networking and Data Encapsulation

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

Lecture 9 The Data Link Layer part II. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

ECE 4450:427/527 - Computer Networks Spring 2017

Link Layer and Ethernet

Packet Switching on L2 (LAN Level)

What LinkSec Should Know About Bridges Norman Finn

Configuring STP and RSTP

Redes de Computadores. Medium Access Control

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

Interface The exit interface a packet will take when destined for a specific network.

Test Bank for A Guide to Designing and Implementing Local And Wide Area Networks 2nd Edition by Palmer and Sinclair

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

Data Link Layer, Part 5. Medium Access Control

Chapter 11 in Stallings 10 th Edition

Internet Architecture and Protocol

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

Chapter 5: STP. * What is STP? How does STP work?

ISO/OSI Model and Collision Domain NETWORK INFRASTRUCTURES NETKIT - LECTURE 1 MANUEL CAMPO, MARCO SPAZIANI

Cisco Cisco Certified Network Associate (CCNA)

The random access methods we study in this chapter have evolved from a very interesting protocol known as ALOHA, which used a very simple procedure

Chapter 9. Ethernet. Part II

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

Computer Networks Principles LAN - Ethernet

Question No : 1 Which three of these statements regarding 802.1Q trunking are correct? (Choose three.)

CCNA Exploration1 Chapter 7: OSI Data Link Layer

CS 3516: Advanced Computer Networks

Configuring STP. Understanding Spanning-Tree Features CHAPTER

Introduction to Networks and the Internet

10/100M Ethernet-FIFO convertor

ECE 333: Introduction to Communication Networks Fall Lecture 19: Medium Access Control VII

Link Layer and Ethernet

Module 5. Broadcast Communication Networks. Version 2 CSE IIT, Kharagpur

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 18

Lecture Outline. Lecture 2. OSI model and networking. The OSI model and networking. The OSI model and networking. The OSI model and networking

Lecture 4b. Local Area Networks and Bridges

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

Chapter. Managed Switch Software Monitoring. In This Chapter...

Chapter 6: DataLink Layer - Ethernet Olivier Bonaventure (2010)

Network Infrastructure

Configuring Transparent Bridging

MAC-PHY Rate Adaptation Baseline. Arthur Marris

3. INTERCONNECTING NETWORKS WITH SWITCHES. THE SPANNING TREE PROTOCOL (STP)

Configuring Spanning Tree Protocol

CCNA 3 (v v6.0) Chapter 3 Exam Answers % Full

Chapter 5: The Data Link Layer. Chapter 5 Link Layer and LANs. Ethernet. Link Layer. Star topology. Ethernet Frame Structure.

Chapter 16: Switched Ethernet in Automation. Wenbo Qiao

Chapter Seven. Local Area Networks: Part 1. Data Communications and Computer Networks: A Business User s Approach Seventh Edition

King Fahd University of Petroleum & Minerals Electrical Engineering Department EE 400, Experiment # 2

Cisco EXAM CCNA Cisco Certified Network Associate. Buy Full Product.

Transcription:

Introduction to Ethernet Guy Hutchison 8/30/2006

What is Ethernet? Local area transport protocol Layer 2 of the OSI stack Zero/minimal configuration Low-cost, high performance Best-effort delivery

Original Shared Wire TAP TAP TAP TAP TAP

History of Ethernet Important to understand historical configuration to know how modern ethernet works Modern bridges are still required to act as if all traffic was sent over a single shared wire Original configuration was a shared wire All communication is half-duplex Need some form of arbitration Early competitor was TokenRing

Collision Detection Collision detected, both machines stop transmitting Second machine xmit when line is clear One machine starts transmitting Packet 1 Packet 2 Packet 2 Packet 1 Each machine waits for random amount of time (random backoff) Both machines transmit at approx. same time TIME

Collision Detection Ethernet wire arbitration is by collision detection Listen to see if line is clear Wait X amount of time after last transmitter is heard Start transmitting Use electrical detection to determine if another station transmitting at same time If collision is detected, wait semi-random amount of time and transmit packet again End stations keep trying until they succeed

Addressing Original ethernet is inherently broadcast All stations receive all traffic Stations use addressing to separate out their own traffic Traffic for other stations is discarded Each device has a unique 48-bit MAC address assigned by manufacturer IEEE hands out blocks of addresses so that MAC addresses are globally unique Some special unique addresses exist Broadcast address is all 1 s Multicast address is MAC DA bit 40 equal to 1

Packet Format Simple packet format Contains destination address and source address Destination address may be broadcast/multicast address Source address is always address of sender Minimum packet size is 64 bytes Max size is 1518 bytes, but longer packets are possible (jumbo frames) MAC DA (6 bytes) MAC SA (6 bytes) Ethertype (2 bytes) Payload (1-1500 bytes) CRC (4 bytes)

Ethernet Today Modern network topologies bear little resemblance to original ethernet Half-duplex operation nearly dead Networks are now bridged and/or routed However, original semantics are retained: Zero configuration by end stations An endstation can broadcast to all other stations

Hub Network

First Generation - Hubs Ethernet networks move from original 1 Mb networks over coaxial wire to 10 Mb networks running over twisted-pair wire Topology goes from ring to hub-and-spoke Device at the center is called a hub Original hubs are analog devices which broadcast received signals to all receivers All ports must run at the same speed Hubs become more complex over time Logically network still looks like a wire all stations receive every packet

Bridged Network

Switching Hubs New device, called switching hub, evolves from hubs Sometimes called a switch, although term is ambiguous Fully buffers packets Operates full duplex (can receive and transmit at same time) Remembers addresses and sends traffic only to those ports No configuration (usually) Different ports can run at different speeds Limitations No loops are allowed in topology No redundancy Ports can be oversubscribed No priority in packets which are dropped

Bridges Bridges evolve from switching hubs Smart devices capable of being configured IEEE 802.1D specifies operation of bridges Can have loops in topology, allowing for redundancy Protocol detects loop ports and cuts off links Inter-bridge packets are called BPDUs (Bridge Protocol Data Units) Protocol called spanning tree (STP) Newer version is Rapid Spanning Tree (RSTP)

Spanning Tree Operation B2 B1 B4 B3

Spanning Tree Operation Tree Root Chosen B2 B1 B4 B3 Redundant Links Disabled for non-bpdu packets

Summary Bridged networks still obey semantics of original Ethernet Connections between two bridged networks must be done by a router, at layer 3 Complex devices may combine bridging and routing in one box, but operations are logically distinct

Protocol - GMII Guy Hutchison 01/22/2010

Introduction Ethernet MACs use a variety of electrical protocols to communicate with PHY devices 1G MACs commonly use GMII interface GMII stands for Gigabit Media-Independent Interface Full details available in IEEE 802.3 specification

GMII Signals GMII provides source-synchronous clocking 10 control signals + 1 clock in each direction, 22 signals total TX: TX_CLK, TX_EN, TX_ER, TXD[7:0] RX: RX_CLK, RX_DV, RX_ER, RXD[7:0] GMII Sends one byte per clock, TX_EN and RX_DV encapsulate the packet

Preamble Ethernet sends a preamble for all packets Originally used to synchronize the receiver s PLL prior to arrival of packet data Consists of 7 bytes of 0x55 followed by one byte of 0xD5 0xD5 byte is called Start of Frame Delimiter (SFD)

GMII Waveform The above waveform shows a sample packet reception. RX_DV is asserted for the entire time the packet is transmitted, and the low to high transition on RX_DV indicates start of transmission. The preamble of 7 x 55 followed by D5 is visible, and the first byte of the DA immediately follows (DA=0000_00000001 for this packet). Note that this packet is an illegally short packet (24 bytes) so that it fits on the screen.