25
Ethernet : Framing and Addressing

Ethernet : Framing and Addressing

  • Upload
    stash

  • View
    30

  • Download
    0

Embed Size (px)

DESCRIPTION

Ethernet : Framing and Addressing. 802.2. 802.2 frame 802.3 Ethernet frame cannot by itself identify the upper-layer (Network) protocol The IEEE defined the 802.2 LLC (Logical Link Control) specifications to provide this function and more. - PowerPoint PPT Presentation

Citation preview

Page 1: Ethernet :  Framing and Addressing

Ethernet : Framing and Addressing

Page 2: Ethernet :  Framing and Addressing

802.2

802.2 frame 802.3 Ethernet frame cannot by itself

identify the upper-layer (Network) protocol The IEEE defined the 802.2 LLC (Logical

Link Control) specifications to provide this function and more.

An 802.2 frame is an 802.3 frame with the LLC information in the data field of the header so we know what the upper-layer protocol is.

Page 3: Ethernet :  Framing and Addressing

SNAP

SNAP (SubNetwork Access Protocol) frame The SNAP frame has its own protocol field to

identify the upper-layer protocol This is really a way to allow an Ethernet_II

Ether-Type field to be used in an 802.3 frame SNAP frame can be identified easily because

the DSAP and SSAP fields are always AA, and the Command field is always 3.

Page 4: Ethernet :  Framing and Addressing

Ethernet Layer 2: Framing and Addressing

Page 5: Ethernet :  Framing and Addressing

Ethernet Layer 2: Framing and Addressing

Page 6: Ethernet :  Framing and Addressing

Ethernet Layer 2: Framing and Addressing

Page 7: Ethernet :  Framing and Addressing

MAC Address

Page 8: Ethernet :  Framing and Addressing

Types of Ethernet Addresses

Ethernet addresses, also frequently called MAC addresses, are 6 bytes in length, typically listed in hexadecimal form

There are three main types of Ethernet address

Page 9: Ethernet :  Framing and Addressing

LAN Transmission Methods Unicast Process

Unicast Process•The source addresses the packet with the destination address•The packet is sent into the network•The destination receives the packet

Page 10: Ethernet :  Framing and Addressing

LAN Transmission MethodsMulticast Process

Multicast Process•The source addresses the packet using a multicast address•The packet is sent into the network•A copy is delivered to each destination that is included in the multicast address

Page 11: Ethernet :  Framing and Addressing

LAN Transmission MethodsBroadcast Process

Broadcast Process•The source addresses the packet with the broadcast address•The packet is sent into the network•The packet copies are delivered to all destinations

Page 12: Ethernet :  Framing and Addressing

Ethernet Address Formats

The IEEE intends for unicast addresses to be unique in the universe by administering the assignment of MAC addresses

The IEEE assigns each vendor a code to use as the first 3 bytes of its MAC addresses; that first half of the addresses is called the Organizationally Unique Identifier (OUI)

The IEEE expects each manufacturer to use its OUI for the first 3 bytes of the MAC assigned to any Ethernet product created by that vendor

The vendor then assigns a unique value in the low-order 3 bytes for each Ethernet card that it manufactures—thereby ensuring global uniqueness of MAC addresses

Page 13: Ethernet :  Framing and Addressing

Ethernet Address Formats

I/G = individual/Group bitU/L = Universal/Local bit

Page 14: Ethernet :  Framing and Addressing

Broadcast Domains In an Ethernet LAN, a set of devices that receive

a broadcast sent by any one of the devices in the same set is called a broadcast domain

A switch simply forwards all broadcasts out all interfaces, except the interface on which it received the frame

As a result, all the interfaces on an individual switch are in the same broadcast domain

Also, if the switch connects to other switches and hubs, the interfaces on those switches and hubs are also in the same broadcast domain

Page 15: Ethernet :  Framing and Addressing

Broadcast and Collision Domains

Page 16: Ethernet :  Framing and Addressing

Broadcast and Collision Domains

Page 17: Ethernet :  Framing and Addressing

Switch Operation

Page 18: Ethernet :  Framing and Addressing

Switch Operation

There are three primary operating modes used to handle frame switching:   Cut-through Store-and-

forward Fragment Free

(modified cut-through)

Page 19: Ethernet :  Framing and Addressing

Switch Operation

Page 20: Ethernet :  Framing and Addressing

Virtual LAN (VLAN) A VLAN is simply an administratively defined subset

of switch ports that are in the same broadcast domain

Ports can be grouped into different VLANs on a single switch, and on multiple interconnected switches as well

By creating multiple VLANs, the switches create multiple broadcast domains

By doing so, a broadcast sent by a device in one VLAN is forwarded to the other devices in that same VLAN; however, the broadcast is not forwarded to devices in the other VLANs

Layer 2 switches forward frames between devices in the same VLAN, but they do not forward frames between two devices in different VLANs

Page 21: Ethernet :  Framing and Addressing

Virtual LAN (VLAN)

Page 22: Ethernet :  Framing and Addressing

Virtual LAN (VLAN)

Page 23: Ethernet :  Framing and Addressing

Virtual LAN (VLAN)

Page 24: Ethernet :  Framing and Addressing

Virtual LAN (VLAN)

Page 25: Ethernet :  Framing and Addressing

VLAN Trunking

IEEE 802.1Q tagged frame

ISL encapsulation