Docsity

Understanding Switches: Functions, Forwarding, Learning, Filtering, and Isolation, Slides of Multimedia Applications

Partial preview of the text

Download Understanding Switches: Functions, Forwarding, Learning, Filtering, and Isolation and more Slides Multimedia Applications in PDF only on Docsity!

2

Switch

 Link layer device  stores and forwards Ethernet frames  examines frame header and selectively forwards frame based on MAC dest address  when frame is to be forwarded on segment, uses CSMA/CD to access segment  transparent  hosts are unaware of presence of switches  plug-and-play, self-learning  switches do not need to be configured

3

Forwarding

  • How do determine onto which LAN segment to forward frame?
  • Looks like a routing problem...

hub (^) hub hub

switch 1 2 3

5

Filtering/Forwarding

When switch receives a frame:

index switch table using MAC dest address if entry found for destination then{ if dest on segment from which frame arrived then drop the frame else forward the frame on interface indicated } else flood

forward on all but the interface

on which the frame arrived

6

Switch: traffic isolation

 switch installation breaks subnet into LAN segments  switch filters packets:  same-LAN-segment frames not usually forwarded onto other LAN segments  segments become separate collision domains

hub (^) hub hub

switch

collision domain (^) collision domain

collision domain

8

Switching types

 cut-through switching: frame forwarded

from input to output port without first collecting entire frame  slight reduction in latency

Store-and-forward

 combinations of shared/dedicated,

10/100/1000 Mbps interfaces

9

Institutional network

hub (^) hub hub

switch

to external network router

IP subnet

mail server

web server

11

Link Layer

 Introduction and services

 Error detection and correction

 Multiple access protocols

 Link-Layer Addressing

 Ethernet

 Hubs and switches  PPP  MPLS