Turn on IPv6

NetLab lab Beginner 5 tasks 10 points

The company is adding IPv6 next to IPv4. Configure router R1:

  • Gi0/0: 2001:db8:acad:10::1/64
  • Gi0/1: 2001:db8:acad:20::1/64
  • Both interfaces: link-local address fe80::1
  • Forward IPv6 and advertise the prefixes, so the PCs configure themselves with SLAAC.

Then check that PC1 got an address and can reach both router interfaces.

How it works: this is VulnTech NetLab, a network simulator running in your browser. Click a device in the diagram to open its console and type commands, just like on real equipment (? shows help, Tab finishes a word). Click a cable to inspect it. Tasks tick themselves off as you complete them; questions are answered in the box under each task. Your work is kept if you reload; Reset starts the network over.

Solution explanation

Each interface needs its global address and no shutdown; the link-local address is optional but makes the gateway easy to read (fe80::1). ipv6 unicast-routing does two jobs: the router forwards IPv6 between its interfaces, and it sends Router Advertisements. Without it, PC1 never learns the 2001:db8:acad:10::/64 prefix and has only a link-local address.

For EUI-64, R1's Gi0/1 MAC 001a.6344.34f5 becomes 001a:63ff:fe44:34f5 with fffe in the middle, and flipping the 7th bit turns 00 into 02: 21a:63ff:fe44:34f5.

Show solution
[R1]
enable
configure terminal
ipv6 unicast-routing
interface g0/0
ipv6 address 2001:db8:acad:10::1/64
ipv6 address fe80::1 link-local
no shutdown
interface g0/1
ipv6 address 2001:db8:acad:20::1/64
ipv6 address fe80::1 link-local
no shutdown
end
show ipv6 interface brief
[PC1]
ipconfig
ping 2001:db8:acad:20::1
HOME LABS COMMUNITY DASHBOARD