ACIT 2620

Principles of Enterprise Networking

By: Yves Rene Shema

ACIT 2620 Principles of Enterprise Networking

Ethernet

ACIT 2620 Principles of Enterprise Networking
layer 2
ACIT 2620 Principles of Enterprise Networking
Logical Link Control (LLC)
Used to facilitate multiple upper layer (i.e. network ) protocols
Provides common interface to upper layers
Supplies multiplexing and flow control services
Provides error checking
ACIT 2620 Principles of Enterprise Networking
Media Access Control (MAC)
Provides addressing and channel access control mechanisms (i.e. CSMA CD, CSMA CA)
Appends physical address of destination computer onto the frame
ACIT 2620 Principles of Enterprise Networking

Frames

image

  • Preamble
    • Marks beginning of entire frame
  • Start of Frame Delimiter (SFD)
    • Indicates beginning of addressing fields
  • Destination Address
    • Contains destination node address
ACIT 2620 Principles of Enterprise Networking
  • Source Address
    • contains address of sender node
  • Length (LEN)
    • indicates length of data/payload
  • Data (payload)
    • contains data, or segmented part of data, transmitted from originating node
ACIT 2620 Principles of Enterprise Networking
  • Pad
    • Used to increase size of the frame to its minimum size requirement of 46 bytes
  • Frame Check Sequence
    • provides algorithm to determine whether data were correctly received
    • most commonly used algorithm is Cyclic Redundancy Check (CRC)
ACIT 2620 Principles of Enterprise Networking

Ethernet Addressing

  • MAC address: Media Access Control (MAC) sub-layer
  • 48 Bits
  • Number uniquely defining a network node
  • Generally rendered as Hex: 00:1e:33:ba:87:c1
  • Doesn't contain any data regarding network location –just an ID
ACIT 2620 Principles of Enterprise Networking
mac address
ACIT 2620 Principles of Enterprise Networking
  • first three bytes
    • Either Manufacturer hard coded
    • Or Reserved Addresses (common ones)
      • Broadcast Address FF:FF:FF:FF:FF:FF
      • Spanning Tree Multicast: 01:80:C2:00:00:00
      • IANA reserves all address starting with 00:00:5E see Ethernet Numbers(this includes IPv4 multicast -and inserts the low 23 Bits of the multicast IPv4 Address into the Ethernet Address)
      • 33:33:XX is reserved for IPv6 Multicast
ACIT 2620 Principles of Enterprise Networking

Switching

  • Making Forwarding decisions
    • Transparent bridging
transparent bridging
ACIT 2620 Principles of Enterprise Networking

Broadcast Loop and STP

broadcast loop
ACIT 2620 Principles of Enterprise Networking

Spanning Tree Protocol

spanning tree protocol
ACIT 2620 Principles of Enterprise Networking

VLANs

  • Virtual Local Area Networks
  • A logical network within a physical network
  • Achieved by grouping some of the switch ethernet ports into a logical broadcast domain
  • Can span multiple switches
ACIT 2620 Principles of Enterprise Networking
vlans
ACIT 2620 Principles of Enterprise Networking

VLAN port types

  • Access ports
    • assigned VLAN ID
    • for connecting end hosts/nodes
    • nodes connected to ports with same VLAN ID are in the same broadcast domain
ACIT 2620 Principles of Enterprise Networking
  • Trunk ports
    • typically for switch to switch or switch to router connection
    • carry "tagged" frames, i.e modified ethernet frames with VLAN markers
ACIT 2620 Principles of Enterprise Networking

Tagged frames

tagged frame
  • 4-byte tag header inserted between Source MAC and EtherType fields
    • 2-byte tag protocol identifier (TPID)
      • a fixed value of 0x8100 that indicates the frame carries tag information.
ACIT 2620 Principles of Enterprise Networking
  • 2-byte tag control information (TCI)
    • Three-bit user priority (used to prioritize traffic)
    • Drop Eligible Indicator (DEI) (in congestion is frame “dropable”)
    • Twelve-bit VLAN identifier (VID)-Uniquely identifies the VLAN to which the frame belongs
ACIT 2620 Principles of Enterprise Networking
  • Manage shared medium access contention (collision)
  • Two methods:
    • CSMA/CD: for wired Ethernet
    • CSMA/CA: for wireless Ethernet
ACIT 2620 Principles of Enterprise Networking

CSMA/CD

image

ACIT 2620 Principles of Enterprise Networking

CSMA/CA

CSMA-CA
ACIT 2620 Principles of Enterprise Networking

Reading List

ACIT 2620 Principles of Enterprise Networking