IP Addresses & Routing

IPv4, IPv6, subnets, NAT and the routing system that moves packets. 45 articles.

IP Address Basics

What Is an IP Address?An IP address tells the network where to deliver data. Learn how it works, where yours comes from and how to read both versions.Public vs. Private IP AddressesTell public and private IP addresses apart, understand how your router connects them and decide when the difference matters to you.Static vs. Dynamic IP AddressesCompare fixed and changing IP addresses, learn when you really need a static one and see the cheaper ways to get a stable name or device.How to Find Your IP Address on Any DeviceStep-by-step ways to find your local and public IP address on Windows, macOS, Linux, iPhone, Android and your router.What Your IP Address Reveals About YouSee what websites, advertisers and others can and cannot learn from your IP address, and which privacy steps actually change that.How IP Geolocation Works and Why It Is Often WrongLearn how databases guess a location from an IP address, why the guess misses and what you can do when a site puts you in the wrong place.The IPv4 Address Shortage and the Market for AddressesUnderstand why IPv4 addresses ran short, how networks cope, how blocks are bought, sold and leased, and what to check before acquiring one.Reserved and Special IPv4 Ranges You Should RecognizeA practical field guide to private, loopback, link-local, shared, documentation, multicast and other special IPv4 address blocks.Loopback and 127.0.0.1: Talking to Yourself on PurposeLearn what the loopback address does, how localhost relates to it, how to use it for testing and why binding to it affects security.

IPv6

IPv6 Explained for People Who Know IPv4Map your IPv4 knowledge onto IPv6: addresses, prefixes, configuration, neighbor discovery, NAT, firewalls and the habits to unlearn.How to Read and Shorten an IPv6 AddressLearn the hexadecimal groups, the two shortening rules, the recommended written form and how to expand any IPv6 address by hand.IPv6 Address Types: Global, Link-Local and Unique LocalIdentify every common kind of IPv6 address, know where each one works and understand why a single interface holds several at once.SLAAC and DHCPv6: How Devices Get IPv6 AddressesFollow how IPv6 hosts configure themselves from router advertisements and DHCPv6, what the flags mean and how to troubleshoot failures.Neighbor Discovery: What Replaced ARP in IPv6See how IPv6 devices find link-layer addresses, routers and duplicates using Neighbor Discovery, and how to inspect and protect it.Dual Stack, Tunnels and Translation: Moving to IPv6Compare dual stack, tunneling and NAT64-style translation, learn where each fits and plan an IPv6 rollout without breaking IPv4 users.Does IPv6 Make Your Network More or Less Secure?See where IPv6 changes your network's risk, which old assumptions stop holding and what to check on your router and devices.How to Check Whether You Have Working IPv6Test IPv6 step by step on Windows, macOS, Linux and phones, read the results and find where the chain breaks if it fails.IPv6 Subnetting Without the HeadacheLearn to split an IPv6 prefix into subnets by counting hex digits, with worked plans for a home and a small organization.

Subnetting & CIDR

Subnetting Explained From the Ground UpUnderstand what a subnet is, how masks split an address, and how to divide a network into smaller ones with a worked example.CIDR Notation: What the Slash MeansDecode the slash in addresses like 192.168.1.0/24, work out block sizes and see why routers and firewalls rely on it.Subnet Masks and How to Calculate ThemConvert between masks and prefix lengths, then find any network, broadcast and host range using the block size method.How to Plan a Subnet Scheme for a Small OfficeBuild a small office address plan step by step: group devices, pick ranges, assign VLANs, set firewall rules and document it.Variable Length Subnet Masks in PracticeCarve one address block into subnets of different sizes with VLSM, using a largest-first method and a full worked example.Route Summarization and SupernettingCombine many routes into one shorter prefix, check alignment with simple arithmetic and avoid black holes and overreach.Network, Broadcast and Host AddressesLearn which addresses in a subnet you can assign, why two are reserved and how /31, /32, cloud networks and IPv6 differ.Wildcard Masks and Where You Meet ThemRead and write wildcard masks for access lists and routing statements, convert them from subnet masks and avoid classic errors.A Subnetting Cheat Sheet With Worked ExamplesKeep every prefix, mask, block size and host count on one page, with step-by-step examples and quick checks for IPv4 and IPv6.

Routing & BGP

How Routers Decide Where to Send a PacketFollow one packet through a router: table lookup, longest prefix match, tie-breaking, next hop and what gets rewritten.BGP Explained: The Protocol That Holds the Internet TogetherSee how networks announce addresses to each other with BGP, how paths are chosen and why one bad announcement can spread widely.Autonomous Systems and AS NumbersLearn what an autonomous system is, who assigns AS numbers, which ranges are reserved and how to look up the network behind an address.BGP Hijacks and Route LeaksSee how false or misdirected route announcements pull internet traffic off course, how to spot them and what networks do to stop them.RPKI: Putting Signatures on Internet RoutesUnderstand route origin authorizations, validation states and how to publish and check RPKI data without cutting off your own network.OSPF and Other Interior Routing ProtocolsLearn how routers inside one organization share paths, how OSPF builds its map and how it compares with RIP, IS-IS and EIGRP.Anycast: One Address, Many LocationsLearn how one IP address can be served from many places at once, why DNS and CDNs rely on it and where the technique gets tricky.TTL and Hop Limits: How Packets Avoid Looping ForeverFind out how a small counter in every IP packet stops routing loops, powers traceroute and can even act as a simple safety check.How to Use Traceroute to See the Path of Your TrafficRun traceroute on Windows, macOS or Linux, read each column correctly and avoid the common mistakes that point blame at the wrong router.

NAT, ARP & Local Delivery

NAT Explained: How Many Devices Share One AddressUnderstand how your router lets a whole household share one public IP address, what the translation table does and where NAT causes trouble.Carrier-Grade NAT and the Problems It CausesLearn how to tell if your provider shares your public address, what breaks as a result and which workarounds are realistic.MAC Addresses vs. IP AddressesSee why every connection uses two kinds of address, what each one is for and how private Wi-Fi addresses change the picture.ARP: How Devices Find Each Other on a Local NetworkLearn how ARP turns a local IP address into a hardware address, how to read the cache and what to check when devices can't be reached.DHCP Explained: The Four-Message ExchangeFollow how a device gets its IP address automatically, what comes with the lease and how to fix things when the exchange fails.MTU, MSS and FragmentationUnderstand packet size limits, spot the classic symptoms of an MTU problem and find the right value with a simple ping test.UPnP: Convenience and RiskLearn what UPnP does on your router, why it can open ports without asking and how to decide whether to leave it switched on.NAT Traversal: How Calls and Games Punch Through RoutersSee how two devices behind home routers find a direct path using STUN, hole punching and ICE, and when a relay has to take over.Default Gateway: The Door Out of Your NetworkLearn what the default gateway does, how to find it on any computer and how to fix the faults that appear when it is wrong or missing.