What Is an IP Address? IPv4 vs IPv6 Explained

Every device connected to a computer network needs a way to identify itself and communicate with other devices. Whether it is an IP camera, PLC, SCADA server, laptop, industrial Ethernet switch, access-control controller or cloud server, network communication depends on addressing.

This is where an IP address comes in.

ip address in networking

What Is an IP Address?

An IP address is a logical address assigned to a network interface so that devices can identify the source and destination of IP packets. In simple terms, it works much like an address system for network communication. In simple words we can say,

“An IP address (Internet Protocol address) is a logical numerical identifier assigned to a network interface.”

For Example 192.168.10.25

For business and industrial networks, understanding IP addressing is important because poor IP planning can create duplicate addresses, communication failures, routing problems and difficult troubleshooting.

The two major versions are:

  • IPv4 — Internet Protocol version 4
  • IPv6 — Internet Protocol version 6

Although IPv4 remains widely deployed, IPv6 was developed to provide a much larger address space and additional capabilities for modern networks.

IP address In a network

When one device communicates with another, the IP address helps the network determine where packets should be delivered.

The Ethernet switch handles local Layer 2 forwarding, while IP addressing operates at Layer 3 of the OSI model.

Why Is an IP Address Required?

An Ethernet network can use MAC addresses for local Layer 2 communication, but modern networks require Layer 3 addressing for routing between different networks.

Why is Ip address required

The IP address allows the Layer 3 device to determine that the destination belongs to another network and route the packet accordingly.

This becomes particularly important in industrial environments where separate networks may be created for:

  • CCTV
  • SCADA
  • PLCs
  • Access control
  • Corporate IT
  • Servers
  • Network management

What Is IPv4?

IPv4 (Internet Protocol version 4) is the most widely deployed version of IP. IPv4 uses a 32-bit address. The address is normally written as four decimal numbers separated by periods.

For example:

192.168.10.25

Each section is called an octet and can contain a value from 0 to 255.

Octate in ip address

Because IPv4 uses 32 bits, it provides approximately 4.3 billion possible addresses in the theoretical address space.

However, not all IPv4 addresses are available for assignment to ordinary devices because certain ranges are reserved for private networks, multicast, loopback, special-purpose functions and other uses.

Private IPv4 Addresses

Private RangeCIDR
10.0.0.0 – 10.255.255.25510.0.0.0/8
172.16.0.0 – 172.31.255.255172.16.0.0/12
192.168.0.0 – 192.168.255.255192.168.0.0/16

These addresses are not directly routable across the public Internet.

A router performing Network Address Translation (NAT) can allow devices using private IPv4 addresses to access external networks when appropriate.

What Is an IPv4 Subnet?

An IPv4 address is normally used together with a subnet mask or CIDR prefix.

For Example

192.168.10.25/24

The /24 indicates the network prefix length.

In this example, the network is:

192.168.10.25/24

A typical subnet can therefore contain addresses such as:

192.168.10.1
192.168.10.2
192.168.10.3
...
192.168.10.254

The exact usable-host calculation depends on the subnet design and special addresses.

Subnetting is important when designing VLANs because a common architecture associates a Layer 2 VLAN with an IPv4 subnet.

What Is IPv6?

IPv6 (Internet Protocol version 6) was developed primarily to address the limitations of IPv4’s address space.

IPv6 uses a 128-bit address.

Instead of four decimal octets, IPv6 addresses are written using hexadecimal values separated by colons.
The much larger address space provides an enormous number of possible addresses.

IPv6 also includes features such as:

  • No requirement for broadcast at the IPv6 protocol level
  • Stateless Address Autoconfiguration (SLAAC)
  • Link-local addressing
  • Multicast-based communication
  • Hierarchical addressing
  • Neighbor Discovery Protocol

How Is an IPv6 Address Written?

An IPv6 address contains eight groups of hexadecimal digits.

2001:0db8:1234:5678:0000:0000:0000:0010

IPv6 allows certain zeros to be shortened.

The same address can be represented as:

2001:db8:1234:5678::10

The :: represents one or more consecutive groups of zeros.

This makes IPv6 addresses considerably shorter to write than their uncompressed form.

IPv4 vs IPv6: Key Differences

FeatureIPv4IPv6
Address size32-bit128-bit
Example192.168.10.252001:db8::25
NotationDecimalHexadecimal
Address spaceApproximately 4.3 billionExtremely large
BroadcastSupportedNo traditional broadcast
Address configurationStatic/DHCPSLAAC/DHCPv6/manual
NATCommonly usedGenerally not required for address conservation
Neighbor discoveryARPNDP
DeploymentVery widespreadGrowing alongside IPv4

IPv6 is not simply a longer version of IPv4. There are important differences in addressing, neighbor discovery, configuration and network behavior.

CX-NPA-24GS4I-L2 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NPA-8GS40I-L3 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NPA-16GS4I-L2 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-SPD01-40K2P DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-SPDP02-10KS1 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

Tell Us Your Requirement

CX-NMS DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-PS-485-D DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-PS-487-R DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

Get A Quote

Please fill this form to get best price for projects.

CX-ND-0GSF24S20-L3 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-PS-487-R DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-PS-482-D DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-nPA-4GS2I-L2 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NPA-8GS4I-L2 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NPA-16GS2I-L2 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NA-8GSF24S40-L3 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NPA-1GS1l-MC DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NPA-8GS2I-L2 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NA-0GSF12S0-L3 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NA-24GS60D-L3DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NA-0GSF48S60-L3 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NPA-4GS2D-L2 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NPA-8GS2D-L2 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NPA-8GS4D-L2 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NPA-16GS2D-L2 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NPG-4GS2D DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NPG-8GS2D DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NPG-8GS4D DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NPG-16GS2D DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NPG-24GS4D DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NG-4GS2D DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NG-8GS2D DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NG-8GS4D DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NG-16GS2D DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NG-24GS4D DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NA-4GS2D-L2 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NA-16GS2D-L2 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NA-24GS4D-L2 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NA-24GS4S2-L2 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NA-4GS2I-L2 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

Selected Value: 0

CX-NA-8GS2I-L2 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NA-8GS4I-L2 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NA-16GS2I-L2 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NPA-24GS2D-L3 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NPA-48GS40D-L3 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NA-48GS40D-L3 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NA-24GS40D-L3 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NA-8GS4D-L2 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NPA-24GS4D-L2 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NPA-24GS40D-L3 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NPA-4GS2I-L3 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NPA-8GS40I-L3 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NR-8GSF2S10I DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-ND-0GSF24S20-L3 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NPD-24GS60D-L3 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NPA-24GS40I-L3 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NA-24GS40I-L3 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NPA-48GS60D-L3 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-ND-0GSF48S60-L3 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NPA-8GS20I-L3 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NPA-16GS40I-L3 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NPA-24GS60D-L3 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-NE-5HS0I DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.

CX-SFP-1 DATASHEET DOWNLOAD​

Enter your details to receive the datasheet instantly in your email.

CX-SFP-10 DATASHEET DOWNLOAD

Enter your details to receive the datasheet instantly in your email.