Ethernet Fundamentals Sem1 Module 6 – Part 2. Layer 2 framing.

Slides:



Advertisements
Similar presentations
Ethernet “dominant” LAN technology: cheap $20 for 100Mbs!
Advertisements

Ethernet Risanuri Hidayat. Ethernet The term Ethernet refers to the family of local-area network (LAN) products covered by the IEEE standard. Three.
The ALOHA Protocol “Free for all”: whenever station has a frame to send, it does so. –Station listens for maximum RTT for an ACK. –If no ACK after a specified.
Ethernet – CSMA/CD Review
Repeaters can Mix PHY Standards Repeater NIC BNC AUI Connectors RJ-45 UTPDrop Cables 10Base5 Trunk Cable 10Base2 10Base-T.
1 Version 3 Module 8 Ethernet Switching. 2 Version 3 Ethernet Switching Ethernet is a shared media –One node can transmit data at a time More nodes increases.
1 Version 3.0 Module 6 Ethernet Fundamentals. 2 Version 3.0 Why is Ethernet so Successful? In 1973, it could carry data at 3 Mbps Now, it can carry data.
CCNA 3 v3.1 Module 4.
CCNA 1 v3.1 Module 6 Review. 2 What 3 things happen on an Ethernet network after a collision occurs? A backoff algorithm is invoked and transmission is.
Chapter 6 Ethernet Fundamentals By: Steven P. Luse.
1 Version 3 Module 8 Ethernet Switching. 2 Version 3 Ethernet Switching Ethernet is a shared media –One node can transmit data at a time More nodes increases.
1 Computer Networks Local Area Networks. 2 A LAN is a network: –provides Connectivity of computers, mainframes, storage devices, etc. –spans limited geographical.
Ethernet: CSMA/CD (Carrier Sense Multiple Access with Collision Detection) Access method: method of controlling how network nodes access communications.
EE 4272Spring, 2003 Chapter 14 LAN Systems Ethernet (CSMA/CD)  ALOHA  Slotted ALOHA  CSMA  CSMA/CD Token Ring /FDDI Fiber Channel  Fiber Channel Protocol.
Ethernet By far, the dominant standard for guided media for the internet is Ethernet. How does it work?
ECE358: Computer Networks Spring 2012
Module 6 Chapter 5. Ethernet Ethernet is now the dominant LAN technology in the world. Ethernet is not one technology but a family of LAN technologies.
CISCO NETWORKING ACADEMY PROGRAM (CNAP) Ethernet Fundamentals
Ethernet.
Ethernet Fundamentals
Thin Ethernet (10B2 / IEEE 802.3a) Segment length 0.5 m Up to 30 attached nodes Cable flexible and cheap Integrated or external transceiver connected via.
Enhanced CSMA Additional improvement  Use CSMA access  Listen while transmitting  Stop immediately if collision sensed  Called collision detection.
Review: Medium Access Control Sublayer –What is the problem to be addressed in this sublayer? –Protocols that allow collision Pure ALOHA Slotted ALOHA.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 17.
CSC 311 IEEE STANDARD ETHERNET Common Bus topology Uses CSMA/CD Named after “ether”, the imaginary substance many once believed occupied all of space.
9/11/2015 5:55 AM1 Ethernet and CSMA/CD CSE 6590 Fall 2010.
Ethernet. Ethernet Goals Simplicity Low Cost Compatibility Address flexibility Fairness –All nodes have equal access to the network High speed Stability.
Ethernet Two nodes transmit at the same time
Ethernet, MAC podvrstva
Brierley 1 Module 4 Module 4 Introduction to LAN Switching.
1 Computer Communication & Networks Lecture 13 Datalink Layer: Local Area Network Waleed Ejaz
Ch. 16 High-Speed LANs The Emergence of High- Speed LANs Trends –Computing power of PCs has continued to grow. –MIS organizations recognize the.
Copyright Objectives: Chapter 3: Layer 2 Ethernet  Ethernet Fundamentals Ethernet Operations Carrier Sense Multiple Access/Collision.
Copyright CCNA 1 Chapter 5 Ethernet Fundamentals By Your Name.
1 Layer 2: Concepts Honolulu Community College Cisco Academy Training Center Semester 1 Version
Oct-03 ©Cisco Systems CCNA Semester 1 Version 3 Comp11 Mod6 – St. Lawrence College – Cornwall Campus, ON, Canada – Clark slide 1 Cisco Systems CCNA Version.
Ethernet Fundamentals. The success of Ethernet is due to the following factors: Simplicity and ease of maintenance Ability to incorporate new technologies.
1 Data Link Layer Lecture 22 Imran Ahmed University of Management & Technology.
CCNA 3 Week 4 Switching Concepts. Copyright © 2005 University of Bolton Introduction Lan design has moved away from using shared media, hubs and repeaters.
CCNA 1 v3.0 Module 6 Ethernet Fundamentals. Objectives.
Chapter 1 - Local Area Network Technologies. How IP Datagrams are Encapsulated IP datagrams are found at the OSI Network layer IP datagrams are sent to.
Ethernet Fundamentals CCNA Semester 1 Chapter 6 V. 3.0 Prepared by: Terren L. Bichard.
Cisco 3 - Switching Perrine. J Page 16/4/2016 Chapter 4 Switches The performance of shared-medium Ethernet is affected by several factors: data frame broadcast.
Semester 1 Module 6 Ethernet Fundamentals
1Ethernet Lecture # 12 Computer Communication & Networks.
Enterprise network 8.1:Introduction 8.2:LANs 8.3:Ethernet / IEEE :Token ring 8.5:Bridges.
Ethernet Overview it the IEEE standard for Ethernet.
Data Link Layer and Ethernet COM211 Communications and Networks CDA College Theodoros Christophides
EE 122: Lecture 6 Ion Stoica September 13, 2001 (* this talk is based in part on the on-line slides of J. Kurose & K. Rose)
CCNA3 Module 4 Brierley Module 4. CCNA3 Module 4 Brierley Topics LAN congestion and its effect on network performance Advantages of LAN segmentation in.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 6 Ethernet Fundamentals.
1 Ethernet CSE 3213 Fall February Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed.
Semester 1 v CCNA 1 Module 6: Ethernet Fundamentals.
+ Lecture#2: Ethernet Asma ALOsaimi. + Objectives In this chapter, you will learn to: Describe the operation of the Ethernet sublayers. Identify the major.
Lec # 23 Data communucation Muhammad Waseem Iqbal 1ethernet.
Ch. 16 Ethernet Traditional Ethernet IEEE Medium Access Control –Carrier Sense Multiple Access with Collision Detection (CSMA/CD) –The most.
ETHERNET Yash Vaidya. Introduction Ethernet is a family of computer networking technologies for local area networks (LANs). Ethernet was commercially.
Slide จาก St. Clair College in Windsor, อาจารย์ ดร. ชัชวิน นามมั่น Twitter :
1 Kyung Hee University Chapter 13 Wired LANs: Ethernet.
Introduction to Networks v6.0
Part 1 Ethernet Fundamentals
Chapter 12 Local Area Networks
Data Link Issues Relates to Lab 2.
Protocol layering and data
CCNA 1 Chapter 5 Ethernet Fundamentals
Chapter 12 Local Area Networks
Protocol layering and data
Chapter 12 Local Area Networks
Chaithra Ashwin Sanjana
LAN Addresses and ARP IP address: drives the packet to destination network LAN (or MAC or Physical) address: drives the packet to the destination node’s.
Presentation transcript:

Ethernet Fundamentals Sem1 Module 6 – Part 2

Layer 2 framing

Framing is the Layer 2 encapsulation process. A Frame is the Layer 2 protocol data unit (PDU). Generic Layer 2 framing Most frames have some specialized fields. In some technologies, a length field specifies the exact length of a frame in bytes. Some frames have a type field, which specifies the Layer 3 protocol making the sending request. Cyclic Redundancy Check (CRC) – performs calculations on the data. Two-dimensional parity – adds an 8th bit that makes an 8 bit sequence have an odd or even number of binary 1s. Internet checksum – adds the values of all of the data bits to arrive at a sum. Start of Frame Various technologies have different ways of doing this process, but all frames, have a beginning signaling sequence of bytes. All frames contain naming information, such as the name of the source node (MAC address) and the name of the destination node (MAC address). The Layer 3 Packet.

OctetsDescription 7Preamble 1Start Frame Delimiter (SFD) 6Destination MAC address 6Source MAC address 2 Length/Type Field (Length if values is less than 600 Hex frame), if greater than 600 hex it contains a number indicating protocol type – Ethernet II (DIX) ) 46 to 1500Data (if less than 46, then pad to end) 4Frame Check Sequence (CRC checksum) Layer 2 framing - IEEE version of Ethernet At the data link layer the frame structure is nearly identical for all speeds of Ethernet

If the two-octet value is equal to or greater than 0x600 (hexadecimal), then the frame is interpreted according to the Ethernet II type code indicated. If less than 0x600, the frame is an frame and the field contains a Length value (and no end of frame field is necessary). Layer 2 framing IEEE version of Ethernet

Layer 2 framing Ethernet II Frame Format (DIX) OctetsDescription 8Preamble (ending in pattern , the SFD) 6Destination MAC address 6Source MAC address 2Type Field 46 to 1500Data (if less than 46, then pad to end) 4 Frame Check Sequence (CRC checksum) 1 End of Frame Delimiter End Of Frame

Preamble: The Preamble is an alternating pattern of ones and zeroes used for timing synchronization in the asynchronous 10 Mbps and slower implementations of Ethernet. (7 Octets) Faster versions of Ethernet are synchronous, and this timing information is redundant but retained for compatibility

Slot Time Slot time defines the shortest transmission time for a packet for speeds of Ethernet at or below 1000 Mbps. Slot time for 10 and 100 Mbps Ethernet is 512 bit- times (64 octets). Slot time for 1000 Mbps Ethernet is 4096 bit-times 512 octets). Slot time is not defined for 10 Gbps Ethernet because it does not permit half-duplex operation.

Ethernet Errors: The following are the sources of Ethernet error: Collision or runt – Simultaneous transmission occurring before slot time has elapsed Late collision – Simultaneous transmission occurring after slot time has elapsed Jabber, long frame and range errors – Excessively or illegally long transmission (20,000-50,000 bit-times) Short frame, collision fragment or runt – Illegally short transmission FCS error – Corrupted transmission Alignment error – Insufficient or excessive number of bits transmitted Range error – Actual and reported number of octets in frame do not match Ghost or jabber – Unusually long Preamble or Jam event

Ethernet errors – Long Frame: A long frame is one that is longer than the maximum legal size, and takes into consideration whether or not the frame was tagged. It does not consider whether or not the frame had a valid FCS checksum. This error usually means that jabber was detected on the network. Jabber and Long Frames are both in excess of the maximum frame size. Jabber is significantly longer

Ethernet errors – Short Frame: A short frame is a frame smaller than the minimum legal size of 64 octets, with a good frame check sequence. Some protocol analyzers and network monitors call these frames “runts". In general the presence of short frames is not a guarantee that the network is failing. Short frames are properly formed in all but one aspect and have valid FCS checksums These frames are less than the minimum frame size (64 octets)

Frame Check Sequence (FCS): A received frame that has a bad Frame Check Sequence, also referred to as a checksum or CRC error, differs from the original transmission by at least one bit. In an FCS error frame the header information is probably correct, but the checksum calculated by the receiving station does not match the checksum appended to the end of the frame

1.After a collision occurs and all stations allow the cable to become idle (each waits the full interframe spacing). 2.The devices with data to transmit return to a listen-before-transmit mode. 3.The stations that collided invoke a back-off algorithm and stop transmitting data. 4.They must wait an additional and potentially progressively longer period of time before attempting to retransmit the collided frame. 5.The devices involved in the collision do not have priority to transmit data. 6.The waiting period is intentionally designed to be random so that two stations do not delay for the same amount of time before retransmitting, which would result in more collisions. 7.This is accomplished in part by expanding the interval from which the random retransmission time is selected on each retransmission attempt. 8.The waiting period is measured in increments of the parameter slot time. 9.If the MAC layer is unable to send the frame after sixteen attempts, it gives up and generates an error to the network layer. Error handling

1.When network contention becomes too great, collisions can become a significant impediment to useful network operation. 2.Collisions result in network bandwidth loss that is equal to the initial transmission and the collision jam signal. 3.This is consumption delay and affects all network nodes possibly causing significant reduction in network throughput. 4.The majority of collisions occur very early in the frame, often before the start Frame Delimiter (SFD). 5.Collisions occurring before the SFD are usually not reported to the higher layers, as if the collision did not occur. 6.As soon as a collision is detected, the sending stations transmit a 32-bit “jam” signal that will enforce the collision. 7.This is done so that any data being transmitted is thoroughly corrupted and all stations have a chance to detect the collision. Error handling

1.A jam signal may be composed of any binary data so long as it does not form a proper checksum for the portion of the frame already transmitted. 2.The most commonly observed data pattern for a jam signal is simply a repeating one, zero, one, zero pattern, the same as Preamble. 3.When viewed by a protocol analyzer this pattern appears as either a repeating hexadecimal 5 or A sequence. ( )( ) 4.The corrupted, partially transmitted messages are often referred to as collision fragments or runts. 5.Normal collisions are less than 64 octets in length and therefore fail both the minimum length test and the FCS checksum test. Error handling

Types of collisions To create a local collision on coax cable (10BASE2 and 10BASE5), the signal travels down the cable until it encounters a signal from the other station. The waveforms then overlap, canceling some parts of the signal out and reinforcing or doubling other parts. The signal amplitude on the networking media increases. On UTP cable, such as 10BASE-T, 100BASE-TX and 1000BASE- T, a collision is detected on the local segment only when a station detects a signal on the RX pair at the same time it is sending on the TX pair. Since the two signals are on different pairs there is no characteristic change in the signal. Collision starts.

Types of collisions A single collision is a collision that was detected while trying to transmit a frame, but on the next attempt the frame was transmitted successfully. Multiple collisions indicate that the same frame collided repeatedly before being successfully transmitted. There is no possibility remaining for a normal or legal collision after the first 64 octets of data has been transmitted. Most common.

FCS and beyond High numbers of FCS errors from a single station usually indicates a faulty NIC and/or faulty or corrupted software drivers, or a bad cable connecting that station to the network. If FCS errors are associated with many stations, they are generally traceable to bad cabling, a faulty version of the NIC driver, a faulty hub port, or induced noise in the cable system. Ghost (Invalid SFD, >72 octets) Frame Check Sequence or CRC Error Range Error (Actual # data octects don’t match) Alignment Error - Bits end off Octet Boundary

Link establishment and full and half duplex There are two duplex modes, half and full. For shared media, the half-duplex mode is mandatory. All coaxial implementations are half duplex in nature and cannot operate in full duplex. UTP and fiber implementations may be operated in half duplex. 10-Gbps implementations are specified for full duplex only.

Ethernet timing The electrical signal takes time to travel down the cable (delay), and each subsequent repeater introduces a small amount of latency (delay) in forwarding the frame from one port to the next. 10 Mb/s=1/10 sec/Mb=.1*10 -6 =100*10 -9 =100nanosecs As a rough estimate 203 cm (0.203m) per nanosecond is often used for calculating propagation delay down a UTP cable. For 100 meters of UTP, this means that it takes… 100/.203 nanosecs = 493 nanosecs = approx 500 nanosecs just under 5 bit-times for a 10BASE-T signal to travel the length the cable.

100 meters = 500 nanoseconds The minimum Frame size is 64 Bytes x 8 bits = 512 bit times = 51,250 nsecs(  about 10km) Slot Time Ethernet specifies… maximum segment length maximum number of stations per segment maximum number of repeaters between segments At 10 Mbps 1 bit = 100 nanoseconds Before bit 5 is transmitted 5 Bit 1 will arrive at the end 1

The End