It is possible to include the IPv4 address into IPv6 address. For example, 2001:db8::c0a8:6301 where last 32 bits are IPv4 address 192.168.99.1. There is even a special notation of IPv6 address where last 32 bits are in dot-decimal notation. Example from Juniper router:
root@mx> show configuration interfaces ge-0/0/0 unit 0 family inet6
address 2001:db8::192.168.99.1/64;
root@mx>
Under which circumstances it makes sense to include the IPv4 address into IPv6 address? Has anyone seen this in practice?
::192.168.0.1is an example that would usually be written using this notation, but that prefix is deprecated. 6to4 gateways and Teredo server addresses have their IPv4 address embedded in IPv6 addresses, but not in the last 32 bits, so those are not candidates for this notation. Teredo client addresses are embedded in the last 32 bits, but the bits are negated so it would just be confusing to use this notation for those. Are there any other examples? – kasperd Nov 09 '18 at 23:04