IP Address Basics
Understand what an IP address is, why networks need addresses, and how devices communicate using public and private IP addresses.
Read the guideLearn computer networks, Wi-Fi, routers, IP addressing, network protocols, troubleshooting, and network security through practical guides and step-by-step explanations.
Networking Fundamentals
Every time a device communicates across an IP network, addressing helps identify where data should be delivered. IP addressing is a fundamental networking concept used in home Wi-Fi, business networks, data centers, cloud infrastructure, and cybersecurity.
This guide introduces the fundamentals before moving into IPv4, IPv6, and subnetting. Whether you are learning computer networking or preparing for a network security role, understanding IP addressing will help you make sense of how networks operate.
IP stands for Internet Protocol. An IP address is a logical address assigned to a network interface. It helps IP networks deliver packets toward their intended destinations. Routers examine destination IP addresses to make forwarding decisions.
An IP address is not the same as a device's physical MAC address. IP addressing supports communication across networks, while MAC addresses are used for delivery on local network links such as Ethernet and Wi-Fi.
192.168.1.10
A familiar private IPv4 address commonly used in local networks.
2001:db8::1
An example using the documentation-only IPv6 prefix 2001:db8::/32.
Follow these guides in order to build your knowledge from foundational concepts to practical network calculations.
Understand what an IP address is, why networks need addresses, and how devices communicate using public and private IP addresses.
Read the guideLearn subnet masks, CIDR notation, network IDs, host ranges, broadcast addresses, and how to calculate IPv4 subnets.
Read the guideCompare IPv4 and IPv6 addressing, understand hexadecimal notation, and explore why networks are transitioning to IPv6.
Read the guideBoth protocols provide IP addressing, but they use different address lengths and notation.
| Feature | IPv4 | IPv6 |
|---|---|---|
| Address length | 32 bits | 128 bits |
| Notation | Decimal, separated by dots | Hexadecimal, separated by colons |
| Example | 192.168.1.10 | 2001:db8::1 |
| Address capacity | About 4.3 billion bit patterns | About 3.4 × 10³⁸ bit patterns |
| Broadcasting | Supports broadcast | Uses multicast and anycast; no broadcast |
IPv6 provides a vastly larger address space. IPv4 and IPv6 can operate together using approaches such as dual-stack networking. IPv6 is not simply an expanded IPv4 address; the protocols have important technical differences.
Learn more about IPv4 and IPv6 →Network defenders use addressing knowledge to interpret traffic captures, understand firewall rules, investigate suspicious connections, identify network boundaries, and troubleshoot connectivity problems.
Remember: IP addresses can be shared, dynamically assigned, or changed. Investigations should use additional evidence rather than treating an address alone as proof of a person's identity or malicious intent.
IP addressing is the system used to assign logical addresses to network interfaces so that devices can identify communication destinations and exchange data using the Internet Protocol.
IPv4 uses 32-bit addresses, commonly written as four decimal numbers separated by dots. IPv6 uses 128-bit addresses, written in hexadecimal groups separated by colons.
Subnetting divides an IP network into smaller logical networks. It helps organize devices, manage address allocation, and control network boundaries.
Public IP addresses are globally routable on the internet. Private IPv4 addresses are reserved for use within private networks and typically access the internet through a router using network address translation.
IP addresses help security professionals understand network traffic, investigate connections, configure firewall rules, identify communication paths, and analyze suspicious activity. An IP address alone does not reliably identify a person or prove malicious activity.
IP Addressing Learning Path
Build your networking knowledge step by step. Start with IP address fundamentals, practise subnetting, and understand the transition from IPv4 to IPv6.