0

我有 3 个 IPv6 输入字段:

Prefix:

Length (of the prefix):

Suffix:

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

登陆 https://www.rfc-editor.org/rfc/rfc6052#section-2.4

    +-----------+------------+------------ ------------------+
    | 网络特定 | IPv4 | IPv4 嵌入式 IPv6 地址 |
    | 前缀 | 地址 | |
    +-----------+------------+------------ ------------------+
    | 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 |
    +-----------+------------+------------ ------------------+

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

4

0 回答 0