← IPv6 Subnets • IPv4 Subnet Calculator
Single HostA single address. Used for host routes, loopback interfaces (::1/128), and firewall rules that target one device.
| Example Address | 2001:db8:abcd:12::10/128 |
|---|---|
| Network | 2001:db8:abcd:12::10/128 |
| Expanded Network | 2001:0db8:abcd:0012:0000:0000:0000:0010 |
| First Address | 2001:db8:abcd:12::10 |
| Last Address | 2001:db8:abcd:12::10 |
| Reverse DNS Zone | 0.1.0.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 |
Using the documentation prefix 2001:db8:abcd:12::10/128 as the example network.
New-NetIPAddress -InterfaceAlias "Ethernet" -IPAddress "2001:db8:abcd:12::10" -PrefixLength 128
ipv6 unicast-routing
!
interface GigabitEthernet0/0
ipv6 address 2001:db8:abcd:12::10/128
!
ipv6 access-list ALLOW-NET
permit ipv6 2001:db8:abcd:12::10/128 any
ip -6 & ip6tablesip -6 addr add 2001:db8:abcd:12::10/128 dev eth0
ip6tables -A INPUT -s 2001:db8:abcd:12::10/128 -j ACCEPT
A /128 leaves 0 bits for addresses, which is 1 addresses in total.
A single address. Used for host routes, loopback interfaces (::1/128), and firewall rules that target one device.
← /127