Networking: IPv4
What It Is
IPv4 (Internet Protocol version 4) is the addressing scheme most IP networks — including most radio system IP backhaul described in IP Networking in Two-Way Radio Systems — have historically run on. An IPv4 address is a 32-bit value, conventionally written as four decimal numbers separated by dots (e.g. 192.168.1.1). Each address has two conceptual parts: a network identifier (which section of the network a device belongs to) and a host identifier (which specific device within that section).
Subnetting and CIDR
Subnetting is the practice of splitting one larger network into smaller sub-networks ("subnets"), controlled by a subnet mask — a 32-bit value that marks how many leading bits of the address represent the network portion versus the host portion (commonly written in shorthand as a slash and a number, e.g. /24). This slash notation is called CIDR (Classless Inter-Domain Routing), introduced in 1993 to replace the earlier rigid "classful" system that only offered three fixed network sizes — see IP Address Classes for that older classful scheme and why it was replaced. Subnetting improves address utilization efficiency, reduces unnecessary broadcast traffic, and makes it easier to isolate and secure different segments of a network from each other — directly relevant to segmenting radio-system infrastructure networks away from general corporate IT traffic, as already discussed in IP Networking in Two-Way Radio Systems.
Within any given subnet, two addresses are reserved and cannot be assigned to a host: the network address (all host bits set to 0, identifying the subnet itself) and the broadcast address (all host bits set to 1, used to reach every device on that subnet at once — see Unicast, Broadcast, and Multicast). A common troubleshooting-adjacent mistake is assuming a /24 subnet always yields 254 usable host addresses — that's only true for a /24 specifically; the usable-host count changes with the mask (e.g., a /30, commonly used for a point-to-point link between two routers, has only 2 usable addresses), and some specialized configurations use even smaller allocations.
Special and Reserved Address Ranges
A few IPv4 ranges have a fixed, special meaning worth recognizing on sight:
- 127.0.0.0/8 (loopback) — always refers back to the device itself (
127.0.0.1being the most common example); traffic to this range never actually leaves the host. - 169.254.0.0/16 (link-local / APIPA) — a device that fails to obtain an address from DHCP and has no static configuration will typically self-assign an address from this range (a mechanism commonly called APIPA, Automatic Private IP Addressing, on Windows) so it can still communicate on its immediate local segment. Seeing a device with a 169.254.x.x address is a strong, specific symptom: it means that device's DHCP request failed (DHCP server unreachable, scope exhausted, a firewall blocking the DHCP UDP ports, or a physical/switch problem) — not a general network outage, since the device did successfully self-configure enough to exist on the wire.
The Address Shortage That Led to IPv6
IPv4's 32-bit address space provides only about 4.3 billion unique addresses — plenty in the 1980s, but far too few for a world with billions of internet users and tens of billions of connected devices. This shortage is the core reason IPv6 was developed.
Common Misunderstandings
- "Any dotted-decimal number in the subnet is a usable host address" — not the network and broadcast addresses at the ends of the range, which are reserved as described above.
- "An APIPA (169.254.x.x) address means the network is down" — it specifically means DHCP failed for that device; other devices on the same segment with successful DHCP leases may be working fine, which is itself a useful diagnostic clue pointing at that one device's DHCP path rather than the whole network.
- "A /24 is a /24 is a /24" — the usable host count and the network/broadcast addresses all shift with the mask; always check the actual subnet mask in use rather than assuming a default.
Related Pages
- Networking: IPv6
- Networking: DHCP
- IP Address Classes (A, B, C, D, E)
- Unicast, Broadcast, and Multicast
- NAT (Network Address Translation)
- IP Networking in Two-Way Radio Systems
References
See also: CTI product documentation
This article is part of the CTI Products Knowledge Base. Questions about RadioPro or MCN products? Call +1 (513) 595-5900 or email info@ctiproducts.com.
Informational only. This article is general background and is not engineering, safety, legal or regulatory advice. Verify requirements with the equipment manufacturer and the applicable authority before relying on it. Product names and trademarks belong to their respective owners.