
The LAN IPv6 address of the DUT can be configured within CDRouter using the following options:
Because the 6to4 address is composed from two components, we say it is an expected address. When the DUT is configured for 6to4, the WAN interface is unnumbered and the prefix used by the DUT on the LAN is based on the DUT's WAN IPv4 address. In this scenario, CDRouter uses the 6to4 prefix and a manually configured 64-bit interface identifier to assume the DUT's expected LAN IPv6 address. The interface identifier used by CDRouter must be manually configured using the testvar ipv6LanInterfaceId. This interface identifier can be either static or learned from the MAC address:
If the DUT's interface identifier is simply ::1, the testvar ipv6LanInterfaceId should be configured as follows:
If the 64-bit 6to4 prefix generated by the DUT is 2002:1234:5678:abcd::, the full expected address of the DUT's LAN interface will be 2002:1234:5678:abcd:0000:0000:0000:0001.
The expected address in this example will be 2002:1234:5678:abcd:1001:020a:0003:00f4.
CDRouter will automatically generate the EUI64 interface identifier of the DUT's LAN IPv6 address by converting its 48 bit LAN MAC address, which it learned during the startup phase.
When the DUT is configured for static IPv6 on the WAN, the WAN interface is considered a numbered interface. In this scenario, both the WAN and LAN interfaces will have global IPv6 addresses, and the DUT's LAN IPv6 address must be entirely configured by the user. CDRouter must be configured to match the DUT's LAN IPv6 address using the testvars ipv6LanIp and ipv6LanPrefixLen.
If the DUT is configured with a LAN IPv6 address of 3004::1/64, the ipv6LanIp and ipv6LanPrefixLen testvars should be configured as follows:
Note that when the DUT is configured for static IPv6 on the WAN, the testvar ipv6LanInterfaceId is ignored. Likewise, when the DUT is configured for 6to4 on the WAN, the testvars ipv6LanIp and ipv6LanPrefixLen are ignored.
For more information, please see the CDRouter IPv6 User's Guide.
Related articles that may also be helpful: