Networking

8 Posts

How TCP States Show Where a Connection Is Stuck

9 minute

When debugging TCP, ss or netstat often shows a list of states first. The hard part is mapping those states to the phase where the connection is stuck.

Many SYN-SENT entries: is the server slow or the network unreachable? The connection is still ESTABLISHED: why did the business request time out? CLOSE-WAIT is piling up: is this a network issue or an application not closing sockets? TIME-WAIT is large: should kernel parameters be changed immediately? A long connection appears alive locally, but NAT or firewall state may already be gone.

Read More

Why TCP Congestion Control Makes Networks Slower After Loss

8 minute

When a network is slow, bandwidth is often the first thing people check.

Bandwidth looks sufficient, but HTTPS downloads are slow. Cellular throughput jumps up and down. Wi-Fi signal looks acceptable, but API calls occasionally time out. Packet captures show retransmissions, duplicate ACKs, RTOs, and then the sending rate drops. The server CPU is fine and the application did not change, but TCP suddenly becomes conservative.

Congestion control is often the reason.

Read More

Router Mode vs AP Mode: Why Double NAT Complicates LAN Problems

6 minute

Adding one more Wi-Fi router at home often does not just add another AP. It may add another gateway, DHCP, and NAT (Network Address Translation) layer. Phones can still browse the internet, but printers disappear, NAS access fails, casting breaks, or games report restricted NAT. Many of those problems start here.

The difference between router mode and AP mode is not appearance, and not whether the device can broadcast Wi-Fi. It is whether the device acts as a Layer-3 gateway or only provides Layer-2 wireless access inside the existing LAN.

Read More

Wi-Fi Channel Planning: Why More APs Do Not Always Make It Faster

6 minute

Many multi-AP sites do not suffer from weak signal. They suffer because APs hear each other too well. Every room has an AP, phones show full bars, but speed jumps around and voice or video stutters. The issue is often not AP count. It is channel, power, and coverage overlap being designed separately.

Wi-Fi channel planning is not about making every spot see the strongest signal. It is about helping APs and clients share airtime with less contention and less interference.

Read More

AC+AP: Central Management, Not Turning Many APs Into Mesh

6 minute

In offices, hotels, schools, and large homes, people often say: do not use Mesh, use AC + AP. That can sound like “a controller manages multiple APs, so clients will automatically roam seamlessly.” The real difference is not only whether the Wi-Fi name is unified, but whether the network side can configure, observe, and constrain those APs as one system.

The core value of AC (Access Controller) plus AP (Access Point) is centralized management of AP configuration, policy, radio parameters, user access, and operational state. It often works with wired backhaul. Its main goal is not to make APs forward traffic for each other wirelessly, but to make many access points behave as one managed system.

Read More

Wi-Fi Repeaters: Why a "Signal Booster" Does Not Really Make Wi-Fi Stronger

7 minute

Many home “Wi-Fi boosters” look successful at first: the phone shows full bars near the device, but speed barely improves, video still stutters, and games may even feel worse. The easy detail to miss is that the phone is seeing its link to the booster, not the quality of the booster’s link back to the router.

Most of these products are closer to a repeater / extender: the device first connects to the main router or upstream AP (Access Point) as a STA (Station), then acts as a downstream AP and rebroadcasts a wireless network for clients. It extends the place where clients can attach. It does not magically improve the whole wireless path from the router to the far room.

Read More

BLE Mesh: Why It Is Not "Many BLE Devices Connected to Each Other"

14 minute

The easiest way to misunderstand BLE Mesh is to say: if many BLE devices are connected to each other, then it is a Mesh. That mistake is common because people already know BLE advertising, scanning, connections, and GATT service discovery, so it is tempting to think of Mesh as “just a BLE network with more connections.”

The real issue is that BLE Mesh is not about adding more Central/Peripheral connections, nor is it about making one node maintain many GATT sessions. It is more like a new networking style built on top of BLE air interfaces, where the system is redesigned around multi-node forwarding, address distribution, publish/subscribe behavior, and low-power reception.

Read More

Wi-Fi Mesh: Why It Is Not Just "Multiple APs with the Same Name"

10 minute

Wi-Fi Mesh is often reduced to one simple image: there are several nodes in the house or office, the phone stays on the same SSID (Service Set Identifier) all the time, and internet access follows you everywhere. That leads to the overly simplified explanation: multiple AP (Access Point) devices are just broadcasting the same name, and the terminal simply chooses the closest one.

That sentence only describes the surface experience. It does not explain the key difference between Mesh and “several independent APs with the same name.” What separates Mesh from plain same-name AP deployment is not the SSID itself, but the fact that these three things are organized together:

Read More