Network Switches vs. Hubs: Performance and VLAN Benefits

Computer science2.49 KB

Network Switches vs. Hubs: Key Differences

A network switch offers significantly higher performance than a hub. Below are the primary distinctions:

Hub Characteristics

  • Bandwidth: Shared bandwidth (e.g., 10Mbps shared among 5 devices results in 2Mbps per device).
  • Transmission: Cannot handle simultaneous transmissions to multiple devices at once.
  • Cost: Generally cheaper than a switch.

Switch Characteristics

  • Bandwidth: Each device receives the total available bandwidth.
  • Performance: Supports multiple simultaneous data transmissions.
  • Bridge Comparison: Unlike a bridge, a switch operates using the same protocols at the physical and link layers, offering superior speed and performance.

Virtual Local Area Networks (VLANs)

Traditional LANs are highly dependent on physical cabling. If a user changes their geographical location, the network configuration often requires manual updates. VLAN technology solves this by connecting nodes to logical networks rather than physical ones.

Definition

A VLAN is a local area network comprising a set of computers grouped logically rather than physically, liberating the network from the constraints of physical architecture.

Core Features

  • Logical Grouping: Stations are grouped based on logical criteria rather than physical location.
  • Flexibility: Two nodes on different network segments can belong to the same VLAN.
  • Communication: Stations can only communicate with others within their assigned group (unless software allows multi-group membership).

Types of VLANs

  • MAC Address-Based: Logical groups are created based on the MAC address of the device. If a station changes location, it retains its MAC address and remains in the same VLAN.
  • Port-Based: Groups are created by grouping switch ports. All nodes connected to a port associated with a VLAN belong to that VLAN. This requires reconfiguration if the user moves physically.
  • IP Address-Based: Operates at Layer 3 of the OSI model. It connects subnets based on the source IP address of the datagrams.
  • Protocol-Based: Also operates at Layer 3, grouping equipment that uses the same network protocol.

Download

PDF Word HTML