IPv4 (aka "Legacy IP", aka "IP")

When it comes to IP, there is a lot of helpful information out there, but there is something you need to know and I'm going to be blunt about it: IPv4 is really legacy IP. You should be deploying IPv6-first and using IPv4 secondary. Anyways, I'll cover more of that later. For now, let's talk IPv4.

Subnetting and CIDR

One of the fundamental concepts of IPv4 networking is subnetting and CIDR (Classless Inter-Domain Routing). These allow you to efficiently allocate IP addresses and manage routing tables. Here's a quick breakdown:

For example, a /24 subnet contains 256 IP addresses (254 usable). By using smaller subnets, such as /28, you can allocate smaller ranges for specific needs while conserving space.

IPv4 Address Exhaustion

As of today, all Regional Internet Registries (RIRs) have exhausted their available pool of IPv4 addresses. This has led to a significant increase in IPv4 address costs on the secondary market. While Network Address Translation (NAT) has helped prolong IPv4 usage, it introduces complexities and limitations, particularly for peer-to-peer applications.

This is why adopting IPv6 is critical, but we'll get into that shortly.

IPv6 (aka "Modern IP")

IPv6 was designed to solve the problems inherent in IPv4, such as address exhaustion. With its 128-bit address space, IPv6 provides 340 undecillion (3.4 × 1038) unique addresses. But IPv6 isn't just about more addresses; it's about simplifying and modernizing networking.

Advantages of IPv6

Deploying IPv6

When deploying IPv6, the biggest hurdle is often compatibility. Many legacy systems and applications may not fully support it. However, modern operating systems, networking equipment, and even most hosting platforms are IPv6-ready.

If you're planning a new network, consider the following best practices:

Networking Tools

Over the years, I've used numerous tools to troubleshoot and manage networks. Here are a few of my go-to tools: