Internet Protocol (IP) addressing

2.6 Given a scenario, configure basic wired/wireless small office/home office (SOHO) networks

📘CompTIA A+ Core 1 (220-1201)


IP addressing is how devices on a network identify and communicate with each other. Every device on a network, like computers, printers, or servers, needs an IP address to send and receive data.

There are two main types of IP addresses:

  • IPv4 (Internet Protocol version 4)
  • IPv6 (Internet Protocol version 6)

1. IPv4

IPv4 addresses are the most common and look like this:
192.168.1.10

They use 32 bits, usually written in four groups of numbers separated by dots (called octets), each ranging from 0–255.

IPv4 addresses are divided into private and public:

Private IPv4 Addresses

  • These are used inside a network, not directly on the internet.
  • Devices like computers, printers, and phones in a home or office network use private IPs.
  • Common private ranges:
    • 10.0.0.0 – 10.255.255.255
    • 172.16.0.0 – 172.31.255.255
    • 192.168.0.0 – 192.168.255.255
  • These addresses are not routable on the internet, meaning they cannot directly access the internet without a router doing NAT (Network Address Translation).

Public IPv4 Addresses

  • These are assigned by your Internet Service Provider (ISP) and are used to communicate on the internet.
  • Example: your home router’s WAN (internet-facing) address.
  • Public addresses are globally unique, so no two devices on the internet can have the same public IP at the same time.

2. IPv6

  • IPv6 was created because IPv4 addresses are running out.
  • Uses 128 bits, written as 8 groups of 4 hexadecimal digits separated by colons. Example:
    2001:0db8:85a3:0000:0000:8a2e:0370:7334
  • IPv6 allows for practically unlimited devices on the internet.
  • IPv6 also supports auto-configuration, meaning devices can generate their own IP addresses automatically.

3. Automatic Private IP Addressing (APIPA)

  • APIPA is used when a device cannot get an IP address from a DHCP server (the server that usually assigns IPs automatically).
  • In this case, Windows assigns itself an address in the range:
    169.254.0.1 – 169.254.255.254
  • Devices can still communicate locally with each other but cannot access the internet until a valid IP is assigned.

4. Static IP Addresses

  • A static IP is manually assigned to a device.
  • The IP does not change, which is useful for devices that need a fixed address, such as:
    • Servers
    • Printers
    • Network storage
  • Example configuration in a SOHO router:
    Device: Printer → IP: 192.168.1.50, Subnet: 255.255.255.0, Gateway: 192.168.1.1

5. Dynamic IP Addresses

  • A dynamic IP is automatically assigned by a DHCP server (often the home router).
  • The IP can change over time, usually when a device reconnects to the network.
  • Example: Laptop gets IP 192.168.1.101 today, but next week it may get 192.168.1.102.

6. Subnet Mask

  • A subnet mask defines which part of the IP address is the network and which part is the device (host).
  • Example:
    • IP: 192.168.1.10
    • Subnet mask: 255.255.255.0
    • This means the network is 192.168.1.0 and devices can have addresses 192.168.1.1 to 192.168.1.254.
  • Important for routers and devices to know which IP addresses are inside the local network and which are outside.

7. Gateway

  • A gateway is the device that connects your local network to another network, usually the internet.
  • In a home or small office network, this is typically the router.
  • Example:
    • IP of your computer: 192.168.1.10
    • Gateway (router): 192.168.1.1
  • Devices send all traffic outside the network to the gateway.

Putting it All Together in a SOHO Network

  1. Router gets a public IP from the ISP.
  2. Router assigns private IPs to devices inside the network using DHCP.
  3. Some devices (like printers or servers) may use static IPs for consistency.
  4. Each device knows:
    • Its own IP
    • Subnet mask (to know which addresses are local)
    • Gateway (for internet access)
  5. If DHCP fails, devices may use APIPA to communicate locally.

Key Points for the Exam

  • Know the difference between IPv4 vs IPv6.
  • Recognize private vs public IP addresses.
  • Understand static vs dynamic IP assignment.
  • Know the purpose of subnet mask and gateway.
  • Understand APIPA for local network troubleshooting.
Buy Me a Coffee