|
|
|
@ -27,7 +27,7 @@ class TestStuff(object):
|
|
|
|
|
|
|
|
|
|
def test_v6_static_mapping(self): |
|
|
|
|
host = "h1" |
|
|
|
|
nat64_prefix = ipaddress.ip_network("64:ff9b::/96") |
|
|
|
|
nat64_prefix = ipaddress.ip_network("2001:db8:1::/96") |
|
|
|
|
dst_ipv4 = ipaddress.ip_address("10.0.0.1") |
|
|
|
|
translated_ipv4 = nat64_prefix[int(dst_ipv4)] |
|
|
|
|
|
|
|
|
|