Beruflich Dokumente
Kultur Dokumente
Ethernet Switching
1
Version 3
Ethernet Switching
• Ethernet is a shared media
– One node can transmit data at a time
2
Version 3
Shared Media Environment
3
Version 3
Shared media environments
4
Version 3
Layer 1 Devices
• Layer 1 devices
– repeaters and hubs
5
Version 3
Repeater Rule
• Four repeater rule:
– No more than four repeaters between any
two computers
– Contributing Factors
• Repeater latency
• Propagation delay
• NIC latency
– Late collision frames add delay that is
referred to as consumption delay
6
Version 3
Collision Domains
• Collision Domains
– Connected physical network segments
where collisions can occur
• Collisions cause:
– The network to be inefficient
– Transmissions to stops for a period of time
7
Version 3
Collision domains
8
Version 3
Collision Domains
• The types of devices that interconnect the
media segments define collision domains
• Classified as OSI Layer 1, 2 or 3 devices
• Layer 1 devices do not break up collision
domains
• Layer 2 and Layer 3 devices break up
collision domains
– Increasing the number of collision domains is
known as segmentation
9
Version 3
Segmentation
10
Version 3
Network segment
11
Version 3
Layer 2 Devices
• Layer 2 devices
– Bridges and Switches
12
Version 3
Layer 2 Bridging
13
Version 3
Bridges
• Has only two ports and divides a collision domain
into two parts
14
Version 3
Layer 2 Switching
15
Version 3
Switches
• A switch is a fast, multi-port bridge
16
Version 3
Switch Operation
• Micro-segments consist of the switch port and the
host connected to it
• Communication in both directions at once is known
as full duplex
• Most switches are capable of supporting full duplex,
as are most network interface cards (NICs)
• Cut-through switching
– lowest latency
– no error checking
19
Version 3
Switch Modes
• Store-and-forward switching
– Higher latency
21
Version 3
Switch Modes
• Synchronous switching
– The source port and destination port must
be operating at the same bit rate
• Asynchronous switching
– The bit rates are not the same
• Asymmetric switching
23
Version 3
Spanning Tree Protocol
• Switching loops can lead to broadcast storms that will
overwhelm a network.
• To counteract loops, switches are provided with the
Spanning-Tree Protocol (STP)
• Switches in a LAN using STP
– Send Bridge Protocol Data Units (BPDUs) out all its
ports
– Lets other switches know of its existence
– Elect a root bridge (switch) for the network
– Switches use the Spanning-Tree Algorithm (STA) to
resolve and shut down the redundant paths
24
Version 3
STP
• Each port using Spanning-Tree Protocol is in
one of the following five states:
– Blocking
– Listening
– Learning
– Forwarding
– Disabled
25
Version 3
STP
• A port moves through five states as follows:
– From initialization to blocking
26
Version 3
Spanning tree protocol
27
Version 3
Layer 2 Broadcasts
• Ethernet Broadcasts
29
Version 3
Layer 2 Broadcasts
• The three sources of broadcasts and
multicasts:
– Workstations
– Routers
– Multicast Applications
30
Version 3
Broadcast & Collision Domain
Collision Domain
Collision Domain
31
Version 3
Layer 3 Devices
• Layer 3 devices
– Routers
32
Version 3
Broadcast domain
33
Version 3
Broadcast Domain
• Broadcast Domain
– A grouping of collision domains
34
Version 3
Data Flow
• Layer 2 devices filter data frames based on the
destination MAC address
– A Layer 2 device will forward the frame unless something
prevents it from doing so
35
Version 3
Dataflow
36
Version 3
Latency
The delay between the time a frame leaves the source device
and the time the frame reaches its destination
37
Version 3
Latency
38
Version 3