← IPv6 Subnets • IPv4 Subnet Calculator
Single LANThe standard size for a single network segment. SLAAC (stateless address autoconfiguration) requires a /64, and each LAN, VLAN or cloud subnet normally gets one.
That is ≈ 1.8 × 1019 addresses.
| Example Address | 2001:db8:abcd:12::10/64 |
|---|---|
| Network | 2001:db8:abcd:12::/64 |
| Expanded Network | 2001:0db8:abcd:0012:0000:0000:0000:0000 |
| First Address | 2001:db8:abcd:12:: |
| Last Address | 2001:db8:abcd:12:ffff:ffff:ffff:ffff |
| Reverse DNS Zone | 2.1.0.0.d.c.b.a.8.b.d.0.1.0.0.2.ip6.arpa |
Using the documentation prefix 2001:db8:abcd:12::/64 as the example network.
New-NetIPAddress -InterfaceAlias "Ethernet" -IPAddress "2001:db8:abcd:12::10" -PrefixLength 64 -DefaultGateway "2001:db8:abcd:12::1"
ipv6 unicast-routing
!
interface GigabitEthernet0/0
ipv6 address 2001:db8:abcd:12::1/64
!
ipv6 access-list ALLOW-NET
permit ipv6 2001:db8:abcd:12::/64 any
ip -6 & ip6tablesip -6 addr add 2001:db8:abcd:12::10/64 dev eth0
ip -6 route add default via 2001:db8:abcd:12::1 dev eth0
ip6tables -A INPUT -s 2001:db8:abcd:12::/64 -j ACCEPT
A /64 leaves 64 bits for addresses, which is 18,446,744,073,709,551,616 addresses in total.
A /64 contains 1 separate /64 subnets.
The standard size for a single network segment. SLAAC (stateless address autoconfiguration) requires a /64, and each LAN, VLAN or cloud subnet normally gets one.