RETI DI TELECOMUNICAZIONI



Similar documents
Based on Computer Networking, 4 th Edition by Kurose and Ross

Ethernet. Ethernet Frame Structure. Ethernet Frame Structure (more) Ethernet: uses CSMA/CD

Random Access Protocols

CSE331: Introduction to Networks and Security. Lecture 6 Fall 2006

Data Link Layer. Page 1. Ethernet

Local Area Networks transmission system private speedy and secure kilometres shared transmission medium hardware & software

EECS 122: Introduction to Computer Networks Multiaccess Protocols. ISO OSI Reference Model for Layers

Direct Link Networks. Introduction. Physical Properties. Lecture - Ethernet 1. Areas for Discussion. Ethernet (Section 2.6)

Unit of Learning # 2 The Physical Layer. Sergio Guíñez Molinos sguinez@utalca.cl

Network Categories. Network Types for the Local Range. Ethernet. Carrier Sense Multiple Access

Network Categories. Network Types for the Local Range. Ethernet

Local Area Networks. Guest Instructor Elaine Wong. Elaine_06_I-1

Ethernet, VLAN, Ethernet Carrier Grade

Industrial Networks & Databases. Protocols and Networks - Device Bus - - Field Bus -

CSE 123A Computer Networks

COMPUTER NETWORKS HANDOUTS LECTURERS # PREPARED BY: HAMMAD KHALID KHAN. Copyright Virtual University of Pakistan

Gigabit Ethernet: Architectural Design and Issues

Chapter 9A. Network Definition. The Uses of a Network. Network Basics

Fast Ethernet and Gigabit Ethernet. Networks: Fast Ethernet 1

Wired & Wireless LAN Connections

Fast Ethernet and Gigabit Ethernet. Computer Networks: Fast and Gigabit Ethernet

High Speed Ethernet. Dr. Sanjay P. Ahuja, Ph.D. Professor School of Computing, UNF

RTT 60.5 msec receiver window size: 32 KB

Network Design. Yiannos Mylonas

Introduction to Ethernet

EXAMPLES AND PROBLEMS. Competence Based Education Internet Protocols

Gigabit Ethernet. Abstract. 1. Introduction. 2. Benefits of Gigabit Ethernet

Data Link Protocols. TCP/IP Suite and OSI Reference Model

Network Topologies. Network Topologies

INTRODUCTION TO 100BASE-T: FAST (AND FASTER) ETHERNET

11/22/

Introduction to Computer

1 Which network type is a specifically designed configuration of computers and other devices located within a confined area? A Peer-to-peer network

LAN / WAN Technologies

Candidates should attempt FOUR questions. All questions carry 25 marks.

Gigabit Ethernet MAC. (1000 Mbps Ethernet MAC core with FIFO interface) PRODUCT BRIEF

LANs. Local Area Networks. via the Media Access Control (MAC) SubLayer. Networks: Local Area Networks

Local-Area Network -LAN

Fiber Distributed Data Interface

2. What is the maximum value of each octet in an IP address? A. 128 B. 255 C. 256 D. None of the above


Ring Local Area Network. Ring LANs

Controlled Random Access Methods

TCOM 370 NOTES LOCAL AREA NETWORKS AND THE ALOHA PROTOCOL

NETWORKING TECHNOLOGIES

WHITE PAPER December, 2001

DATA COMMUNICATIONS AND NETWORKING. Solved Examples

LAN Switching Computer Networking. Switched Network Advantages. Hubs (more) Hubs. Bridges/Switches, , PPP. Interconnecting LANs

Tema 11: Periféricos para Acceso a la Red. Periféricos e Interfaces

ESSENTIALS. Understanding Ethernet Switches and Routers. April 2011 VOLUME 3 ISSUE 1 A TECHNICAL SUPPLEMENT TO CONTROL NETWORK

Ethernet Passive Optical Networks EPON

Lesson 2-3: Ethernet Basics

Networks. The two main network types are: Peer networks

Cisco - Ethernet 100BaseTX and 10BaseT Cables: Guidelines and Specifications

Boca s Family of Ethernet Products

From Fieldbus to toreal Time Ethernet

Computer Network. Interconnected collection of autonomous computers that are able to exchange information

RFC 2544 Testing of Ethernet Services in Telecom Networks

Attenuation (amplitude of the wave loses strength thereby the signal power) Refraction Reflection Shadowing Scattering Diffraction

How To Analyze The Security On An Ipa Wireless Sensor Network

Network Performance: Networks must be fast. What are the essential network performance metrics: bandwidth and latency

Cabling LANs and WANs

Overview of Network Hardware and Software. CS158a Chris Pollett Jan 29, 2007.

IT4405 Computer Networks (Compulsory)

Data Link Protocols. Link Layer Services. Framing, Addressing, link access: Error Detection:

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

CSMA/CA. Information Networks p. 1

IT Data Communication and Networks (Optional)

Lecture 7 Multiple Access Protocols and Wireless

Cisco CCNA Study Guide

UNIVERSIDAD FRANCISCO DE PAULA SANTANDER DOMINIOS DE COLISION, SEGMENTACION Y VLAN. Academia Local. Ing. José Martín Calixto Cely

Chapter 4 Connecting to the Internet through an ISP

Networking 101 (Networking Basics) Presentation to UCHUG - 1/03/07 G. Skalka

Mathatma Gandhi University

Written examination in Computer Networks

How To Communicate With A Token Ring Network (Dihon)

CCNA R&S: Introduction to Networks. Chapter 5: Ethernet

Data Communication Networks

Network Design and Implementation

UPPER LAYER SWITCHING

Implementing Fast Ethernet

Cisco Network Performance Evaluation Using Packet Tracer

How To Understand The Network Protocol Of A Network (Netware) 2.5 (Networchestra) 2 (Netwire) 2) (Netrocessor) 2-Way (Networking) 2,5 (Network)

Frame Burst Adjusting for Transmitting Video Conference in Gigabit Ethernet

Computer Networks. Definition of LAN. Connection of Network. Key Points of LAN. Lecture 06 Connecting Networks

Post-Class Quiz: Telecommunication & Network Security Domain

Things You Must Know About Gigabit Ethernet 1. Understanding Gigabit Ethernet

Advanced features on Ethernet networks. Fulvio Risso Politecnico di Torino

Discussion Paper Category 6 vs Category 5e Cabling Systems and Implications for Voice over IP Networks

Introduction To Computer Networks

Gigabit Ethernet on Copper Cabling Infrastructures

Overview of Computer Networks

EC 301 COMPUTER NETWORKING FUNDAMENTALS

NETWORK TECHNOLOGIES AND APPLICATIONS Book: Internetworking Technologies Handbook 3. Edition, Cisco Press Inc Designing Wide Area Networks and

Chapter 8: Computer Networking. AIMS The aim of this chapter is to give a brief introduction to computer networking.

Communication Systems Internetworking (Bridges & Co)

TCP/IP Protocol Suite. Marshal Miller Chris Chase

Transcription:

Accademia Navale Armi Navali LAUREA in INGEGNERIA DELLE TELECOMUNICAZIONI RETI DI TELECOMUNICAZIONI Stefano Giordano Lezione n.18n Ethernet Gruppo di Ricerca in Reti di Telecomunicazioni Dipartimento di Ingegneria della Informazione: Elettronica, Informatica, Telecomunicazioni 1

Ethernet dominant LAN technology: cheap $5 for 100Mbs! first widely used LAN technology Simpler, cheaper than token LANs and ATM-LANs Kept up with speed race: 10, 100, 1000, 10000 Mbps Metcalfe s Ethernet sketch Connection-less, best-effort, unreliable service 2

Ethernet and IEEE 802.3 1976: ethernet developed by Xerox Palo Alto Research Center, including Bob Metcalfe (who later founded 3Com) 1980: 10Mbps ethernet specification by DEC, Intel, and Xerox 1985: becomes IEEE 802.3 standard (already widely used before this time) 1995: 100Mbps Fast Ethernet standardized in IEEE 802.3u (already widely used before this time) 1998: 1Gbps Gigabit Ethernet IEEE standard issued 1999: 10Gbps ethernet under development 2002: 10Gbps products available

3Com ATM 0.5% 1979 Altro 0.2% Ethernet 99.3% 1973 3C107 Bob Metcalfe Bob Metcalfe inventa Ethernet nel 1973 Bob Metcalfe fonda 3Com il 4 Giugno 1979 4

Products timetable 1972 Bob Metcalfe inventa Ethernet 3Com fondata nel 1979 3Com Mar 94 Small Business Solution OC nel 1996 NBX introdotto 1999 Wireless Set 99 330.000.000 Ethernet connection shipped 400.000 Telefoni spediti 3Com Switch 7700 core enterprise Secure Switch 6200 launched 1972 1982 1992 1996 1999 2000 2002 2003 Ethernet patented #4063220 13 Dec 1977 1 st Tran sceiver 1982 3Com Introduce SuperStack line 1995 Stackable GbE Embedded Firewall Security launched Network Jack introduced Joint venture announced Con Router 5000 launched 1 mo Stackable Ethernet Hub 1992 Shipped 1.000.000 th 10/100 Managed Switch VCX for enterprise VoIP solutions announced 5

La più diffusa rete locale al mondo Più del 99 % delle reti aziendali utilizzano la tecnologia Ethernet Ogni anno vengono vendute >100 milioni di schede Ethernet 6

Ethernet Media Types Coaxial Cable - Thick and Thin Unshielded Twisted Pair Optical Fiber 7

10Base5 Thick Coax 10 Mbit/s Trasmissione in Banda Base 500 metri max per segmento tap: drill a small hole in cable and insert, cable doesn t need to be cut, but must use care to avoid a short transceiver: send/receive, collision detection, electronics isolation AUI: Attachment Unit Interface, a 5-pair cable up to 50 meters long use: backbone networks, long cable segments maximum segment length = 500m maximum number of stations per segment = 100 0.5-inch Coax vampire tap RG-8 or RG-213 transceiver Repeater AUI cable distance between stations must be a multiple of 2.5 m maximum network distance between two stations = 2.5km NIC Terminator: 50Ω

Covered by CRC Ethernet Overview CSMA/CD carrier sense multiple access collision detection Manchester Encoding Frame Format Ethernet V. 2.0 or Ethernet II Type: Demux Key IP 0800x CRC: checked at receiver, if error is detected, the frame is simply dropped In bits 64 48 48 16 46 L 1500 byte 32 Preamble Dest addr Src addr Type Body CRC 9

Manchester Encoding 10

IEEE 802.3 Frame Format Demux Key IP 06x LLC PDU 8 8 8 or 16 Dest SAP Src SAP Control Payload 0-42B PAD 56 48 48 16 32 Preamble SFD Dest addr Src addr IEEE 802.3 Length Body 46 L 1500 byte CRC Preamble: Covered by CRC 7 bytes with pattern 10101010 followed by one byte with pattern 10101011 used to synchronize receiver, sender clock rates 11

Ethernet and 802.3 Frame Format Hardware or Physical or MAC Addresses Bytes: 7 1 6 6 2 46 to 1500 4 01010101... SOH dest addr src addr length data FCS 7sync bytes Source and destination addresses Data, padded to at least 46 B 32-bit CRC In Ethernet: 01010101 In IEEE 802.3: 01010111 Type field in Ethernet (Type > 1500). Length of data in IEEE 802.3 (Length at most 1500). Organizationally Unique Identifiers; standards.ieee.org/ regauth/oui/oui.txt usually written: broadcast: 6 byte ethernet addr 3Bytes vendor 3Bytes card no. 00:02:4b:c6:90:f1 ff:ff:ff:ff:ff:ff 1st bit: 0 = unicast address 1 = multicast (group) addr 2nd bit: 0 = globally unique addr 1 = locally assigned addr 2 46 =7x 10 13 global addresses 12

Framing Start of Frame End of Frame Preamble Dest addr Src addr Type Body CRC Preamble Dest addr Src addr Type Body CRC 10101011 Or 10101010 96 bits silence 9.6µsec at 10 Mbit/s Absence of signal (current) 13

10Base2 Thin Coax or CheaperNet tap: splice cable and attach BNC connectors, use T-connector to attach NIC No drop (AUI) cable use: for connecting workstations cheaper and easier to use than thick coax, but more signal attenuation, accidental opens 10 Mbit/s Trasmissione in Banda Base 185 200 metri max per segmento 0.25-inch coax (RG58) BNC T-connector NIC maximum segment length = 185m maximum number of stations per segment = 30 STUB minimum distance between two stations =0.5m maximum network distance between two stations = 925 m

10BaseT Twisted Pair uses 4-pair twisted pair cable (Category-3, -4, or -5) a hub functions as a repeater fewer cable problems, easier to troubleshoot than coax cable length at most 100 meters due to high attenuation (with good Category-5 cable you can go longer) most commonly used cable today maximum segment length = 100m hub

Twisted Pair Cabling Contact Signal 1 TD+ 2 TD- 3 RD+ 4 not used 5 not used 6 RD- 7 not used 8 not used 1 2. 8 16

Cable Categories Categories 1 and 2 low grade voice/data not suitable for LAN applications Category 3 Data transmission up to 10 Mbps Category 4 Data transmission up to 16 Mbps Category 5 Data transmission up to 100 Mbps Category 5e Full-duplex four-pair Fast Ethernet Category 6 250 Mbps Category 7 600 1200 MHz 17

Ethernet Topology 50 ohm terminator 10Base5 -Thick Ethernet repeater 10Base2 -Thin Ethernet 10Base5 -Thick Ethernet repeater hub 10BaseT-Twisted pair server AUI cables bus and star segment topologies multiple segments can be joined together

Ethernet 5-4-3 Rule Any two nodes on the network may be separated by up to: 5 segments 4 repeaters 3 collision segments Restriction: two thick coax segments may not be joined by a thin coax segment hub repeater 10Base2 -Thin Ethernet 10Base5 -Thick Ethernet servers

Transmit Algorithm If line is idle send immediately upper bound message size of 1500 bytes must wait 9.6µs between back-to-back frames If line is busy wait until idle and transmit immediately called 1-persistent (special case of p- persistent) 20

Back-off Algorithm If collision jam for 32 bits, then stop transmitting frame minimum frame is 64 bytes (header + 46 bytes of data) delay and try again 1st time: 0 or 51.2µs (51.2 µs [0 1]) 2nd time: 0, 51.2, 102.4 or 153.6µs (51.2 µs [0 3]) 3rd time 0, 51.2, 102.4, 153.6,..., 358.4 µs (51.2 µs [0 7])... nth time: k x 51.2µs, for uniformly selected k=0..2 n -1 Increase k for the first 10 tries; give up after 16 tries trunkated exponential binary back-off algorithm 21

Collision Detection Rules 1.Stations must listen to the cable while transmitting in order to detect a collision. 2.A frame must be at least 64 bytes (512 bits, 51.2 µsec) long to ensure sender hears a collision before he finishes. (The transmission time must be more than the RTT.) 3. If a collision is detected, send a 32 bit jamming signal and then wait before retransmitting. Jamming signal Jamming signal

Collision Detection: Worst case A begins to transmit at t=0 A A A A detects collision at t= 2 t prop -δ B B B It takes 2 t prop to find out if channel has been captured B begins to transmit at t= t prop -δ; B detects collision at t= t prop 23

Worst Case Collision Timing 500 meters 2,500 meters Assume delay for repeater is 1 µsec; for transceiver 0.5 µsec. Component Propagation Time Microsecs Five 500 meter segments 2500m/0.77c 10.8 Four repeaters 4 x 1 µsec 4.0 Nine 50 meter AUI cables 450m/0.65c 2.3 Ten transceivers 10 x 0.5 µsec 5.0 Total one-way time 22.1 24

Worst Case Collision Timing 500 meters 44.2 microsecond RTT Under these assumptions, the round trip time would be 44.2 microseconds. Allowing some tolerance for equipment, IEEE chose 51.2 microseconds, equal to 512 bit-times, as the collision detection interval. This is why all frames must be at least 512 bits (64 bytes) long. 25