IP Subnet Calculator
What is an IPv6 subnet calculator?
The IPv6 Subnet Calculator on UnwanIP helps analyze an IPv6 address using its prefix length and displays information about the associated network and address range.
The tool can be used to understand IPv6 addressing, identify the network portion of an address, calculate ranges and see how prefix lengths such as /64 or /48 affect subnet size.
How is an IPv6 address structured?
An IPv6 address contains 128 bits and is normally written as eight groups of hexadecimal values separated by colons.
An example IPv6 address is: 2001:db8:1234:5678:abcd:ef01:2345:6789.
Each group represents 16 bits, and parts of an IPv6 address can be compressed according to specific notation rules.
What does prefix length mean in IPv6?
The prefix length determines how many bits are used to identify the network portion of an IPv6 address.
For example, in 2001:db8:1234:5678::/64, the /64 means that the first 64 bits identify the network.
A larger prefix length creates a smaller subnet, while a shorter prefix represents a larger address range.
Why is /64 common in IPv6?
A /64 prefix is very common for IPv6 local subnets because it provides a 64-bit network portion and a 64-bit interface identifier portion.
Many IPv6 technologies and network designs use /64 as a standard or commonly recommended subnet size.
What is the difference between /48, /56 and /64?
These prefix lengths describe different sizes of IPv6 address allocations.
/48provides a large allocation that can be divided into many/64subnets./56provides a smaller allocation than /48 but still allows multiple subnets./64commonly represents an individual IPv6 subnet.
The appropriate prefix depends on the network design and the number of required subnets.
Does IPv6 use a subnet mask?
IPv6 normally uses prefix lengths rather than traditional dotted-decimal subnet masks used by IPv4.
A network is therefore written using notation such as /64 or /48 instead of a subnet mask such as 255.255.255.0.
Does IPv6 have a broadcast address?
IPv6 does not use broadcast addresses in the same way as IPv4.
Instead, IPv6 uses multicast and other mechanisms when traffic needs to be sent to groups of devices.
What is IPv6 address compression?
IPv6 addresses can be shortened to make them easier to read and write. Leading zeros inside each group can be removed, and one consecutive sequence of zero groups can be replaced by ::.
For example:
2001:0db8:0000:0000:0000:0000:0000:0001
can be shortened to:
2001:db8::1
Full vs compressed IPv6 addresses
A full IPv6 address displays every group and digit, while compressed notation removes unnecessary zeros according to IPv6 formatting rules.
Both forms represent the same IPv6 value when the compression rules are applied correctly.
How large is the IPv6 address space?
IPv6 uses 128-bit addresses, giving it a vastly larger address space than IPv4, which uses 32-bit addresses.
This large address space allows an enormous number of addresses and subnets and is one of the main reasons IPv6 was developed.
What are the main IPv6 address types?
IPv6 addresses can serve different purposes, including:
- Global Unicast addresses for routable Internet communication.
- Link-Local addresses for communication on the local link.
- Unique Local addresses for private network use.
- Multicast addresses for communicating with groups of devices.
What are IPv6 Link-Local addresses?
Link-Local addresses are used for communication between devices on the same network link and are not normally routed across the public Internet.
They are generally associated with the fe80::/10 range.
What are Unique Local Addresses?
Unique Local Addresses are intended for use within private IPv6 networks. Their general purpose is somewhat similar to private IPv4 addressing, although their design and use are different.
They are associated with the fc00::/7 address space.
When should you use an IPv6 subnet calculator?
- When planning IPv6 address allocations.
- When dividing a larger IPv6 prefix into smaller subnets.
- When checking prefix lengths.
- When identifying a network and its address range.
- When configuring routers or firewalls.
- When managing IPv6 in business networks or data centers.
- When learning full and compressed IPv6 notation.
Frequently asked questions about IPv6 subnetting
How many bits are in an IPv6 address?
An IPv6 address contains 128 bits, compared with 32 bits in IPv4.
What does /64 mean in IPv6?
A /64 prefix means that the first 64 bits identify the network portion of the IPv6 address, leaving another 64 bits within that subnet.
Does IPv6 use 255.255.255.0?
No. IPv6 uses prefix lengths such as /64 rather than dotted-decimal subnet masks used by IPv4.
Does IPv6 have a broadcast address?
No. IPv6 does not use traditional broadcast addressing. Multicast is used instead for many group communication functions.
Is 2001:db8::1 a valid IPv6 address?
Yes, the format is valid. The 2001:db8::/32 range is commonly reserved for documentation and examples, which is why it appears frequently in technical material.
Can IPv4 and IPv6 run together?
Yes. Dual-stack networks can support IPv4 and IPv6 at the same time.