Ethernet LAN Switching
Ethernet LAN Switching
Ethernet LAN Switching
- **Frame Types:**
- **Ethernet II (DIX):** Most common frame type, using EtherType to identify
the upper-layer protocol.
- **IEEE 802.3:** Uses a Length field instead of EtherType, commonly used in
IEEE 802.3 networks.
- **Store-and-Forward Switching:**
- Verifies the entire frame for errors before forwarding.
- Higher latency but minimizes forwarding of corrupted frames.
- **Buffering:**
- Buffers store frames during times of congestion, preventing packet loss.
- Different switch architectures use various buffering strategies.
- **Static Configuration:**
- Administrators can manually configure MAC addresses to port mappings.
- **Forwarding Decision:**
- Switches make forwarding decisions based on MAC addresses.
- The switch consults its MAC address table to determine the egress port.
- **Broadcast Domains:**
- Each switch port creates a separate broadcast domain.
- VLANs further segment broadcast domains.
- **VLAN Operation:**
- **IEEE 802.1Q:**
- Adds a VLAN tag to frames for trunking between switches.
- Allows the extension of VLANs across multiple switches.
- **Micro-Segmentation:**
- Each switch port operates as a separate micro-segment.
- Reduces contention and improves network efficiency.
- **Queuing Mechanisms:**
- **Weighted Fair Queuing (WFQ):**
- Assigns weights to different flows for fair resource allocation.
- Helps in congestion management.
- **LACP:**
- Dynamic negotiation and management of aggregated links.
- Provides redundancy and increased bandwidth.
1. **Data Generation:**
- The process begins with a device, such as a computer or server, generating
data. This data could be in the form of a file, a request for a web page, or any
other form of digital information.
3. **Encapsulation:**
- The packet is then encapsulated with headers and trailers. In the case of
Ethernet LAN, the data is encapsulated into an Ethernet frame.
- **Payload:**
- The actual data being transmitted.
- **Preamble:**
- Helps in synchronization between sender and receiver.
5. **Forwarding Decision:**
- The switch examines the destination MAC address in the Ethernet frame and
consults its MAC address table to determine the appropriate egress port for
forwarding. If the destination MAC address is not in the table, the switch floods
the frame to all ports except the one it came from.
9. **De-encapsulation:**
- Upon reaching the destination device, the frame is de-encapsulated, revealing
the original packet.