A definition of IPv4
Internet Protocol version 4 (IPv4) is the fourth edition of the Internet Protocol. It is a system of identifying individual computers and digital devices on the Internet by assigning each one with a unique address.
IPv4 address consists of a set of four numbers separated by a period character (“.”), often referred to as a “dot.” Each number can be from 0 to 254. Some addresses may not be assigned because they are reserved for special uses. IPv4 can accommodate up to 4 billion unique addresses, but these have already been used up as the Internet continues to grow.
You can think of IPv4 as the unique ID which a computer, smartphone, or game console displays to communicate with similar devices.
TYPES OF IPv4
In the IPv4 IP address space, there are five classes: A, B, C, D and E. Each class has a specific range of IP addresses (and ultimately dictates the number of devices you can have on your network). Primarily, class A, B, and C are used by the majority of devices on the Internet. Class D and class E are for special uses.
The list below shows the five available IP classes, along with the number of networks each can support and the maximum number of hosts (devices) that can be on each of those networks. The four octets that make up an IP address are conventionally represented by a.b.c.d – such as 127.10.20.30.
Additionally, information is also provided on private addresses and loop address (used for network troubleshooting).
Class A Public Address
Class A addresses are for networks with large number of total hosts. Class A allows for 126 networks by using the first octet for the network ID. The first bit in this octet, is always set and fixed to zero. And next seven bits in the octet is all set to one, which then complete network ID. The 24 bits in the remaining octets represent the hosts ID, allowing 126 networks and approximately 17 million hosts per network. Class A network number values begin at 1 and end at 127.
- IP Range: 126.96.36.199 to 188.8.131.52
- First octet value range from 1 to 127
- Subnet Mask: 255.0.0.0 (8 bits)
- Number of Networks: 126
- Number of Hosts per Network: 16,777,214
Class B Public Address
Class B addresses are for medium to large sized networks. Class B allows for 16,384 networks by using the first two octets for the network ID. The two bits in the first octet are always set and fixed to 1 0. The remaining 6 bits, together with the next octet, complete network ID. The 16 bits in the third and fourth octet represent host ID, allowing for approximately 65,000 hosts per network. Class B network number values begin at 128 and end at 191.
- Range: 184.108.40.206 to 220.127.116.11
- First octet value range from 128 to 191
- Subnet Mask: 255.255.0.0 (16 bits)
- Number of Networks: 16,382
- Number of Hosts per Network: 65,534
Class C Public Address
Class C addresses are used in small local area networks (LANs). Class C allows for approximately 2 million networks by using the first three octets for the network ID. In class C address three bits are always set and fixed to 1 1 0. And in the first three octets 21 bits complete the total network ID. The 8 bits of the last octet represent the host ID allowing for 254 hosts per one network. Class C network number values begin at 192 and end at 223.
- Range: 192.0.0.0 to 18.104.22.168
- First octet value range from 192 to 223
- Subnet Mask: 255.255.255.0 (24 bits)
- Number of Networks: 2,097,150
- Number of Hosts per Network: 254
Class D Address Class
Classes D are not allocated to hosts and are used for multicasting.
- Range: 22.214.171.124 to 126.96.36.199
- First octet value range from 224 to 239
- Number of Networks: N/A
- Number of Hosts per Network: Multicasting
Class E Address Class
Classes E are not allocated to hosts and are not available for general use. They are reserved for reseach purposes.
- Range: 240.0.0.0 to 255.255.255.255
- First octet value range from 240 to 255
- Number of Networks: N/A
- Number of Hosts per Network: Research/Reserved/Experimental
Within each network class, there are designated IP address that is reserved specifically for private/internal use only. This IP address cannot be used on Internet-facing devices as that are non-routable. For example, web servers and FTP servers must use non-private IP addresses. However, within your own home or business network, private IP addresses are assigned to your devices (such as workstations, printers, and file servers).
- Class A Private Range: 10.0.0.0 to 10.255.255.255
- Class B Private APIPA Range: 169.254.0.0 to 169.254.255.255
- Automatic Private IP Addressing (APIPA) is a feature on Microsoft Windows-based computers to automatically assign itself an IP address within this range if a Dynamic Host Configuration Protocol (DHCP) server is not available. A DHCP server is a device on a network that is responsible for assigning IP address to devices on the network.
- Class B Private Range: 172.16.0.0 to 172.31.255.255
- Class C Private Range: 192.168.0.0 to 192.168.255.255
- IP Range: 127.0.0.1 to 127.255.255.255 are network testing addresses (also referred to as loop-back addresses)
Features of IPv4
- Connectionless Protocol.
- Allow creating a simple virtual communication layer over diversified devices.
- It requires less memory, and ease of remembering addresses.
- Already supported protocol by millions of devices.
- Offers video libraries and conferences.
How Ipv4 works
IPv4 works on the network layer of the TCP/IP protocol stack. The main task of the protocol is to transfer data blocks from the sending host to the destination host, where the senders and receivers are computers that are uniquely identified by IP addresses
How is IPv6 different?
Internet Protocol Version 6 or IPv6 is the newest version of Internet Protocol used for carrying data in packets from one source to a destination via various networks. IPv6 is considered as an enhanced version of the older IPv4 protocol, as it supports a significantly larger number of nodes than the latter.
IPv6 allows up to 2128 possible combinations of nodes or addresses. It is also referred to as the Internet Protocol Next Generation or IPng. It was first developed in the hexadecimal format, containing eight octets to provide more substantial scalability. Released on June 6, 2012, it was also designed to deal with address broadcasting without including broadcast addresses in any class, the same as its predecessor.
Comparing Difference Between IPv4 and IPv6
Now that you know more about IPv4 and IPv6 in detail, we can summarize the differences between these two protocols in a table. Each has its deficits and benefits to offer.
|Points of Difference||IPV4||IPV6|
|Compatibility with Mobile Devices||Addresses use of dot-decimal notations, which make it less suitable for mobile networks.||Addresses use hexadecimal colon-separated notations, which make it better suited to handle mobile networks.|
|Mapping||Address Resolution Protocol is used to map to MAC addresses.||Neighbor Discovery Protocol is used to map to MAC Address.|
|Dynamic Host Configuration Server||When connecting to a network, clients are required to approach Dynamic Host Configuration Servers.||Clients are given permanent addresses and are not required to contact any particular server.|
|Internet Protocol Security||It is optional.||It is mandatory.|
|Optional Fields||Present||Absent. Extension headers are available instead.|
|Local Subnet Group Management||Uses Internet Group Management Protocol or GMP.||Uses Multicast Listener Discovery or MLD.|
|IP to MAC resolution||For Broadcasting ARP.||For Multicast Neighbor Solicitation.|
|Address Configuration||It is done manually or via DHCP.||It uses stateless address autoconfiguration using the Internet Control Message Protocol or DHCP6.|
|DNS Records||Records are in Address (A).||Records are in Address (AAAA).|
|Packet Header||Packet flow for QoS handling is not identified. This includes checksum options.||Flow Label Fields specify packet flow for QoS handling.|
|Packet Fragmentation||Packet Fragmentation is allowed from routers when sending to hosts.||For sending to hosts only.|
|Packet Size||The minimum packet size is 576 bytes.||Minimum packet size 1208 bytes.|
|Security||It depends mostly on Applications.||Has its own Security protocol called IPSec.|
|Mobility and Interoperability||Network topologies are relatively constrained, which restricts mobility and interoperability.||IPv6 provides mobility and interoperability capabilities which are embedded in network devices|
|SNMP||Support included.||Not supported.|
|Address Mask||It is used for the designated network from the host portion.||Not Used|
|Address Features||Network Address Translation is used, which allows a single NAT address to mask thousands of non-routable addresses.||Direct Addressing is possible because of the vast address space.|
|Configuration the Network||Networks are configured either manually or with DHCP.||It has autoconfiguration capabilities.|
|Routing Information Protocol||Supports RIP routing protocol.||IPv6 does not support RIP routing protocol.|
|Fragmentation||It’s done by forwarding and sending routes.||It is done only by the sender.|
|Virtual Length Subnet Mask Support||Supports added.||Support not added.|
|Configuration||To communicate with other systems, a newly installed system must be configured first.||Configuration is optional.|
|Number of Classes||Five Different Classes, from A to E.||It allows an unlimited number of IP Addresses to be stored.|
|Type of Addresses||Multicast, Broadcast, and Unicast||Anycast, Unicast, and Multicast|
|Checksum Fields||Has checksum fields, example: 188.8.131.52||Not present|
|Length of Header Filed||20||40|
|Number of Header fields||12||8|
|Address Method||It is a numeric address.||It is an alphanumeric address.|
Benefits of IPv4
- Simple Topology Drawings: IPv4 protocols have simple prefixes. This essentially means that they can easily fit on all your topology drawings when you decide to opt for IPv4. …
- System Support: The best thing about IPv4 protocols is that all systems have no problem handling IPv4 routing.
Drop your comment