
About Lesson
Types of IPv4 Addresses
Explain public, private, and reserved IPv4 addresses.
Public and Private IPv4 Addresses
- As defined in in RFC 1918, public IPv4 addresses are globally routed between internet service provider (ISP) routers.
- Private addresses are common blocks of addresses used by most organizations to assign IPv4 addresses to internal hosts.
- Private IPv4 addresses are not unique and can be used internally within any network.
- However, private addresses are not globally routable.
Network Address and Prefix | RFC 1918 Private Address Range |
---|---|
10.0.0.0/8 | 10.0.0.0 – 10.255.255.255 |
172.16.0.0/12 | 172.16.0.0 – 172.31.255.255 |
192.168.0.0/16 | 192.168.0.0 – 192.168.255.255 |
Routing to the Internet
- Network Address Translation (NAT) translates private IPv4 addresses to public IPv4 addresses. NAT is typically enabled on the edge router connecting to the internet. It translates the internal private address to a public global IP address.
Special Use IPv4 Addresses
- Loopback addresses
-
- 127.0.0.0 /8 (127.0.0.1 to 127.255.255.254)
- Commonly identified as only 127.0.0.1
- Used on a host to test if TCP/IP is operational.
- Link-Local addresses
-
- 169.254.0.0 /16 (169.254.0.1 to 169.254.255.254)
- Commonly known as the Automatic Private IP Addressing (APIPA) addresses or self-assigned addresses.
- Used by Windows DHCP clients to self-configure when no DHCP servers are available.
Legacy Classful Addressing
- RFC 790 (1981) allocated IPv4 addresses in classes
- Class A (0.0.0.0/8 to 127.0.0.0/8)
- Class B (128.0.0.0 /16 – 191.255.0.0 /16)
- Class C (192.0.0.0 /24 – 223.255.255.0 /24)
- Class D (224.0.0.0 to 239.0.0.0)
- Class E (240.0.0.0 – 255.0.0.0)
- Classful addressing wasted many IPv4 addresses. Classful address allocation was replaced with classless addressing which ignores the rules of classes (A, B, C).
Assignment of IP Addresses
- The Internet Assigned Numbers Authority (IANA) manages and allocates blocks of IPv4 and IPv6 addresses to five Regional Internet Registries (RIRs). The Internet Assigned Numbers Authority (IANA) manages and allocates blocks of IPv4 and IPv6 addresses to five Regional Internet Registries (RIRs).
Other related topics
Topic Title | Topic Objective |
---|---|
IPv4 Address Structure | Describe the structure of an IPv4 address including the network portion, the host portion, and the subnet mask. |
IPv4 Unicast, Broadcast, and Multicast | Compare the characteristics and uses of the unicast, broadcast, and multicast IPv4 addresses. |
Types of IPv4 Addresses | Explain public, private, and reserved IPv4 addresses. |
Network Segmentation | Explain how subnetting segments a network to enable better communication. |
Subnet an IPv4 Network | Calculate IPv4 subnets for a /24 prefix. |
VLSM | Variable length subnet mask is a computer networking technique to divide an IP network into subnets with different subnet masks |
Other useful information
Join the conversation