Scenario

R1 is the gateway of an IPv6 LAN on Gi0/0 (2001:db8:10::/64). Gi0/1 is a point-to-point link to R2, whose address is 2001:db8:12::2. Behind R2 there is another LAN, 2001:db8:20::/64. Hosts on the LAN should configure themselves with SLAAC, which only works if the router advertises the prefix. The interfaces are up but have no IPv6 configuration.

Topology

R1R2

Requirements

  1. 1IPv6 routing is enabled on R1
  2. 2Gi0/0 has the address 2001:db8:10::1/64
  3. 3Gi0/0 uses FE80::1 as its link-local address
  4. 4Gi0/1 has the address 2001:db8:12::1/64
  5. 5A static route sends 2001:db8:20::/64 to the next hop 2001:db8:12::2

R1 has working interfaces and no IPv6 at all. Type ? for the commands you can use. Start with: enable

R1> show running-config

CCNA lab · about 10 min

IPv6: addresses, a static route and SLAAC

Turn on IPv6 routing, address two interfaces, fix a link-local address and add a static route to a remote LAN, so hosts on the LAN can build their own addresses with SLAAC.

This lab is included in the CCNA plans and in the free trial.

Start the free trial Try the free VLAN lab Today's free lab

All labs

About this lab

R1 is the gateway of an IPv6 LAN on Gi0/0 (2001:db8:10::/64). Gi0/1 is a point-to-point link to R2, whose address is 2001:db8:12::2. Behind R2 there is another LAN, 2001:db8:20::/64. Hosts on the LAN should configure themselves with SLAAC, which only works if the router advertises the prefix. The interfaces are up but have no IPv6 configuration.

About 10 minutes. Included in the CCNA plans and the free trial.

Questions about this lab

Is this a real Cisco router?

No. It is a small simulator written by CertAce. It understands a handful of commands and keeps the state of one router, so you can practise the ideas without lab gear. Real devices print more, and the exam may ask for things this lab does not cover. CertAce is not affiliated with Cisco.

What is SLAAC?

Stateless Address Autoconfiguration lets a host build its own global address. The router advertises the /64 prefix in a Router Advertisement, and the host appends a 64-bit interface identifier, derived from its MAC (EUI-64) or random. No DHCP server is involved.

Why do IPv6 interfaces also have a link-local address?

Once IPv6 is enabled on an interface (any ipv6 address, or ipv6 enable), it gets an FE80::/10 address automatically. It is used for neighbour discovery and for the default gateway that hosts learn, and it is not routed. You can leave the automatic one or set a simple one such as FE80::1.

What are 2001:db8 addresses?

2001:db8::/32 is reserved for documentation (RFC 3849). It is perfect for labs because it never collides with a real network.

CertAce is not affiliated with or endorsed by Cisco Systems. CCNA and Cisco are trademarks of Cisco Systems, Inc. The simulator and every command output here were written by CertAce.