Skip to main content

2.6 Applying Defense: Securing My Network

add to ChatGPT
Verified for the 2027 examUpdated November 2026Fiveable Content Team
Fiveable

🌐AP Networking Unit 2 Review

QR code for AP Networking practice questions

2.6 Applying Defense: Securing My Network

🌐 AP Networking

    continue practicing 2.6

    Multiple choice

    Think of your home network like an apartment building. Without any security, every tenant could wander into anyone's unit, grab stuff from the mailroom, and mess with the boiler. Not great. Firewalls and network segmentation are the locked doors, keycard readers, and separate floors that keep things organized and safe. They're the two big technical controls that decide who gets to talk to what on your network, and getting them right can be the difference between a minor annoyance and a full-blown breach.

    Firewalls and Network Segmentation as Technical Controls

    Technical controls are the security tools built into the network itself (as opposed to policies or physical locks). Firewalls and network segmentation are two of the most important ones, and they work together to limit unauthorized access by controlling how traffic moves around.

    The core idea: if an attacker (or a piece of malware) gets into one part of your network, you don't want them to be able to freely roam everywhere else. By carving the network into different zones and filtering what traffic can move between them, you contain the damage.

    How Firewalls Secure a Network

    A firewall is basically a traffic cop sitting between networks (or between parts of the same network). It checks every packet trying to come in or out and decides whether to allow it based on a set of rules.

    Those rules typically check things like:

    • Source and destination IP address (where is it from, where is it going)
    • Port number (which service: web traffic uses port 443, SSH uses 22, etc.)
    • Protocol (TCP, UDP, ICMP)

    A simple rule set might look like this:

    </>Code
    ALLOW  TCP   any           ->  192.168.1.10   port 443   # web server
    ALLOW  TCP   192.168.1.0/24 -> any            port 53    # DNS from internal
    DENY   any   any           ->  any                        # block everything else

    That last line matters. Good firewall rules follow a default deny approach: block everything, then only allow what you specifically need. The narrower the permitted traffic, the smaller the chance that sensitive data gets exposed or that an attacker finds a way in.

    Firewalls can sit at the edge of your network (filtering traffic going in or out of the internet) or internally between zones (filtering traffic between, say, the guest Wi-Fi and the office computers).

    How Network Segmentation Secures a Network

    Network segmentation splits one big network into smaller segments, each acting as its own distinct security zone. Each segment is walled off from the others, so devices in one segment can't just reach devices in another unless the rules allow it.

    Segmentation does three big things:

    1. Walls off sensitive or high-risk devices. A file server with employee records shouldn't be reachable from the smart fridge.
    2. Stops lateral movement. If malware infects a guest's laptop, segmentation keeps it from spreading laterally to the server room.
    3. Cuts down on unnecessary traffic. Broadcast traffic and chatter stay inside a segment instead of flooding the whole network, which also helps performance.

    A classic example: keeping guest Wi-Fi traffic completely separate from internal systems. Your friend's phone can hit the internet but can't see your network printer, your NAS, or your work laptop.

    Firewalls and Segmentation Working Together

    These two controls are stronger together. Segmentation creates the zones. Firewalls enforce the rules about what traffic can cross between those zones. One without the other is weaker:

    • Segments with no firewall rules between them? Devices can still talk freely, so the zones don't really isolate anything.
    • A firewall on a flat (unsegmented) network? You can filter edge traffic but once something's inside, it has free run of the place.

    Put them together and you get real defense in depth.

    Grouping Devices When Segmenting a Network

    Okay, so you're sold on segmentation. But how do you actually decide which devices go in which zone? You weigh three things for each device: what it does (its role), how risky it is, and what it needs for performance. There are four common ways to group.

    Grouping by Role

    Put devices together that do similar jobs. This makes troubleshooting and expansion a lot easier because you know exactly where to look when something breaks, and adding new devices of the same type is straightforward.

    Examples:

    • A segment for security cameras and their recording system
    • A segment for media equipment like streaming servers and game consoles
    • A segment for family devices like phones, tablets, and laptops

    If your Nest cam goes offline, you know which segment to check. If you add three more cameras, they slot right in.

    Grouping by Risk Level

    Some devices are trustworthy and need strong protection. Others are sketchy and need to be kept at arm's length. Sorting by risk keeps vulnerable or untrusted devices isolated so threats can't spread.

    Examples:

    • High security needed: servers and office computers holding important data. These get the strictest firewall rules protecting them.
    • Often vulnerable: IoT devices like smart TVs, smart speakers, and thermostats. These frequently ship with weak security and rarely get updated, so you isolate them so a compromised smart bulb can't reach your laptop.
    • Untrusted: guest devices on their own separate wireless segment, with their reach into internal resources restricted to basically just "the internet."

    This is probably the most important way to think about segmentation from a security standpoint.

    Grouping by Performance Needs

    Some tasks need a lot of bandwidth. Others need low latency (meaning tiny delays). Grouping these devices together lets you prioritize their traffic without the rest of the network slowing them down.

    Examples:

    • High-bandwidth: servers that stream media to multiple devices
    • Low-latency: consoles and computers for online gaming, where even small lag ruins the experience
    • High-demand: workstations doing remote rendering or video editing

    By giving these a dedicated segment, their heavy traffic doesn't clog up the rest of the network, and you can apply quality-of-service rules to make sure their packets get priority.

    Grouping by Type of User

    Different people need access to different things. Separating users into their own segments cuts down on unnecessary traffic and makes access control way simpler.

    Examples:

    • In an office: a segment for accounting and a different one for sales, since accounting needs access to financial systems that sales doesn't.
    • In a school: separate segments for technicians, teachers, and students, each with different levels of access to resources.

    Now instead of writing a firewall rule for every single user, you write one rule for the whole segment. Much cleaner.

    Picking the Right Grouping

    In the real world you'll usually combine these approaches. A school might segment by user type at the top level (staff vs. students vs. guests), then segment by role inside the staff zone (admin computers vs. classroom projectors vs. security cameras). The questions to ask for every device are:

    • What does this device do? (role)
    • How much damage would happen if it got compromised, and how likely is that? (risk)
    • What does it need to work well? (performance)
    • Who uses it? (user type)

    The answers point you toward the right segment. Good segmentation makes the network easier to manage, faster for the traffic that matters, and much harder for an attacker to move around in if they ever get a foot in the door.

    See Fiveable more often in Google

    Mark Fiveable as a preferred source and Google is more likely to show you our guides in Top Stories, with a "preferred" badge in AI Mode and AI Overviews.

    Prefer us on Google