Switch (network switch)

Definition: What is a switch?

A switch is an active network device for data communication that connects multiple network devices within a local area network. It receives data packets on one port and forwards them specifically to the port where the addressed recipient is located.

Forwarding typically takes place based on the MAC address of the connected devices. Switches store these addresses in an internal table, allowing them to control traffic efficiently. Unlike older network devices such as hubs, a switch does not broadcast data to all participants, but only to the intended recipient.

Switches are now a central component of almost every network structure—from home networks to large data centers.

Synonyms / related terms:

Features: What characterizes a switch?

  • connects multiple devices within a local area network (LAN)
  • forwards data packets based on the MAC address
  • reduces unnecessary network traffic compared to hubs
  • enables simultaneous communication between multiple devices
  • usually supports full-duplex communication
  • can offer additional functions such as VLAN, QoS, or port management
  • central component of modern Ethernet networks

Important metrics / key data

  • OSI layer: usually Layer 2 (Data Link Layer)
  • addressing: MAC addresses
  • typical ports: Ethernet (e.g., 1 Gbit/s, 10 Gbit/s)
  • operating mode: Full-Duplex or Half-Duplex

Functionality: How does a switch work?

A switch processes network data in several steps.

  • Receiving a data packet
    A network device sends a data packet to the switch.
  • Analyzing the destination address
    The switch reads the destination MAC address in the Ethernet frame.
  • Matching it against the MAC address table
    The switch checks which port can be used to reach the destination device.
  • Targeted forwarding
    The data packet is forwarded only to the corresponding port.
  • Learning new devices
    If the switch detects a new MAC address, it stores it in its internal table for future transmissions.

Areas of application: Where is a switch used?

Switches are used in nearly all network environments:

  • Enterprise networks: connecting servers, workstations, and printers
  • Data centers: building complex network structures with high bandwidth
  • Home networks: connecting PCs, smart TVs, NAS systems, and routers
  • Industrial plants: networking machines, control systems, and sensors
  • Vehicle networks: connecting communication and sensor systems in mobile platforms
  • Military applications: robust switches for secure communication systems

Differences from similar technologies

Feature Switch Hub
Data forwarding targeted to the correct port to all ports at the same time
Efficiency high network efficiency low efficiency
Bandwidth dedicated per port shared
Duplex operation usually full-duplex usually half-duplex
Intelligence processes MAC addresses no address processing
Typical use modern LAN networks largely obsolete today

Deep Dives: a topic examined holistically

  • MAC Address Tables and Learning Function

Switches work with so-called MAC address tables. As soon as a device sends data, the switch remembers the port through which this MAC address can be reached. This allows future data transmissions to be directed straight to the destination device.

  • Broadcast and Multicast

Although switches forward data selectively, they still support broadcast and multicast communication. Broadcast messages are distributed to all ports, for example in network protocols used for device discovery.

  • Managed vs. Unmanaged Switches

An unmanaged switch works automatically without configuration and is suitable for simple networks. Managed switches offer additional functions such as VLAN configuration, network monitoring, traffic prioritization, or security policies.

  • Switches in Industrial and Mobile Environments

In industrial or military applications, more robustly designed switches are often used. These devices are built for extreme temperatures, vibration, or electromagnetic interference and ensure stable network communication even under harsh conditions.

Advantages and disadvantages

Advantages

  • more efficient network communication
  • higher available bandwidth
  • parallel data transfers possible
  • scalable network infrastructure

Disadvantages

  • more complex network configuration for large infrastructures
  • higher acquisition costs compared to simple network components
  • misconfigurations can cause network issues

Examples from practice

  • SME networks: A switch connects PCs, printers, and servers in the office.
  • Data centers: High-performance switches connect hundreds of servers and storage systems.
  • Industrial plants: Machines and control systems are networked via industrial Ethernet switches.
  • Military vehicles: Robust switches connect communication systems and sensors.
  • Transport vehicles: Networks of cameras, GPS systems, and control units are organized via switches.

Related Terms

  • Router: network device that forwards data between different networks.
  • Hub: older network device that distributes data to all connected devices.
  • Ethernet: widely used standard for wired networks.
  • LAN (Local Area Network): local network within a building or site.
  • VLAN: logical segmentation of a network within a switch.
38