IP v6 Convertor
IPv6 Address Converter
Convert IPv6 Address to Other Formats
Example addresses to convert:
2001:0db8:85a3:0000:0000:8a2e:0370:7334
::1
(localhost)fe80::1
(link-local)ff02::1
(multicast)
Convert Decimal Number to IPv6 Address
Valid range: 0 to 340,282,366,920,938,463,463,374,607,431,768,211,455 (2^128 - 1)
Example decimal numbers:
1
→::1
281474976710656
→::1:0:0:0
42540766411282592856903984951653826560
→2001:db8::
IPv6 Conversion Results
×Decimal to IPv6 Conversion Results
×Error
×Converting IPv6 address...
Converting decimal to IPv6...
IP v6 Validator
IPv6 Address Validator
Example addresses:
2001:0db8:85a3:0000:0000:8a2e:0370:7334
2001:db8:85a3::8a2e:370:7334
::1
(localhost)fe80::1
(link-local)
Validation Result
×Error
×Validating IPv6 address...
Calculate subnet information
IPv6 Subnet Calculator
Common subnet examples:
2001:db8:1234:5600::1
with/64
(Standard home/office network)2001:db8:1234::1
with/48
(Large organization)fe80::1
with/64
(Link-local network)
Subnet Calculation Results
×Error
×Calculating subnet information...
Access educational content
IPv6 Educational Resources
Learn about IPv6 addressing, subnetting, and best practices
IPv6 Overview
What is IPv6?
IPv6 (Internet Protocol version 6) is the most recent version of the Internet Protocol, designed to replace IPv4. It was developed to address the IPv4 address exhaustion problem and provide additional improvements.
Key Features
- 128-bit addresses: Provides 340 undecillion unique addresses
- Built-in security: IPsec support is mandatory
- Simplified header: More efficient packet processing
- Auto-configuration: Stateless address autoconfiguration (SLAAC)
- No NAT required: Direct end-to-end communication
Address Format
IPv6 addresses are written as eight groups of four hexadecimal digits, separated by colons:
2001:0db8:85a3:0000:0000:8a2e:0370:7334
Compression Rules
- Leading zeros in a group can be omitted
- One or more consecutive groups of zeros can be replaced with ::
- The :: can only be used once in an address
Example: 2001:db8:85a3::8a2e:370:7334
IPv6 Addressing
Address Structure
IPv6 addresses are 128 bits long and consist of two main parts:
- Network Prefix: The leftmost bits that identify the network
- Interface Identifier: The rightmost bits that identify the specific interface
Address Types
Unicast
Addresses that identify a single interface. Packets sent to a unicast address are delivered to the interface identified by that address.
2001:db8::1
Multicast
Addresses that identify a group of interfaces. Packets sent to a multicast address are delivered to all interfaces identified by that address.
ff02::1
(All nodes on the local link)
Anycast
Addresses that identify a set of interfaces. Packets sent to an anycast address are delivered to the nearest interface identified by that address.
2001:db8::1
(Could be anycast)
Global Unicast Addresses
These are the most common IPv6 addresses used on the Internet:
Format: 2000::/3
Example: 2001:db8:1234:5678::1
Link-Local Addresses
Automatically configured addresses used for communication within a single link:
Format: fe80::/10
Example: fe80::1
IPv6 Subnetting
Subnetting Basics
IPv6 subnetting is much simpler than IPv4 because of the large address space. The standard practice is to use /64 subnets for most networks.
Common Subnet Sizes
Prefix Length | Subnet Mask | Hosts per Subnet | Use Case |
---|---|---|---|
/48 | ffff:ffff:ffff:: | 2^80 | Large organizations |
/56 | ffff:ffff:ffff:ff00:: | 2^72 | Medium organizations |
/64 | ffff:ffff:ffff:ffff:: | 2^64 | Standard LAN |
/96 | ffff:ffff:ffff:ffff:ffff:ffff:: | 2^32 | Small networks |
/112 | ffff:ffff:ffff:ffff:ffff:ffff:ffff:0 | 2^16 | Point-to-point |
/126 | ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc | 4 | Point-to-point links |
/127 | ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe | 2 | Point-to-point links |
/128 | ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff | 1 | Host routes |
Subnetting Example
Given the network 2001:db8:1234::/48, here's how to create subnets:
Network: 2001:db8:1234::/48
Subnet 1: 2001:db8:1234:0000::/64
Subnet 2: 2001:db8:1234:0001::/64
Subnet 3: 2001:db8:1234:0002::/64
Gateway: 2001:db8:1234:0000::1 (first address in subnet)
Best Practices
- Use /64 for most LAN segments
- Use /127 for point-to-point links
- Use /128 for host routes
- Plan your addressing scheme carefully
- Document your subnet assignments
Special IPv6 Addresses
Reserved Addresses
Unspecified Address
::/128
Equivalent to 0.0.0.0 in IPv4. Used when a host doesn't know its own address.
Loopback Address
::1/128
Equivalent to 127.0.0.1 in IPv4. Used for localhost communication.
Documentation Prefix
2001:db8::/32
Reserved for documentation and examples. Should not be used in production.
Unique Local Addresses (ULA)
fc00::/7
Equivalent to private addresses in IPv4. Not routable on the Internet.
Link-Local Addresses
fe80::/10
Automatically configured addresses for local link communication.
Multicast Addresses
All Nodes
ff02::1
All IPv6 nodes on the local link.
All Routers
ff02::2
All IPv6 routers on the local link.
Solicited-Node Multicast
ff02::1:ff00:0000/104
Used for Neighbor Discovery Protocol (NDP).
IPv6 Address Conversion
Hexadecimal to Decimal
Each hexadecimal digit represents 4 bits, and each group represents 16 bits:
Example: 2001:db8::1
Expanded: 2001:0db8:0000:0000:0000:0000:0000:0001
Decimal: 8193:3512:0:0:0:0:0:1
Binary Representation
Each hexadecimal digit converts to 4 binary digits:
2001 in binary: 0010 0000 0000 0001
db8 in binary: 1101 1011 1000
Reverse DNS
IPv6 reverse DNS uses the nibble format:
Address: 2001:db8::1
Reverse DNS: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa
EUI-64
Extended Unique Identifier (EUI-64) is used for interface identifiers:
MAC Address: 00:11:22:33:44:55
EUI-64: 0211:22ff:fe33:4455
Process: Insert ff:fe in the middle and flip the 7th bit
IPv6 Best Practices
Address Planning
- Use hierarchical addressing for easy management
- Assign /48 blocks to large sites
- Use /64 for most subnets
- Plan for future growth
- Document your addressing scheme
Security Considerations
- Enable IPsec where possible
- Use firewalls to control access
- Monitor for unusual traffic patterns
- Keep systems updated
- Use secure neighbor discovery
Network Design
- Use dual-stack during transition
- Plan for IPv6-only networks
- Consider tunneling technologies
- Test thoroughly before deployment
- Train staff on IPv6
Common Mistakes to Avoid
- Using /64 for point-to-point links
- Not planning for address space
- Ignoring security implications
- Not testing thoroughly
- Forgetting about DNS
IPv6 Quiz
Question 1
What is the correct format for an IPv6 address?
Result
IPv6 Tutorial
Step 1: Understanding IPv6 Address Format
IPv6 addresses are 128 bits long and written as eight groups of four hexadecimal digits, separated by colons.
Example: 2001:0db8:85a3:0000:0000:8a2e:0370:7334
Step 2: Address Compression
IPv6 addresses can be compressed by removing leading zeros and replacing consecutive zero groups with ::
Original: 2001:0db8:85a3:0000:0000:8a2e:0370:7334
Compressed: 2001:db8:85a3::8a2e:370:7334
Step 3: Address Types
IPv6 has three main address types: Unicast, Multicast, and Anycast.
- Unicast: Identifies a single interface
- Multicast: Identifies a group of interfaces
- Anycast: Identifies a set of interfaces
Step 4: Subnetting
IPv6 subnetting is simpler than IPv4. The standard practice is to use /64 subnets for most networks.
Network: 2001:db8:1234::/48
Subnet: 2001:db8:1234:0000::/64
Step 5: Special Addresses
Learn about special IPv6 addresses like loopback, unspecified, and link-local addresses.
Loopback: ::1
Unspecified: ::
Link-local: fe80::/10