Network+ Lesson 2 — IP Addressing Basics

CompTIA Network+ • Lesson 2

IP Addressing Basics

If networks are how devices talk, IP addresses are how devices are identified. This lesson builds the foundation for understanding who is talking, where traffic is going, and why communication fails when addressing is wrong.

IPv4 Focus Troubleshooting Framed Quiz + Unlock
By the end of this lesson
  • Understand what an IP address does
  • Recognize IPv4 format
  • Know public vs private IP basics
  • Understand static vs dynamic addressing
  • Understand subnet mask and default gateway at a beginner level
Core idea

What Is an IP Address?

An IP address is a logical address used to identify a device on a network. It helps data know where to go and where it came from.

Simple definition:

An IP address is like a device’s network address.

  • Devices need addresses so traffic can be sent to the right destination.
  • Without correct addressing, devices may connect physically but still fail to communicate.
  • Addressing problems are one of the most common causes of network issues.
Why this matters

What Network Techs Start Looking For

When a device cannot reach a server, printer, or website, one of the first questions is: “Does it even have the right IP information?”

  • Does the device have an IP address?
  • Is it on the right network?
  • Does it have a valid gateway?
  • Was the address assigned correctly?
IPv4 format

What an IPv4 Address Looks Like

In this lesson, we focus on IPv4. An IPv4 address is usually written as four numbers separated by periods.

192.168.1.25 192 168 1 25 Octet Octet Octet Octet IPv4 = four numeric parts separated by periods
Beginner note:

You do not need deep binary math yet. Right now, focus on recognizing format and purpose.

Big distinction

Public vs Private IP Addresses

Not every IP address is meant to be used directly on the public internet. Many devices inside homes and businesses use private IP addresses internally.

  • Private IP: used inside local networks
  • Public IP: used to identify a network on the internet
Type Used where Example idea Why it matters
Private IP Inside homes, offices, schools 192.168.x.x style home addressing Used internally inside the LAN
Public IP Internet-facing connection Assigned by ISP Represents the network outwardly
Simple view:

Your laptop usually has a private IP on your local network, while your home router’s internet side uses a public IP from the ISP.

Assignment styles

Static vs Dynamic IP

Devices can either keep a manually assigned address or receive one automatically.

Static IP

Manually assigned and usually stays the same unless someone changes it.

Dynamic IP

Automatically assigned, usually by DHCP, and may change over time.

  • Printers and servers are often better candidates for static addressing.
  • User laptops and phones commonly use dynamic addressing.
  • Wrong static settings can break communication quickly.
Two terms to know

Subnet Mask and Default Gateway

Subnet Mask

The subnet mask helps define which part of the IP address refers to the network and which part refers to the device.

Beginner-level view:

The subnet mask helps devices figure out who is local and who is not.

Default Gateway

The default gateway is the device a host sends traffic to when the destination is outside the local network.

Beginner-level view:

The gateway is the “way out” of the local network.

PC 192.168.1.25 Gateway / Router 192.168.1.1 Outside Network Internet / remote site If traffic is not local, send it to the default gateway
Common issue

No IP Address

A device may connect to Wi-Fi or Ethernet physically but still fail to communicate if it never receives valid IP information.

Common issue

Wrong Gateway

A device may talk to nearby devices but fail to reach internet or remote resources if the default gateway is wrong.

Common issue

Bad Static Settings

Manual addressing mistakes can create hard-to-spot failures, especially when IP, mask, or gateway do not match the local network.

Interactive mini drills

Quick IP Thinking Drills

These drills are here to build intuition before deeper addressing lessons.

Drill 1

What is the main job of an IP address?

Why: IP addressing gives a device a logical network identity so traffic can be sent correctly.

Drill 2

Which is more likely inside a home LAN?

Why: Most home devices use private addresses internally, while the internet-facing side uses a public IP.

Drill 3

If a device needs to send traffic outside its local network, where does it usually send that traffic first?

Why: The default gateway is the path out of the local network for non-local destinations.

Drill 4

Which addressing style is usually assigned automatically?

Why: Dynamic addressing is typically handed out automatically, often by DHCP.
Remember this

Foundational Addressing Questions

  • Does the device have a valid IP address?
  • Is the address appropriate for this local network?
  • Does the subnet mask make sense?
  • Is the default gateway present and correct?
  • Is the device using static or dynamic assignment?
Troubleshooting habit

What Strong Beginners Start Doing

  • Check addressing before blaming hardware
  • Separate local access from internet access
  • Look for missing or incorrect gateway settings
  • Understand that wrong logical settings break communication
  • Slow down and verify each network detail step by step
Lesson quiz

Network+ Lesson 2 Quiz

Score at least 75% to unlock the next lesson CTA.

1) What is the main purpose of an IP address?

Rationale: An IP address provides a logical network identity so data can be sent to the right destination.

2) Which addressing type is most commonly used inside a home network?

Rationale: Most home and office devices use private addressing internally on the LAN.

3) Which term describes an address assigned automatically, often by DHCP?

Rationale: Dynamic IP addresses are typically assigned automatically and can change over time.

4) What is the best beginner-level description of the default gateway?

Rationale: The default gateway is where a host sends traffic when the destination is outside the local network.

5) What does the subnet mask help define?

Rationale: The subnet mask helps determine which portion of the address identifies the network and which identifies the host.

6) A device can reach local systems but not the internet. Which setting deserves suspicion?

Rationale: If local access works but outside access fails, the default gateway is one of the first things to check.
Need 75% or higher to unlock the next lesson.
Lesson marked complete.

Suggested Next Page

Next, learn how devices automatically get IP information and how networks hand out addressing in the real world.

Next: DHCP and DNS Basics