Static IPv6 on the PCs

NetLab lab Intermediate 6 tasks 20 points

R1 is already set up for IPv6 (Gi0/0 2001:db8:acad:10::1/64, Gi0/1 2001:db8:acad:20::1/64, link-local fe80::1 on both). The servers team wants fixed, easy addresses on the PCs as well as their SLAAC ones:

  • PC1 (Windows): 2001:db8:acad:10::10/64
  • PC2 (Linux): 2001:db8:acad:20::10/64

Use the router's link-local address as each PC's IPv6 gateway, then prove the PCs can reach each other's new address. Answer the questions too.

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 PC keeps its SLAAC address and gains the static one; IPv6 interfaces normally have several addresses. Both PCs already had a gateway from the router's RA, but setting it by hand (to fe80::1, the router's link-local address on that LAN) is what you do when there are no RAs. Link-local gateways are normal in IPv6: the PC only needs to reach the router on its own link.

Shortening: 2001:db8:0:0:a00:0:0:1 has two equal runs of zero groups, and the rule is to replace the first: 2001:db8::a00:0:0:1. fd at the start means a unique local address (fc00::/7).

Show solution
[PC1]
netsh interface ipv6 add address "Ethernet" 2001:db8:acad:10::10/64
netsh interface ipv6 add route ::/0 "Ethernet" fe80::1
ipconfig
[PC2]
sudo ip -6 addr add 2001:db8:acad:20::10/64 dev eth0
sudo ip -6 route add default via fe80::1
ping -c 3 2001:db8:acad:10::10
[PC1]
ping 2001:db8:acad:20::10
HOME LABS COMMUNITY DASHBOARD