
Network equipment, part 1: basics for any brand — VLAN, access, and trunk, addressing plan
🌐 Machine-translated from Russian. Show original
In this part:
Why VLAN#
A VLAN divides one physical switch into several logical networks. Cameras, employees, guests, and servers end up on different networks, and traffic between them passes only through the router or firewall — where it can be controlled.
Access and trunk#
| Port type | What transmits | Where | is connected
| --- | --- | --- |
| Access | one tagless VLAN | computer, printer, camera, |
| Trunk | multiple VLANs with 802.1Q tags | another switch, router, access point, virtualization server, |
| Hybrid / general (for some brands) | one VLAN without a tag and several with tags | IP phone with computer behind it, access points, |
Native VLAN on trunk — VLAN transmitted without a tag. It must match at both ends of the link, otherwise traffic will "flow" to the wrong place.
Addressing plan#
Make it before setting up the equipment:
| VLAN | Name | Subnet | Gateway |
|---|---|---|---|
| 10 | USERS | 192.168.10.0/24 | 192.168.10.1 |
| 20 | SERVERS | 192.168.20.0/24 | 192.168.20.1 |
| 30 | CCTV | 192.168.30.0/24 | 192.168.30.1 |
| 40 | GUEST | 192.168.40.0/24 | 192.168.40.1 |
| 99 | MGMT | 192.168.99.0/24 | 192.168.99.1 |
- Management VLAN (MGMT) — separate: addresses of switches, access points, controllers. Access — administrators only.
- For branches — non-overlapping bands (for example, 10...0/24).
Spanning Tree#
STP (RSTP, MSTP) protects against loops: if someone connects two outlets with a cable, the network will not "collapse" from a broadcast storm. Enable it on all switches, assign the main core switch as the root , and enable protection on user ports (BPDU Guard / edge ports).
General safety rules#
- Change the default passwords and disable unused management services (Telnet, HTTP without encryption).
- Control — only via MGMT VLAN and via SSH/HTTPS.
- Unused ports — disable or switch to a "dead" VLAN.
- Time synchronization (NTP) and log collection (syslog) — for investigations.
- Backup of the configuration after each change.
Documentation#
Network diagram, addressing plan, port table "port → where connected," list of devices with firmware versions. Without it, any failure turns into an investigation.
Next — by manufacturers: TP-Link Omada, Huawei, and UniFi.
Comments · 0
No comments yet.Sign in to comment, rate and see all comments.