Wi-Fi Network: Star or Bus Topology?

The question of the topological structure of a wireless network often sparks debate among students and novice system administrators. At first glance, the lack of visible wires creates the illusion of chaos or, conversely, a rigid, centralized structure. However, the physics of radio waves dictates its own rules, which aren't always obvious when looking at the connection diagram in the router interface.

Traditionally, computer networking textbooks describe classic topologies: star, ring, and bus. When applied to Wi-Fi, the situation is complicated by the fact that we must distinguish physical topology (how the devices are located in space) and logical topology (how data is transmitted). It is this distinction that gives rise to the assertion that Wi-Fi can be both a star and a shared bus simultaneously, depending on the operating mode.

In this article, we'll take a detailed look at why a network resembles a star in access point mode, but behaves like a bus when devices are directly connected. Understanding these nuances is critical for properly configuring equipment and diagnosing performance issues in corporate and home networks.

The fundamental difference between the physics and logic of Wi-Fi

To understand the essence of the issue, we need to look at the transmission medium. In wired Ethernet networks built on hubs (obsolete equipment) or coaxial cable, the signal actually traveled along a shared bus: everyone saw everyone else's data, but only the recipient could read it. In modern Wi-Fi, the transmission medium is the air, which is by nature a shared medium.

Logical topology wireless network is most often defined as common busThis is because the radio channel is shared by all network participants within range. When one device transmits a data packet, the electromagnetic wave propagates in all directions, and theoretically, any other device within range can "hear" the transmission. This is the fundamental operating principle of the protocol. IEEE 802.11.

However, physical organization Connections can vary. Depending on the selected operating mode (Infrastructure or Ad-Hoc), the algorithm for managing access to the medium and frame routing changes. This is where the answer to the question of topology duality lies.

⚠️ Attention: Don't confuse the physical arrangement of devices (where the router is in the center of the room) with the logical topology. Even if the router is in the center, the data exchange logic may be distributed.

Infrastructure Mode: Why It's Like Star

The most common Wi-Fi usage scenario is infrastructure mode (Infrastructure Mode). In this configuration, the central element is an access point or wireless router. All client devices (laptops, smartphones, IoT sensors) connect directly to this point.

Visually and architecturally, this scheme is identical Star topologyClients don't communicate directly with each other. If your smartphone wants to send a file to a laptop connected to the same Wi-Fi network, the data must follow this path: Smartphone β†’ Access Point β†’ Laptop. The access point acts as a switch, managing traffic.

The advantages of such an organization are obvious:

  • πŸ“‘ Centralized management: The router controls the transmission time for each client, minimizing collisions.
  • πŸ”’ Safety: All connections pass through a single control point where firewall rules are applied.
  • πŸ”„ Scalability: It's easy to add a new client without rebuilding the network of other devices.

In this mode, the access point takes on the role of a coordinator. It sends out beacon frames (Beacon frames), synchronizing the clocks of all devices. Without permission from the central node (in PCF mode) or outside the allocated timeslot (in DCF mode), the client cannot transmit. This creates a rigid structure characteristic of a star.

πŸ“Š What Wi-Fi mode do you have at home?
Infrastructure (via router)
Ad-Hoc (computer-to-computer)
I don't know, it just works.
Guest network

Ad-Hoc Mode: Implementation of a Common Bus

The situation changes dramatically when we switch to a regime Ad-Hoc (unorganized network). In this scenario, there is no access point as a physical device. Computers, tablets, or specialized equipment connect directly to each other, forming an independent basic dialing service (IBSS).

This is where the classic comes into play. Common Bus topologySince there is no central coordinator, all devices are equal. They operate in half-duplex mode: only one can speak, but everyone listens. The media access mechanism CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance) forces the device to "listen" to the air before transmitting.

If two devices in an ad-hoc network attempt to transmit data simultaneously, a collision (or, more accurately, frame interference) will occur, and the data will be lost. This behavior is identical to that of older Ethernet networks using coaxial cable or hubs, where the bus was physical.

Characteristic features of Ad-Hoc topology:

  • ⚑ Lack of a central hub: The failure of one device does not destroy the entire network, but it can disrupt connectivity.
  • πŸ“‰ Performance degradation: As the number of participants increases, the number of collisions grows exponentially.
  • πŸ”— Limited radius: Each device must "hear" each other, otherwise the network breaks up into segments.
Technical details of CSMA/CA

The CSMA/CA protocol uses a virtual channel reservation mechanism. Before transmitting data, a device sends a short RTS (Request to Send) service frame, and the receiver responds with a CTS (Clear to Send) frame. All other devices that hear these frames remain silent for the duration of the data transmission, reducing the risk of collisions.

Mesh Networks: Evolution of Topology

Modern mesh networks are a hybrid that breaks the stereotypes of classic topologies. In a mesh network, each node can act as both a client and a relay. This creates a dynamic structure where the topology constantly adjusts based on signal reception conditions.

On the one hand, the client device connects to the nearest node, forming a local "star." On the other hand, the nodes themselves are interconnected by multiple links, forming a complex cellular structureData can travel from the client to the router through three intermediate nodes, choosing the optimal route.

Unlike Ad-Hoc mode, Mesh networks are intelligent. They use special routing protocols (for example, 802.11s (or proprietary algorithms) to avoid loops and select paths with the lowest latency. This is no longer just a shared bus, but a complex logical network with a dynamic topology.

Comparison of characteristics of different types of network organization:

Parameter Infrastructure (Star) Ad-Hoc (Bus) Mesh
Central node Yes (Router/AP) No Distributed intelligence
Routing Through the center Broadcast Dynamic, multi-step
Reliability Depends on the router Low in collisions High (self-healing)
Difficulty of setup Low Average High (automated)

Collision and Hidden Station Problems

Regardless of the topology we consider, wireless networks suffer from the "hidden station" problem. In a wired bus, everyone sees the signal on the cable. In Wi-Fi, device A may not be able to "hear" device B, but both are within the router's earshot.

When A transmits data, B remains silent, believing the channel is clear, and also begins transmitting. This results in signal interference and packet corruption on the Router side. To combat this, timeouts and acknowledgments are used in Wi-Fi topologies.ACK).

A critical difference between Wi-Fi and a wired bus is the inability to detect collisions in real time (CD/CD). The device can't listen to the airwaves and transmit simultaneously on the same frequency without complex signal isolation. Therefore, it relies on statistical methods and delivery confirmations.

⚠️ Attention: In densely populated areas (apartment buildings), your Wi-Fi network logically becomes a "shared bus" with your neighbors' networks. Channels overlap, and devices are forced to wait for airtime to clear, even if they're connected to different routers.

Practical setup and diagnostics

Understanding the topology helps in diagnostics. If you have a star-type network and the internet connection is lost on only one device, the problem is with the client. If the internet connection is lost everywhere, the problem lies with the star's center (router) or the ISP. In an Ad-Hoc topology, a loss of connection on one node can disrupt the connection for others.

You can use the command line to check the current topology and connection quality in the Windows operating system. This will give you an understanding of how your device sees the network.

netsh wlan show interfaces

This command will show the network type (Infrastructure or Ad-Hoc), signal strength, and channel. For a more in-depth analysis, use the Linux utility iwlist or iw:

iw dev wlan0 link

When setting up corporate networks, it's important to avoid creating a flat structure where all devices are in a single broadcast domain. Separating the networks into VLANs and using different SSIDs allows for logical network segmentation, even if the physical topology remains the same.

β˜‘οΈ Diagnosing Wi-Fi problems

Completed: 0 / 4

The Impact of Topology on Security

The choice between a centralized or decentralized topology directly impacts attack vectors. In Infrastructure mode, an attacker only needs to hack or intercept access point traffic to gain control over the entire data flow. Perimeter protection here is concentrated on a single device.

In Ad-Hoc mode (shared bus), a Man-in-the-Middle attack is trivial, as all devices can see each other's packets. The lack of a central authorization server (in the basic configuration) makes the network vulnerable to unauthorized nodes.

To improve safety in line with modern standards WPA3 protection against eavesdropping is being implemented even in open networks. However, architecturally, star topology always provides more tools for administrative control and isolation of problematic clients.

What is the main difference between logical and physical Wi-Fi topology?

Physical topology describes the actual spatial arrangement of equipment and antennas. Logical topology describes the path of signals and data. In Wi-Fi, devices may be physically scattered randomly, but logically they are arranged in a star (via AP) or a bus (direct connection).

Can a Wi-Fi network work without an access point?

Yes, this is called Ad-Hoc or IBSS mode. In this case, devices are connected directly, forming a logical "common bus" topology, where all nodes are equal.

Why does Wi-Fi speed decrease as the number of users increases?

Since Wi-Fi uses a shared bus (ethereum), bandwidth is divided among all active users. Furthermore, the number of collisions and overhead traffic (ACKs) increases, reducing the useful data rate.

What is a hidden station in Wi-Fi?

This is a situation where two Wi-Fi clients are within range of a single access point but cannot "hear" each other due to distance or obstacles. This leads to signal collisions on the access point side, as the clients are unaware of each other's transmissions.