用于验证IPv4嵌入式IPv6地址的测试用例

时间:2012-06-12 10:56:52

标签: ipv6

我有3个IPv6输入字段:

Prefix:

Length (of the prefix):

Suffix:

我正在搜索验证IPv4嵌入式IPv6地址前缀的测试用例。

登陆 http://tools.ietf.org/html/rfc6052#section-2.4


    +-----------------------+------------+------------------------------+
    | Network-Specific      |    IPv4    | IPv4-embedded IPv6 address   |
    | Prefix                |   address  |                              |
    +-----------------------+------------+------------------------------+
    | 2001:db8::/32         | 192.0.2.33 | 2001:db8:c000:221::          |
    | 2001:db8:100::/40     | 192.0.2.33 | 2001:db8:1c0:2:21::          |
    | 2001:db8:122::/48     | 192.0.2.33 | 2001:db8:122:c000:2:2100::   |
    | 2001:db8:122:300::/56 | 192.0.2.33 | 2001:db8:122:3c0:0:221::     |
    | 2001:db8:122:344::/64 | 192.0.2.33 | 2001:db8:122:344:c0:2:2100:: |
    | 2001:db8:122:344::/96 | 192.0.2.33 | 2001:db8:122:344::192.0.2.33 |
    +-----------------------+------------+------------------------------+

我找到了一些例子,但我不确定它是否足够。你能告诉我一些其他测试用例吗?

0 个答案:

没有答案