Get AI summaries of any video or article — Sign up free
what is an IP Address? // You SUCK at Subnetting // EP 1 thumbnail

what is an IP Address? // You SUCK at Subnetting // EP 1

NetworkChuck·
5 min read

Based on NetworkChuck's video on YouTube. If you like this content, support the original creators by watching, liking and subscribing to their content.

TL;DR

IP addresses are required for devices to communicate on local networks and across the internet.

Briefing

An IP address is the “phone number” that lets devices communicate on the internet and inside local networks—and the key to understanding it is learning how subnet masks and the default gateway determine where traffic goes. Without an IP address, devices can’t reliably send messages to other devices, whether that’s a smart watch talking to a phone, a laptop reaching Netflix, or any device in a home or business trying to connect beyond its local neighborhood.

The video frames IP addressing as a practical necessity: most everyday devices—phones, computers, smart home gadgets—need an IP address to exchange data. When a device joins a Wi‑Fi network, the router assigns it an address using DHCP, described through an analogy of a “router” acting like a coordinator that hands out addresses to every connected device. The result is that a device can reach other devices on the same network and can also reach destinations outside the network (like websites) by handing off traffic to the router.

An IP address itself is shown as four numbers separated by dots (four octets). The common home-network pattern highlighted is 192.168.1.x, where the “x” varies per device. The reason many networks start with 192.168.1 is tied to private addressing conventions; the video uses the subnet mask to show how the address is structured. The subnet mask (often shown as 255.255.255.0 in this example, sometimes displayed as “net mask”) reveals which parts of the IP address are fixed for the network and which part can change for individual devices.

A key “hack” is introduced: when the subnet mask has 255 in an octet, the corresponding octet in the IP address is locked in across the network. In the example, 255.255.255.0 means the first three octets stay the same (so devices share 192.168.1.*), while the last octet is flexible and can range from 0 to 255. That split is described as the network portion (the shared “street” or neighborhood) and the host portion (the device-specific “house number”).

That distinction matters because devices decide whether a destination is “local” (same network) or “remote” (different network). If the destination isn’t on the same network, the device sends the traffic to its default gateway—also called the default router—so the router can forward it onward. The video emphasizes that the default gateway is effectively the exit point for getting to outside networks.

Finally, the video turns to capacity: with a subnet mask of 255.255.255.0, there are 256 possible addresses in the last octet (0–255), but not all are usable. Two are reserved: the network address (first IP, e.g., 192.168.1.0) and the broadcast address (last IP, e.g., 192.168.1.255). The router also consumes an address as the default gateway. After accounting for these, the usable count becomes 250 IP addresses for devices—an important baseline for understanding subnetting in the most common home-network setup.

Cornell Notes

IP addresses act like device “phone numbers” that enable communication both within a local network and across the internet. A router assigns IP addresses to devices via DHCP, and the subnet mask determines which parts of an IP address are fixed for the network versus which part identifies individual hosts. In the common example 192.168.1.x with subnet mask 255.255.255.0, the first three octets (192.168.1) stay constant, while the last octet can vary from 0 to 255. Devices use the network portion to decide whether a destination is local; if not, they send traffic to the default gateway (default router). Although 256 addresses exist in the range, the network address and broadcast address are reserved, and the router uses one address—leaving 250 usable host IPs.

How does a device get an IP address when it joins a home or business Wi‑Fi network?

A router hands out IP addresses to connected devices using DHCP. The video’s takeaway is that the router acts like a coordinator: every device that connects gets an IP address so it can communicate on the network and, through the router, reach destinations outside the network.

What does the subnet mask tell you about which parts of an IP address are “locked in” versus “variable”?

The subnet mask reveals the network portion versus the host portion. A practical rule is used: wherever the subnet mask shows 255 in an octet, the corresponding octet in the IP address stays the same across the network. With 255.255.255.0, the first three octets are fixed (e.g., 192.168.1), and the last octet is the host identifier that can change per device.

Why do many home networks commonly look like 192.168.1.x?

The video ties this pattern to private addressing conventions and uses the subnet mask to show why it repeats. With subnet mask 255.255.255.0, the first three octets are locked by the 255 values, so devices on that network share 192.168.1.* while only the last octet varies.

How does a device decide whether it can reach a destination directly or must use the default gateway?

The device compares the destination’s IP address to its own network portion (derived from the subnet mask). If the destination is on the same network (same “neighborhood”/network portion), it can communicate locally. If it’s outside that network, the device sends the traffic to the default gateway (default router), which forwards it to the next network.

With subnet mask 255.255.255.0, how many IP addresses are available, and why isn’t it the full 256?

The last octet can range from 0 to 255, giving 256 total addresses. But two are reserved: the network address (first IP, e.g., 192.168.1.0) and the broadcast address (last IP, e.g., 192.168.1.255). The router also uses one address as the default gateway. Subtracting these leaves 250 usable host IP addresses.

What are the network address and broadcast address, and what happens if you try to use them like normal hosts?

The network address is the first IP in the subnet (e.g., 192.168.1.0) and is reserved for identifying the network itself. The broadcast address is the last IP in the subnet (e.g., 192.168.1.255) and is used to send messages to all hosts on that subnet. Using them as ordinary device addresses breaks expected addressing behavior.

Review Questions

  1. In a subnet with mask 255.255.255.0, which octets of an IP address are fixed, and which octet identifies the host?
  2. Explain the role of the default gateway when a device needs to reach a destination outside its local network.
  3. For 192.168.1.0/24, list the network address, broadcast address, and the number of usable host addresses.

Key Points

  1. 1

    IP addresses are required for devices to communicate on local networks and across the internet.

  2. 2

    Routers assign IP addresses to devices using DHCP when devices connect to Wi‑Fi.

  3. 3

    An IP address is four octets; the subnet mask determines which octets define the network portion versus the host portion.

  4. 4

    A subnet mask octet of 255 means the corresponding IP octet is locked for all devices on that network.

  5. 5

    If a destination isn’t on the same network portion, devices send traffic to the default gateway (default router).

  6. 6

    In a 255.255.255.0 subnet, there are 256 total addresses (0–255), but the network address and broadcast address are reserved.

  7. 7

    After reserving the network address, broadcast address, and the router’s default gateway address, 250 usable host IPs remain in the example subnet.

Highlights

A router uses DHCP to hand out IP addresses whenever devices join a network.
Subnet mask 255.255.255.0 locks the first three octets (e.g., 192.168.1) and leaves the last octet for hosts.
Default gateway is the mechanism that gets traffic out of the local network when the destination isn’t on the same subnet.
Even with 256 possible addresses in a /24 range, only 250 are usable because the network and broadcast addresses are reserved and the router consumes one address.

Topics

  • IP Address Basics
  • Subnet Mask
  • Default Gateway
  • DHCP
  • Subnetting Capacity

Mentioned

  • DHCP
  • CCNA
  • CCMP
  • IP
  • IPV4