Free tech learning for everyone, from basics to pro

Routing & SwitchingNetworking SecurityBeginner

Enabling IPv6 on Cisco routers: ipv6 unicast-routing, interface addresses and link-local addresses

In short: A Cisco router only forwards IPv6 packets after ipv6 unicast-routing is entered. Each interface then needs at least a link-local address, which IOS creates for you, and usually a global unicast address that you set by hand or with EUI-64. A few show commands confirm the addresses, the multicast groups joined and whether the router is sending Router Advertisements.

Two switches you have to flip

IPv6 on Cisco IOS is controlled in two places. At the interface level, giving an interface any IPv6 address (or typing ipv6 enable) turns IPv6 on for that link. At the device level, ipv6 unicast-routing tells the router to forward IPv6 packets between interfaces. Without it, the router behaves like an IPv6 host: it can ping, but it will not route and it will not send Router Advertisements (RAs).

This catches people out in labs all the time. The interfaces look perfect in show ipv6 interface brief, the PCs on each side can ping their own gateway, but nothing crosses the router. Nine times out of ten the global command is missing.

What a Cisco interface gets when you enable IPv6Link-local addressFE80::/10, created automaticallyGlobal unicast addressconfigured, EUI-64 or SLAACJoined multicast groupsFF02::1, FF02::2, solicited-nodeRoutingonly after ipv6 unicast-routing
Figure 1. One interface, several IPv6 addresses. The link-local address always exists; the global address is the one you plan.

Global and link-local addresses

Every IPv6 interface has a link-local address in FE80::/10. It is only valid on that one link, routers never forward packets sourced from it, and it is what routing protocols use for neighbour relationships and next hops. IOS builds it automatically from the interface MAC address, but many engineers set it by hand so it is easy to read:

ipv6 unicast-routing
!
interface GigabitEthernet0/0
 description LAN - Staff
 ipv6 address 2001:db8:10:1::1/64
 ipv6 address fe80::1 link-local
 no shutdown
!
interface GigabitEthernet0/1
 description Link to core
 ipv6 address 2001:db8:10:ff::1/127
 ipv6 address fe80::1 link-local
 no shutdown

Using fe80::1 on every interface of the same router is fine, because each link-local address only has to be unique on its own link. Hosts then see their default gateway as fe80::1, which is much easier to spot in a capture than a 64-bit random-looking value.

EUI-64 and why it is less common now

With ipv6 address 2001:db8:10:1::/64 eui-64 the router takes the 64-bit prefix and builds the interface ID from its MAC address: it splits the MAC in half, inserts FFFE in the middle and flips the seventh bit. It saves typing, but the address changes if the hardware changes and it is hard to remember. For router interfaces most teams prefer short manual addresses such as ::1, and keep EUI-64 for quick labs.

Checking your work

  • show ipv6 interface brief: each interface, its state, link-local and global addresses.
  • show ipv6 interface g0/0: the multicast groups joined (FF02::1 all nodes, FF02::2 all routers once routing is on, and the FF02::1:FFxx:xxxx solicited-node groups), the RA interval and the duplicate address detection (DAD) setting.
  • show ipv6 route: connected (C) and local (L) routes. Every global address adds a /128 local route.
  • show ipv6 neighbors: the IPv6 equivalent of the ARP table.

If an address shows as [DUP] or TENTATIVE, duplicate address detection found or is still checking for another device with the same address on the link.

Real-world example: the branch that "had IPv6"

A school added IPv6 to a branch router during a holiday. Interfaces had addresses, laptops picked up global addresses, and the change was signed off. On the first day of term, IPv6 traffic to the main campus silently failed and browsers fell back to IPv4 after a delay, so pages felt slow. The router had ipv6 unicast-routing on the campus side but not on the branch; laptops were actually getting their addresses from a second, forgotten router on the same VLAN. Adding the command, and removing the stray router's RAs, fixed both problems in minutes.

Practice

A router has IPv6 addresses on all interfaces but does not forward IPv6 packets. What is the most likely missing command?
ipv6 unicast-routing in global configuration mode.
Why can you use FE80::1 on several interfaces of the same router?
A link-local address only needs to be unique on its own link, and routers never forward link-local traffic.
Which address do routing protocols such as OSPFv3 use as the next hop?
The neighbour's link-local address.

Key takeaways

  • ipv6 unicast-routing turns a Cisco device from an IPv6 host into an IPv6 router.
  • Every IPv6 interface has a link-local address; set it by hand to keep it readable.
  • EUI-64 builds the interface ID from the MAC address but is harder to manage.
  • show ipv6 interface shows addresses, joined multicast groups and RA settings.
Tracks your learning on this device only. See your progress on the learning paths.
Verified author✓ Valid
Issued to
Mohamed Fayas
Role
Founder of FM TecHub
Credentials
CCNABTEC HND Network EngineeringBEng (Hons) Computer Networking & Cloud Security
Issuer
FM TecHub · fmtechub.com

He writes practical, plain-English guides on networking, security and cloud.

More about the author →

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Email updates: coming soon

New notes, tools and security news from FM TecHub by email, explained simply. Free. We're not collecting email addresses yet; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesopening soon

Meanwhile, stay connected: