← IPv6 Subnets • IPv4 Subnet Calculator

Small Block

IPv6 /120 Prefix

Used for tiny pools and some hosting allocations. Leaves 8 host bits, the same size as an IPv4 /24 (256 addresses), but it breaks SLAAC.

Total Addresses256
Host Bits8
/64 Subnets Inside—
Prefix Maskffff:ffff:ffff:ffff:ffff:ffff:ffff:ff00
Advertisement Slot

Example: 2001:db8:abcd:12::10/120

Example Address2001:db8:abcd:12::10/120
Network2001:db8:abcd:12::/120
Expanded Network2001:0db8:abcd:0012:0000:0000:0000:0000
First Address2001:db8:abcd:12::
Last Address2001:db8:abcd:12::ff
Reverse DNS Zone0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.1.0.0.d.c.b.a.8.b.d.0.1.0.0.2.ip6.arpa

Ready-to-Paste Configs for a /120

Using the documentation prefix 2001:db8:abcd:12::/120 as the example network.

Windows PowerShell Static IPv6 Assignment

New-NetIPAddress -InterfaceAlias "Ethernet" -IPAddress "2001:db8:abcd:12::10" -PrefixLength 120 -DefaultGateway "2001:db8:abcd:12::1"

Cisco IOS Router Interface & ACL

ipv6 unicast-routing
!
interface GigabitEthernet0/0
 ipv6 address 2001:db8:abcd:12::1/120
!
ipv6 access-list ALLOW-NET
 permit ipv6 2001:db8:abcd:12::/120 any

Linux ip -6 & ip6tables

ip -6 addr add 2001:db8:abcd:12::10/120 dev eth0
ip -6 route add default via 2001:db8:abcd:12::1 dev eth0
ip6tables -A INPUT -s 2001:db8:abcd:12::/120 -j ACCEPT

IPv6 /120 FAQ

How many addresses are in an IPv6 /120?

A /120 leaves 8 bits for addresses, which is 256 addresses in total.

Where is an IPv6 /120 commonly used?

Used for tiny pools and some hosting allocations. Leaves 8 host bits, the same size as an IPv4 /24 (256 addresses), but it breaks SLAAC.


← /112 /126 →