TechKnowSurge
CompTIA Network+ 1.7 Cisco CCNA 1.7 Cisco CCST Networking 2.2 Cisco CCNA 1.6
VideoNetworkFree

Address Types

IPv4 addresses are classified in multiple ways, including by class (A through E), by role (network, host, or broadcast), and by special designations such as private ranges, the quad-zero address, and the loopback address. Recognizing each type on sight is a foundational networking skill tested on major certification exams.

Complete this video to capture a CTF flag worth 1 point.

About this video

IPv4 addresses are classified along several dimensions simultaneously, and understanding all of them is essential for working with networks at any level. The most fundamental layer is the classful system, which divides the address space into Classes A through E based on the value of the first octet. Within that framework, every address also serves a specific role: a network address identifies the subnet itself, host addresses are assigned to individual devices, and the broadcast address is used to reach all hosts on a given network at once. Private addressing adds another layer, designating specific ranges within Classes A, B, and C — such as 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 — for use inside internal networks rather than on the public internet. These private ranges still contain network, host, and broadcast addresses and follow the same classful rules, but they are not routable across the global internet. Two additional address types fall outside the standard classification scheme but are equally important to recognize. The quad-zero address, 0.0.0.0, represents the entire IPv4 address space and is used to indicate all networks within the hierarchy — it is the address of last resort in routing contexts and is never assigned to a device. The loopback range, 127.0.0.0 through 127.255.255.255, is reserved for a device to communicate with itself. The address 127.0.0.1 is the most commonly used value in this range and is automatically assigned to the loopback interface on virtually every networked device. Sending traffic to this address tests the local network stack without putting any packets on the physical network, making it useful for diagnostics and for locally hosted services such as web servers accessed during development. Neither the quad-zero nor any loopback address is ever assigned to a live network interface for external communication. Being able to examine an IPv4 address and immediately determine its class, functional role, private status, and whether it falls into a special-use range is a practical skill that applies directly to network configuration, troubleshooting, and security analysis. It is also a topic that appears consistently across major networking and cybersecurity certification exams, making fluency with all of these address types a necessary foundation before advancing to more complex subnetting and routing concepts.

What you'll learn

What's covered

IPv4 Address Types

Aligned to

CompTIA Network+
1.7 Given a scenario, use appropriate IPv4 network addressing.
Cisco CCNA
1.7 Describe private IPv4 addressing.
1.6 Configure and verify IPv4 addressing and subnetting.
Cisco CCST Networking
2.2 Identify IPv4 addresses and subnet formats.

Key terms

IP Address
A numerical label assigned to each device connected to a network that uses the Internet Protocol.
Subnet Mask
A 32-bit number that divides an IP address into network and host portions.
Network Address Translation
NAT
A method that maps private IP addresses to a public IP address, allowing multiple devices to share a single public IP.
Classful Addressing
An early IPv4 addressing scheme that divided the address space into fixed classes (A, B, and C for hosts; D for multicast; E reserved) based on the leading bits of the address, with each class defining a fixed boundary between the network and host portions. Classful addressing was replaced by CIDR because it wasted large blocks of address space.
Private IP Address
An IP address from a reserved range (Class A: 10.0.0.0–10.255.255.255, Class B: 172.16.0.0–172.31.255.255, Class C: 192.168.0.0–192.168.255.255) used within private networks and not routable on the public internet.
Broadcast Address
The last address in an IP subnet range, formed when all host bits are set to one, used to send a single packet to every device on that network simultaneously.
Network Address
The first address in an IP network range that identifies the network itself and cannot be assigned to a host. It is formed when all host bits are set to zero.
Loopback Address
The reserved IPv4 address 127.0.0.1 (within the 127.0.0.0/8 range) that a device uses to send traffic to itself, allowing the local network stack to be tested without sending packets onto a physical network. Pinging 127.0.0.1 is a quick way to verify that a device's TCP/IP stack is functioning.
Quad-Zero Address
The IPv4 address 0.0.0.0, used to represent all networks or an unspecified address, commonly indicating the default route that encompasses all IP destinations.

Transcript

Ways We Classify Addresses

We've been talking about network addresses, we've been talking about broadcast addresses, host addresses, we've been talking about classes — a lot of different ways that we can classify these different addresses. I wanted to, number one, be able to show you some ways that we classify these addresses, but also, number two, introduce a couple of other types of addresses that are out there. It's going to be important, when we're identifying these different types of addresses, to also be able to identify these other types of addresses.

First of all, we classify addresses from a classful perspective. We've got A, B, C, D and E, so they fall into one of these categories here. That's one way that we classify these different address types. I'm just going to start a list of the different ways we classify things, so here's the list that we've got going on.

Another way that we've already been talking about is we have networks, we've got hosts, we've got broadcast addresses. So this is another way of looking at different address types. Not only does it fall under A, B, C, D or E, but we also have these network, host and broadcast. So here's our list that we're creating here, and now I've got network, hosts and broadcasts.

Private Addressing

There is also private addressing. Private addressing still falls within class A, B and C. You'll still have a broadcast address, you'll still have a network address, you'll still have usable hosts within these ranges, but these are just another way of classifying these different addresses.

You'll need to be familiar with these different ranges, so be familiar with the class A private addressing, be familiar with class B, be familiar with the class C private addressing. So make sure you've got this down as well. There you have it, we added that to our list — now we have private addresses as well.

The Quad Zero Address

Then we have what's called a quad 0 address. This is everything. This is the network of networks. This is to specify all of everything when it comes to IPv4.

Remember, we have these network addresses that can't be used within every single one of our networks — within class A, within class B, within class C — that they have a certain address that specifies a network. That's part of the hierarchy of how things go up: it all trickles up to this quad 0, or 0.0.0.0. So that is something to specify everything within this hierarchy and all other addresses underneath it.

The 127 Network and the Loopback

Then we have the 127 network. The 127 we know is a class A, so it's the whole range, it's everything from 127.0.0.0 to 127.255.255.255. However, typically the loopback is usually assigned to the 127.0.0.1, but it does take up the whole spectrum.

So what is the loopback, or the 127 network, or the 127.0.0.1? Loopback is essentially its own interface. If you have a network card, then one of the things it does is it assigns itself the 127.0.0.1, or something within this range, for testing purposes. So if you were to get onto your computer and ping 127.0.0.1, it would then ping itself. Now, that packet wouldn't actually go out onto the network and come back into it. What it's doing is just testing that network interface's network stack on there and making sure that it at least has some basic connectivity. If you were to unplug it, then it wouldn't have that basic connectivity and it would fail.

The other area that we see this in is for things like if you're testing your website, or if you're testing something onto the machine, or if it needs to access something on the machine. An example of that is, let's say you have a web server and you want to test the web page on the web server. One way to do that might be that you bring up a web browser, type in 127.0.0.1, hit enter, and then what it will do is it will access its own web server and then pull that up onto the screen, so you can test that out. So 127.0.0.1 is the loop address, essentially saying it's itself. That is the loopback address, and it's just something to be aware of. It's not something you would ever assign out to a network — it wouldn't work that way.

Putting It Together

Here are some ways that we can categorize these different things. We've got class A, B, C, D and E. We've got the network, the host and the broadcast. We've got private addresses. We've got quad zero. We've got the loopback.

One thing that you're going to need to be able to do is look at an IP address and determine what class it's in, determine whether it's a network, host or broadcast, determine whether it's a private address, make sure it's not a quad zero address, make sure it's not a loopback address. You're going to need to be able to identify all of these, so I'm bringing this up all at once, and then we'll do some exercises later on to identify what it is that you're looking at. You'll see test questions on some certification tests about this.

About TechKnowSurge

TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.

Explore free tools and programs →