IPv6 Address Types and Static IPv6 Setup (Cisco, MikroTik)

Last updated: October 2026

An IPv6 address is 128 bits long, written as eight groups of hex digits, and its first bits tell you what kind of address it is. Routers normally get static IPv6 addresses, while client PCs get theirs automatically. This guide explains the IPv6 address types and prefixes, then shows how to configure a static IPv6 address on Cisco IOS, MikroTik RouterOS and Juniper devices.

Quick answer
  • Global unicast (public, routed on the Internet): 2000::/3.
  • Unique local (private, like RFC 1918 in IPv4): FC00::/7, in practice FD00::/8.
  • Link-local (local subnet only): FE80::/10.
  • Multicast always starts with FF; FF02::1 is all nodes and FF02::2 is all routers on the link.
  • Cisco example: ipv6 unicast-routing, then ipv6 address 2001:db8:1::1/64 on the interface.

In this guide: Address categories | Unicast types and prefixes | Multicast addresses | Ways to assign an address | Cisco | MikroTik | Juniper | FAQ | Sources

IPv6 address categories

  • Unicast: identifies a single interface. A packet sent to a unicast address goes to that one interface.
  • Multicast: identifies a group of interfaces. One packet is delivered to every member of the group. IPv6 uses multicast for functions such as Neighbor Discovery.
  • Anycast: the same address is assigned to several devices offering the same service, and routers deliver the packet to the nearest one.

IPv6 has no broadcast. The job of IPv4 broadcast is done by multicast, such as FF02::1 for all nodes on the link.

Unicast address types and prefixes

TypePurposePrefixStarts with
Global unicastRouted across the public Internet2000::/32 or 3
Unique localPrivate use inside one organization, not routed on the InternetFC00::/7 (FD00::/8 in use)FC or FD
Link-localLocal subnet only; never forwarded by routersFE80::/10FE8
Site-local (deprecated)Old private range, no longer usedFEC0::/10FEC to FEF
UnspecifiedA host with no address yet::/128::
LoopbackTesting on the host itself, like 127.0.0.1::1/128::1

Link-local addresses are created by the host automatically, so every IPv6 interface has one before it talks to anyone. They are used for Router Solicitation and Router Advertisement messages, for Neighbor Discovery (which replaces ARP in IPv6) and as next-hop addresses in routing. Unique local addresses serve the same purpose as private IPv4 ranges and should not be advertised to the Internet.

Common multicast addresses

PurposeIPv6 addressIPv4 equivalent
All nodes on the linkFF02::1Subnet broadcast
All routers on the linkFF02::2none
OSPF routers / designated routersFF02::5, FF02::6224.0.0.5, 224.0.0.6
RIPngFF02::9224.0.0.9
EIGRPFF02::A224.0.0.10
DHCPv6 relay agents and serversFF02::1:2none
DHCPv6 servers (site scope)FF05::1:3none

The fourth hex digit of a multicast address sets its scope: FF02 is link-local and FF05 is site-local.

Ways to give a router interface an IPv6 address

  • A full static global unicast address.
  • A static /64 prefix with the last 64 bits generated by EUI-64.
  • Stateless address autoconfiguration (SLAAC) or stateful DHCPv6.
  • Link-local only.
  • IPv6 unnumbered, borrowing the address of another interface.

The examples below use the documentation prefix 2001:db8::/32. Replace it with your own prefix, and check the syntax against your software version.

Configure a static IPv6 address on Cisco IOS

Router# configure terminal
Router(config)# ipv6 unicast-routing
Router(config)# interface GigabitEthernet0/0
Router(config-if)# ipv6 address 2001:db8:1::1/64
Router(config-if)# no shutdown
Router(config-if)# end
Router# show ipv6 interface brief

Variants on the interface:

  • EUI-64 address: ipv6 address 2001:db8:1::/64 eui-64
  • Link-local only: ipv6 enable
  • Borrow an address: ipv6 unnumbered Loopback0
  • Anycast: ipv6 address 2001:db8:1::10/64 anycast

ipv6 unicast-routing is needed for the device to forward IPv6 packets and send router advertisements.

Configure a static IPv6 address on MikroTik RouterOS

/ipv6 address add address=2001:db8:3::abcd/64 interface=ether2 advertise=no
/ipv6 address print
/ipv6 route add dst-address=::/0 gateway=2001:db8:3::1

The first command assigns the address, and advertise=no stops the router advertising that prefix to clients. The second command checks the configuration and the third adds a default route.

Configure a static IPv6 address on Juniper

Junos (SRX, MX, EX):

set interfaces ge-0/0/0 unit 0 family inet6 address 2001:db8:2::1/64
commit
show interfaces ge-0/0/0 terse

ScreenOS (older NetScreen firewalls): IPv6 must be enabled first with an environment variable and a reboot.

set envar ipv6=yes
(reboot the device)
set interface ethernet0/0 ipv6 mode router
set interface ethernet0/0 ipv6 ip 2001:db8:2::1/64

ScreenOS reached end of life and is only relevant on legacy devices.

Frequently asked questions

What is the difference between link-local and global unicast?

Link-local (FE80::/10) works only on the local subnet and is never routed. Global unicast (2000::/3) is routable on the Internet.

Does IPv6 have broadcast?

No. Multicast replaces it, for example FF02::1 for all nodes on a link.

What replaces ARP in IPv6?

Neighbor Discovery, which uses ICMPv6 and multicast.

What is EUI-64?

A method of building the last 64 bits of an address from the interface's MAC address, so you only configure the /64 prefix.

Is site-local still used?

No. FEC0::/10 is deprecated. Use unique local addresses instead.

More networking help is in our Networking Guides.

Sources

Comments