Creating a local area network (LAN) is traditionally associated with laying cables, but modern technologies make it possible to organize full-fledged interaction between devices exclusively via a wireless channel. Local area network Over-the-air Wi-Fi is essential for file sharing, network printing, or setting up a game server when a physical Ethernet connection is impossible or impractical. Unlike a simple internet connection, devices exchange data directly or through a router without accessing the external network.
Implementing this setup requires an understanding of TCP/IP protocol principles and proper configuration of network adapters on all nodes. You don't need to be a professional system administrator to deploy the basic infrastructure, but it's important to follow the steps in the correct order and take into account operating system specifics. Windows 10 and 11 have built-in tools for managing network profiles, which often block the visibility of devices for security purposes.
In this article, we'll look at several ways to set up a LAN: from a simple connection to a single router to creating a complex bridge between two computers. We'll pay special attention to setting up static IP addresses, as addressing errors are the most common cause of unavailable shared resources. Proper configuration will ensure stable data transfer at high speeds, comparable to a wired connection.
How a Wireless Local Area Network Works
The fundamental difference between a wireless LAN and a wired LAN is the data transmission medium and the channel access method. While a cable uses a dedicated bandwidth for each connection, Wi-Fi The environment is shared, and devices are forced to share airtime. This means that when setting up a local area network over the air, it's critical to minimize interference and choose the least congested frequency band.
All devices in such a network must be in the same broadcast domain. Simply put, they must "hear" each other at the data link protocol level. For this, one SSID (network name) and the same encryption parameters. If you plan to connect two remote offices or homes, WDS technology or client-bridge mode is often used, which allows you to retransmit the local network signal over long distances.
⚠️ Please note: When using the 2.4 GHz band, the file exchange speed within the local network may be significantly lower than theoretical due to interference from neighboring routers and household appliances.
It's important to understand the difference between adapter operating modes. To create a computer-to-computer network without a router, Ad-Hoc mode is used, which is rare these days and has low speeds. The modern standard requires an access point (router) through which all traffic is routed, even when the internet is down. IPv4 protocols And IPv6 operate transparently on top of this connection, providing packet routing between nodes.
Necessary equipment and software
To build a stable wireless local area network, the minimum equipment set includes a wireless router and network adapters on the connected devices. It is desirable that the router supports the standard 802.11ac (Wi-Fi 5) or newer (Wi-Fi 6), which will provide gigabit speeds within the network. Older standards, such as 802.11n, can become a bottleneck when transmitting large amounts of data.
On the software side, the operating system plays a key role. Most modern operating systems, including Windows, macOS, and Linux, have built-in drivers and configuration utilities. However, for advanced network management, such as scanning the airwaves or setting up static routes, additional utilities such as Advanced IP Scanner or Wi-Fi Analyzer.
It's also worth making sure that your antivirus software or built-in firewall isn't blocking local connections. Often, after installing a new antivirus, the network is automatically marked as "public," hiding your computer from other LAN members. You should either change the network profile or create an exception in the firewall rules for local subnets.
Setting IP addresses and subnet masks
A key step in creating a LAN is proper addressing. In automatic mode (DHCP), the router assigns addresses automatically, but for stable operation of servers, printers, or NAS, it's better to use static IP addressesThis ensures that the device's address will not change after a reboot, and you can always find it by a known address.
To set up a static IP in Windows, go to the Network Connections control panel. Select your Wi-Fi adapter, click "Properties," then select the protocol. Internet Protocol version 4 (TCP/IPv4)In the window that opens, switch the radio button to "Use the following IP address."
IP address: 192.168.1.50Subnet mask: 255.255.255.0
Default gateway: 192.168.1.1
Preferred DNS: 8.8.8.8
It is important that the first three octets of the IP address (e.g. 192.168.1) are the same for all devices on the network, and the last octet is unique for each device (from 2 to 254). Subnet mask 255.255.255.0 is a standard for home networks and means that up to 254 devices can be on a single network.
☑️ Check network settings
Organizing file and printer sharing
After the devices see each other on the network (checked by the command ping), you can move on to sharing resources. In Windows, this feature is called "File and Folder Sharing." To share a folder, right-click it, select "Properties," and then go to the "Sharing" tab.
Here you can use the advanced settings to set specific permissions for different users. For example, one user can only be allowed to read files, while another can have full control with the ability to delete and modify them. For this feature to work, you must have permission to enable access rights in the Network and Sharing Center. network discovery And file sharing.
⚠️ Warning: Do not share system folders or the root of the C drive, as this creates a critical vulnerability for the entire local network.
To connect a network printer, you must first share it on the computer to which it is physically connected (or configure direct printing via Wi-Fi if the printer has its own IP address). On client computers, add the printer via the menu "Devices and Printers" -> "Add Printer" -> "The printer I want isn't listed" -> "Select by name."
What to do if computers can't see each other?
Often, the problem lies with the network profile. Go to Settings -> Network & Internet -> Wi-Fi -> Manage known networks. Select your network and change the profile from "Public" to "Private." Windows blocks incoming connections for security reasons when the profile is set to "Public."
Using Bridge Mode to Expand Your Network
If the range of the main router is insufficient, or if you need to combine two physically separate networks into a single logical one, bridge mode is used. In the router settings, this may be called WDS, "Bridge mode" or "Client Bridge." In this mode, the second router connects to the first router's Wi-Fi and distributes internet and local network data further via a cable or a new Wi-Fi connection.
To configure a bridge on the second router, you must disable the DHCP server so that only the master router continues to distribute addresses. The second router's IP address must be in the same subnet, but outside the master router's DHCP range to avoid address conflicts.
This method allows you to extend a LAN connection to a garage, sauna, or neighboring house without installing fiber optic cables. The speed of this connection will depend on the signal quality between the routers, so it's best to place them within line of sight or use external antennas with high gain.
Comparison of wireless LAN organization methods
The method you choose depends on your goals: whether you need constant file access, a gaming network, or simply temporary data transfer. Below is a comparison table of the main connection methods.
| Method | Complexity | Speed | Stability |
|---|---|---|---|
| One router (Infrastructure) | Low | High | High |
| Mobile hotspot | Low | Average | Average |
| WDS Bridge | High | Medium/High | Depends on the signal |
| Ad-Hoc (Direct Connection) | Average | Low | Low |
As the table shows, the classic single-router setup remains the most reliable for home use. WDS mode is good for extending coverage, but requires precise configuration. A mobile hotspot is convenient for quickly transferring photos from a phone to a PC, but is not suitable for continuous operation.
With modern mesh systems, the concept of a LAN is blurred, as all nodes automatically form a single, seamless network. However, the operating principle remains the same: a single address space and the ability to access resources from any node.
Troubleshooting and Network Security
Local network security is often ignored, which can lead to data leaks. Be sure to use encryption protocols. WPA2-PSK or WPA3The old WEP protocol can be cracked in a few minutes and does not provide any protection for packets transmitted within the LAN.
To diagnose connection problems, use the built-in OS tools. Command ping [IP address] checks the availability of a node. The command ipconfig /all will show the current adapter settings. If ping fails, check your firewall settings and ensure the devices are on the same subnet.
⚠️ Note: Router and operating system interfaces are constantly being updated. The layout of menu items may differ from those described, so please consult the official documentation from your equipment manufacturer.
Update your router firmware regularly. Manufacturers frequently release patches to address vulnerabilities in wireless protocols. It's also a good practice to disable the WPS feature, which is often used by attackers to gain access to your network.
Why is the LAN speed via Wi-Fi lower than via cable?
Wi-Fi is a half-duplex medium, meaning a device cannot simultaneously receive and transmit data on the same frequency. Furthermore, some bandwidth is consumed by service packets, delivery confirmation, and interference control, reducing actual speed to 50-60% of the theoretical value.
Frequently Asked Questions (FAQ)
Is it possible to create a LAN between two computers without a router?
Yes, it's possible. In Windows 10 and 11, you can use the "Mobile Hotspot" feature, where one PC distributes Wi-Fi and the other connects. An alternative, but more complex, option is to use an Ethernet cable (direct connection) or create an ad-hoc network, although support for the latter is limited in newer OS versions.
What is the maximum speed possible on a wireless LAN?
Speed depends on the Wi-Fi standard. For 802.11n (Wi-Fi 4), real-world speeds are around 150-300 Mbps. The 802.11ac standard (Wi-Fi 5) can reach 400-800 Mbps, and the new 802.11ax (Wi-Fi 6) can deliver near-gigabit speeds under ideal conditions.
Do devices in LAN see each other if the Internet is turned off?
Yes, they do. A local area network (LAN) operates independently of the global network (Internet). As long as the router is turned on and assigning IP addresses (or they are statically assigned), devices can exchange files and play online even without a connection to an ISP.
How do I hide a folder from other users on a shared network?
When setting up sharing in the advanced settings, you can uncheck the "Share this folder" box for the "Everyone" group, leaving access only for a specific user with a password. You can also use the symbol $ at the end of the folder name (eg data$), which will make it hidden when normally viewed, but accessible when entering the path directly.