A modern home can easily hold more networked devices than a small office: TVs, speakers, thermostats, light switches, cameras, doorbells, appliances and every phone and laptop in the house. On a single flat network, every one of them can reach every other one. The cheapest smart plug on the network can see the family laptop. Segmenting the network fixes that.

A practical layout

Most homes need only a handful of segments, each its own VLAN and subnet:

Map each Wi-Fi network name to its VLAN, and give wired ports the right VLAN at the switch, so a device lands in the right segment just by how it connects.

Firewall rules: default deny

VLANs only separate traffic; the firewall decides what may cross. Start from deny between segments, then allow only what is needed:

Keep discovery working

Many devices find each other with multicast and broadcast protocols such as mDNS, SSDP and the discovery used by casting and music systems. Those do not cross VLANs on their own, which is why segmentation is often blamed for "breaking" casting or whole-home audio. An mDNS repeater or a UDP broadcast relay on the router forwards just those discovery packets between the segments that need them, while the firewall still controls the actual connections.

The details that save time later

Done once and documented, a segmented network is no harder to live with than a flat one, and far harder for one weak device to compromise.