20 IPv6 dual stack
IPv4 and IPv6 on the same switch with SLAAC, plus an IPv6-only link with static addresses.
What you practice
ipv6Prefix,nat6and router advertisements on a switch- SLAAC addresses next to DHCPv4
- Static IPv6 on a link
Topology
| Node | Image | CPUs / memory | Addresses | Role |
|---|---|---|---|---|
a | debian-13 | 1 / 1GiB | mgmt 10.120.0.11; v6 fd00:120:1::1/64 | Dual stack |
b | debian-13 | 1 / 1GiB | mgmt 10.120.0.12; v6 fd00:120:1::2/64 | Dual stack |
Before you start
bash
vz image pull disk debian-13Run it
bash
cd examples/20-ipv6-dual-stack
vz validate
vz up
vz node ls
ssh lab@10.120.0.11 # password: labTry it
bash
ssh lab@10.120.0.11 'ip -6 -br addr; ip -6 route'
ssh lab@10.120.0.11 'ping -6 -c 2 fd00:120:1::2' # over the link
ssh lab@10.120.0.11 'ip -6 neigh'
ping6 -c 2 <a's SLAAC address from above> # from the MacNotes
Reaching the IPv6 internet through NAT66 needs IPv6 on the Mac's own network.
Clean up
bash
vz down
vz destroy --yes # deletes the overlays and state of this lab