top | item 37121489

(no title)

K2L8M11N2 | 2 years ago

But it does, that's what ::ffff:0:0/96 is for

discuss

order

remram|2 years ago

I can't `ping ::ffff:192.168.0.1` and have it ping my router. There is a range reserved for representing IPv4 addresses, but the stack doesn't translate.

rnhmjoj|2 years ago

You can if you have NAT64:

    $ ping 64:ff9b::1.1.1.1
    PING 64:ff9b::1.1.1.1(one.one.one.one (64:ff9b::101:101)) 56 data bytes
    64 bytes from one.one.one.one (64:ff9b::101:101): icmp_seq=1 ttl=54 time=10.4 ms
    64 bytes from one.one.one.one (64:ff9b::101:101): icmp_seq=2 ttl=54 time=10.0 ms

Dagger2|2 years ago

It does translate, but it doesn't work for ping because ping bypasses most of the stack by sending raw packets. Try something like `telnet ::ffff:192.168.0.1 80`.

throw0101b|2 years ago

> I can't `ping ::ffff:192.168.0.1` and have it ping my router.

How would that even work in theory?

How would a ('legacy'?) host that only understands the 32-bit data structure of IPv4 addresses talk to a >32-bit data structure IPv6 addressed host?

loa_in_|2 years ago

But you can "ping $address" regardless of which IP version it's using. Please, elaborate what are you trying to solve.

fanf2|2 years ago

That part of IPv6 is mostly deprecated. The more modern version is NAT64 which uses 64:ff9b::/96 by default.

FuriouslyAdrift|2 years ago

Those aren't publicly routable though... that's the problem.

coryrc|2 years ago

Couldn't we just make it so?