Lion Cipher Lab

Run IPv6 on your own lab network and block a rogue router advertisement

Why it matters

IPv6 is probably running on your machines whether you configured it or not, and its autoconfiguration trusts any router advertisement it hears on the local network. A device that sends one, by mistake or on purpose, can hand every client a new default route. IPv4 networks have the same sort of problem with rogue DHCP servers, but many defenders have never looked at the IPv6 version. Building the network yourself shows exactly what is trusted, and the two fixes you try, filtering at the switch and tightening the client, are the ones real networks use.

What you'll learn

Steps in this lab

  1. How an IPv6 client gets its address without a server
  2. Build the link: a bridge and three namespaces
  3. Make r1 a real router and advertise a prefix with radvd
  4. Bring up the client and read what it built
  5. Start a rogue advertiser and watch the client believe it
  6. Defence 1: filter router advertisements on the bridge
  7. Defence 2: tell the client not to listen
  8. What a professional does differently
  9. Clean up

Open the full interactive lab →

Keep learning