Copyright 2011-2012 Kenneth M. Chipps Ph.D. www.chipps.com Ethernet Frame Format Last Update 2012.08.10 1.3.0 1.

Slides:



Advertisements
Similar presentations
PPPoE Last Update Copyright Kenneth M. Chipps Ph.D. 1.
Advertisements

Ethernet Risanuri Hidayat. Ethernet The term Ethernet refers to the family of local-area network (LAN) products covered by the IEEE standard. Three.
Repeaters can Mix PHY Standards Repeater NIC BNC AUI Connectors RJ-45 UTPDrop Cables 10Base5 Trunk Cable 10Base2 10Base-T.
Copyright Kenneth M. Chipps Ph.D. Ethernet Last Update
1 Data Link Protocols Relates to Lab 2. This module covers data link layer issues, such as local area networks (LANs) and point-to-point links, Ethernet,
Understanding IPv6 Slide: 1 Appendix A Link-Layer Support for IPv6.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 1 Local Area Network (LAN) Technologies.
DCN286 INTRODUCTION TO DATA COMMUNICATION TECHNOLOGY Ethernet Fundamentals.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 5: Ethernet Introduction to Networks.
CompTIA Network+ Chapter 2
ATM Frame Last Update Copyright 2011 Kenneth M. Chipps Ph.D. 1.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—1-1 Building a Simple Network Understanding Ethernet.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Ethernet, ARP.
The OSI and TCP/IP Models Last Update Copyright 2009 Kenneth M. Chipps Ph.D.
VLAN Trunking Protocol (VTP) W.lilakiatsakun. VLAN Management Challenge (1) It is not difficult to add new VLAN for a small network.
Copyright Kenneth M. Chipps Ph.D. Data Link Layer Last Update
Chapter 1-3 The Ethernet LAN. Ethernet The networking protocol used in most modern computer networks is Ethernet. Ethernet is a CSMA/CD LAN protocol.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 5: Ethernet Introduction to Networks.
Ethernet, MAC podvrstva
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
Wired LANs: Ethernet In Chapter 1, we learned that a local area network (LAN) is a computer network that is designed for a limited geographic area such.
Copyright Kenneth M. Chipps Ph.D. PPP Last Update
Chapter 7 Low-Level Protocols
Network Layer Last Update Copyright Kenneth M. Chipps Ph.D.
資 管 Lee Appendix A1 Link-Layer Support for IPv6. 資 管 Lee Lesson Objectives Basic structure of IPv6 packets LAN media WAN media IPv6 over IPv4.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 5: Ethernet Introduction to Networks.
Copyright CCNA 1 Chapter 5 Ethernet Fundamentals By Your Name.
1 Layer 2: Concepts Honolulu Community College Cisco Academy Training Center Semester 1 Version
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Ethernet & IEEE Cisco Section 7.3 Stephanie Hutter October 2000.
Ethernet Fundamentals. The success of Ethernet is due to the following factors: Simplicity and ease of maintenance Ability to incorporate new technologies.
Local Area Networks: Ethernet. IEEE Background Institution of Electrical and Electronic Engineering (IEEE) A professional non-profit organization Project.
The Routing Table Last Update Copyright Kenneth M. Chipps Ph.D.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Ethernet Network Fundamentals – Chapter 9.
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.
Enterprise network 8.1:Introduction 8.2:LANs 8.3:Ethernet / IEEE :Token ring 8.5:Bridges.
MPLS Label Last Update Copyright 2011 Kenneth M. Chipps Ph.D. 1.
Ethernet Standards IEEE802.3
Copyright 2002Cisco Press: CCNA Instructor’s Manual Year 2 - Chapter 16/Cisco 4 - Module 9 CCNA Certification Exam Review By Your Name.
Ethernet Overview it the IEEE standard for Ethernet.
VLANs Last Update Copyright Kenneth M. Chipps Ph.D.
Chapter 7 OSI Data Link Layer.
Lecture Focus: Data Communications and Networking  Data Link Layer  MAC Frame Format Lecture 25 CSCS 311.
Introduction to Ethernet In 1985, the Institute of Electrical and Electronics Engineers (IEEE) published standards for LANs. These standards start with.
+ Lecture#2: Ethernet Asma ALOsaimi. + Objectives In this chapter, you will learn to: Describe the operation of the Ethernet sublayers. Identify the major.
Introduction to Communication Lecture (10) 1. 2 Wired LANs: Ethernet IEEE Project 802 defines the LLC and MAC sublayers for all LANs including Ethernet.
Data Link Protocols Relates to Lab 2.
Packet Over SONET Last Update Copyright Kenneth M. Chipps Ph.D. 1.
Data Communication Networks Lec 18. Wired LAN:Ethernet Datalink layer – Logical link control(LLC) – MAC Physical layer.
ETHERNET Yash Vaidya. Introduction Ethernet is a family of computer networking technologies for local area networks (LANs). Ethernet was commercially.
1 Kyung Hee University Chapter 13 Wired LANs: Ethernet.
Introduction to Networks v6.0
Instructor Materials Chapter 5: Ethernet
Part III Datalink Layer.
Ethernet Frame Structure
Ct1403 Lecture#2: DATA LINK LAYER
Ethernet and Token Ring LAN Networks
Ethernet : Framing and Addressing
Chapter 10: Ethernet Network Basics Chapter 10: Ethernet
Ethernet and Token Ring LAN Networks
Chapter 12 Local Area Networks
Protocol layering and data
CCNA 1 Chapter 5 Ethernet Fundamentals
Part III Datalink Layer.
Chapter 12 Local Area Networks
Protocol layering and data
Chapter 12 Local Area Networks
Chaithra Ashwin Sanjana
Ethernet and Token Ring LAN Networks
Chapter 13 Wired LANs: Ethernet
Presentation transcript:

Copyright Kenneth M. Chipps Ph.D. Ethernet Frame Format Last Update

Copyright Kenneth M. Chipps Ph.D. 2 Ethernet Frame Format Ethernet is used in LANs, CANs, MANs, and now WANs It is the most common frame in LANs and CANs In MANs and WANs it shares space with HDLC, PPP, ATM, Frame Relay, and MPLS frames

Ethernet Frame Format What makes Carrier Ethernet service so attractive, besides the high-speeds and lower costs, if the ability to just take the standard Ethernet II frame off the LAN and send it onto the WAN link No translation is required Copyright Kenneth M. Chipps Ph.D. 3

Ethernet Frame Types There are two types of Ethernet frames seen on local area networks –Ethernet II –Ethernet SNAP Let’s see what each one of these looks like Copyright Kenneth M. Chipps Ph.D. 4

5 Ethernet II Frame Format

Copyright Kenneth M. Chipps Ph.D. 6 Ethernet II Frame Format FieldBytes Preamble8 Destination Address6 Source Address6 Type2 Data Frame Check Sequence4

Copyright Kenneth M. Chipps Ph.D. 7 Ethernet II Frame Format Preamble –This is a sequence of 7 bytes or 56 bits of alternating ones and zeros –It is used for synchronization –It gives components time to detect the signal, and be ready before the frame arrives –It was set at this length because it took equipment used to take this long to sync up –A preamble is not required for speeds above 10 Mbps

Copyright Kenneth M. Chipps Ph.D. 8 Ethernet II Frame Format As just stated the preamble is not needed at speeds above 10 Mbps, which would be the case on a WAN circuit Never the less, let’s look at it just to be complete SFD - Start Frame Delimiter –Also part of the preamble is a sequence of 1 byte or 8 bits having the bit configuration that indicates the start of the frame

Ethernet II Frame Format Note the similarity of the bit pattern between the Preamble and the SFD The only difference is that the last two bits of the SFD are both 1’s Many people do not separate the Preamble and Start Frame Delimiter Copyright Kenneth M. Chipps Ph.D. 9

10 Ethernet II Frame Format They consider it to all be the preamble Because it takes a station an unknowable amount of time to lock on, it does not know how many bits of the Preamble have gone by For this reason, it is said that the Preamble is lost in the synching up process

Copyright Kenneth M. Chipps Ph.D Ethernet II Frame Format As such no part of the Preamble ever enters the NIC’s buffer This is why the size of the Preamble/SFD is excluded when the minimum and maximum Ethernet frame sizes are discussed

Copyright Kenneth M. Chipps Ph.D Ethernet II Frame Format Destination Address –This is the MAC address of the station the message is for –This address may specify either an individual address destined for a single station, a multicast address destined for a group of stations, or an address of all 1s bits that refers to all stations on the LAN and is called a broadcast address

Copyright Kenneth M. Chipps Ph.D Ethernet II Frame Format Source Address –This is the MAC address of the sending station Type –The Type or EtherType code, in hexadecimal, indicates the protocol type that the frame is destined for at the network layer, such as 0800 for TCP/IP 8137 for IPX

Copyright Kenneth M. Chipps Ph.D Ethernet II Frame Format Data –This is the important stuff and has a maximum size of 1500 bytes –If the size is less than 46 bytes, then bytes are placed in the Pad field to bring the frame length up to at least 64 bytes –What goes into this data area is the original message and the headers placed in front of that message at each of those layers

Copyright Kenneth M. Chipps Ph.D Ethernet II Frame Format CRC - Frame Check Sequence –This is used for error checking –When the source station assembles a MAC frame, it performs a CRC calculation on all the bits in the frame from the Destination MAC Address through the Pad fields –The source station stores the value in this field and transmits it as part of the frame –When the frame is received by the destination station, it performs an identical check

Copyright Kenneth M. Chipps Ph.D Ethernet II Frame Format –If the calculated value does not match the value in this field, the destination station assumes an error has occurred during transmission and discards the frame

Ethernet SNAP Frame The other type of frame commonly seen on an Ethernet based local area network is a SNAP or Subnetwork Access Protocol frame The SNAP frame allows EtherType codes to be used with all IEEE 802 protocols, as well as supporting proprietary protocols Copyright Kenneth M. Chipps Ph.D. 17

Ethernet SNAP Frame We will focus on the differences between this frame type and the Ethernet II frame type The SFD, preamble, data, and trailer are the same in the SNAP frame Here is a nice graphic of the SNAP frame format from Cisco Copyright Kenneth M. Chipps Ph.D. 18

Ethernet SNAP Frame Copyright Kenneth M. Chipps Ph.D. 19

Ethernet SNAP Frame The Ethernet SNAP frame header is commonly divided into three sublayers as seen above MAC LLC SNAP Let’s look at an actual Ethernet SNAP frame, and then at each of these sublayers in more detail Copyright Kenneth M. Chipps Ph.D. 20

Ethernet SNAP Frame Copyright Kenneth M. Chipps Ph.D. 21

802.3 MAC Sublayer The MAC sublayer contains the layer 2 address fields Copyright Kenneth M. Chipps Ph.D. 22

802.3 MAC Sublayer Copyright Kenneth M. Chipps Ph.D. 23

802.3 MAC Sublayer The destination address is in this example C-CC-CC-CC is a multicast address that is flooded out to all devices on the network Cisco uses this address for proprietary protocols such as CDP, VTP, and so on The source here is the MAC address of a Cisco 2950 switch Copyright Kenneth M. Chipps Ph.D. 24

802.3 MAC Sublayer The length filed shows the amount of data in the frame In this case 34 bytes Copyright Kenneth M. Chipps Ph.D. 25

802.2 LLC Sublayer The next sublayer is the LLC – Logical Length Control section It contains the following main fields –DSAP –SSAP –Control Copyright Kenneth M. Chipps Ph.D. 26

802.2 LLC Sublayer Wireshark shows this sublayer and the SNAP sublayer as one section The LLC sublayer is outlined in the example below Copyright Kenneth M. Chipps Ph.D. 27

802.2 LLC Sublayer Copyright Kenneth M. Chipps Ph.D. 28

802.2 LLC Sublayer Let’s see what the IEEE says about the two SAP fields in a tutorial they published on this –The LLC sublayer contains addressing information –The Destination Service Access Point (DSAP) address field, and the Source Service Access Point (SSAP) address field –Each of these is an 8-bit field and each is made up of two components Copyright Kenneth M. Chipps Ph.D. 29

802.2 LLC Sublayer –In the DSAP address field, the components are an address type designation bit, and seven bits of actual address –When the address type designation bit is set to 0, it denotes that the actual address is an individual address –When the address type designation bit is set to 1, it denotes that the DSAP actual address is a group address Copyright Kenneth M. Chipps Ph.D. 30

802.2 LLC Sublayer –In the SSAP address field, the components are the command or response identifier bit, and seven bits of actual address –The actual address in the SSAP field is always an individual address –In the general case, an individual actual address identifies a protocol, or set of protocols, in the next higher layer Copyright Kenneth M. Chipps Ph.D. 31

802.2 LLC Sublayer –In OSI environments, the next higher layer is the network layer –In non-OSI environments, the next higher layer is dependent on the architecture in use Copyright Kenneth M. Chipps Ph.D. 32

802.2 LLC Sublayer Here is what Cisco says in part about the Control field –The control field contains command, response, and sequence number information –There are three types of frames I Frames Supervisory Frames Unnumbered Frames Copyright Kenneth M. Chipps Ph.D. 33

802.2 LLC Sublayer –Although each type has a different format for the control field, you can easily distinguish them through an examination of two bits in the control field X-X-X-X-X-X-X-0 = I Frame X-X-X-X-X-X-0-1 = Supervisory Frame X-X-X-X-X-X-1-1 = Unnumbered frame Copyright Kenneth M. Chipps Ph.D. 34

802.2 SNAP Sublayer The last sublayer is the SNAP sublayer It looks like this in Wireshark Copyright Kenneth M. Chipps Ph.D. 35

802.2 SNAP Sublayer Copyright Kenneth M. Chipps Ph.D. 36

802.2 SNAP Sublayer This sublayer has two fields The OUI field tells use who is responsible for the protocol that will follow The PID or type field indicates what protocol that is In this case it says the Cisco DTP is next As we can see here sure enough it is Copyright Kenneth M. Chipps Ph.D. 37

802.2 SNAP Sublayer Copyright Kenneth M. Chipps Ph.D. 38

Ethernet SNAP Frame This then is the structure and function of the second type of frame seen on an Ethernet based local area network The frames do the work of the Data Link Layer Copyright Kenneth M. Chipps Ph.D. 39

Ethernet Capture File Let’s look at a typical Ethernet II frame Download this file –http.cap Open it in Wireshark by double-clicking on it Select frame 4 Expand the Ethernet layer Copyright Kenneth M. Chipps Ph.D. 40

Ethernet Capture File Copyright Kenneth M. Chipps Ph.D. 41

Ethernet Capture File Here we see the source and destination MAC address Then the EtherType code for IP A typical Ethernet II frame Copyright Kenneth M. Chipps Ph.D. 42

Carrier Ethernet Frame Format In some cases an additional field may be added by either the service provider or the customer in order to identify a specific virtual circuit If it is a added by the service provider then the field is called a S-Tag If added by the customer, it is called a C- Tag Copyright Kenneth M. Chipps Ph.D. 43

Carrier Ethernet Frame Format Here are the fields as illustrated in a white paper from the MEF Copyright Kenneth M. Chipps Ph.D. 44

Carrier Ethernet Frame Format Copyright Kenneth M. Chipps Ph.D. 45

Carrier Ethernet Configuration Here is an example of a typical basic configuration for a Carrier Ethernet connection using a Gigabit or 10Gigabit Ethernet card in a router A router, rather than a switch, is the best device to use to connect to the carrier This example is for a ASR 9000 Carrier Ethernet router Copyright Kenneth M. Chipps Ph.D. 46

Carrier Ethernet Configuration Required configuration lines –configure terminal –interface gigabitethernet 0/1/0/0 –ipv4 address –no shutdown Optional configuration lines –flow-control ingress –mtu 1514 –negotiation auto Copyright Kenneth M. Chipps Ph.D. 47

Lab Let’s look at some Ethernet II frames as seen on LANs Start Wireshark Capture some traffic Then we will examine a few of the interesting frames Copyright Kenneth M. Chipps Ph.D. 48