← IPv6 Subnets • IPv4 Subnet Calculator

Point-to-Point

IPv6 /126 Prefix

An older convention for router-to-router links, providing 4 addresses. Largely replaced by /127.

Total Addresses4
Host Bits2
/64 Subnets Inside—
Prefix Maskffff:ffff:ffff:ffff:ffff:ffff:ffff:fffc
Advertisement Slot

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

Example Address2001:db8:abcd:12::10/126
Network2001:db8:abcd:12::10/126
Expanded Network2001:0db8:abcd:0012:0000:0000:0000:0010
First Address2001:db8:abcd:12::10
Last Address2001:db8:abcd:12::13
Reverse DNS ZoneNot on a nibble boundary (delegated as several zones)

Ready-to-Paste Configs for a /126

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

Windows PowerShell Static IPv6 Assignment

New-NetIPAddress -InterfaceAlias "Ethernet" -IPAddress "2001:db8:abcd:12::13" -PrefixLength 126 -DefaultGateway "2001:db8:abcd:12::11"

Cisco IOS Router Interface & ACL

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

Linux ip -6 & ip6tables

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

IPv6 /126 FAQ

How many addresses are in an IPv6 /126?

A /126 leaves 2 bits for addresses, which is 4 addresses in total.

Where is an IPv6 /126 commonly used?

An older convention for router-to-router links, providing 4 addresses. Largely replaced by /127.


← /120 /127 →