C
C
CJSC MetroCraft2019-12-07 11:22:38
Computer networks
CJSC MetroCraft, 2019-12-07 11:22:38

Converting IPv6 to IPv4?

Hello!
There is a device that ONLY supports IPv4. And on the Internet there is only a /64 IPv6 subnet. How to start the network according to this scheme - on the edge device, an IPv6 address is bound to the IPv4 address, when the packet arrives at this address, the edge device assigns the IPv6 address of the sender to the IPv4 address in the subnet of the local network, and redirects to the desired device, this device receives the packet and sends a response to the IPv4 address assigned by the edge device (router or server) and this device already converts the packet to IPv6 and sends it to the sender?! At the same time, only IPv4 traffic flows inside the local network, IPv4 and IPv6 traffic in the external network, and on the edge device, IPv6 is converted to IPv4 and vice versa, respectively! How to implement this, tell me, please!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
poisons, 2019-12-08
@poisons

ROS is not able to do NAT6 to 4. And most likely it will not learn how to do it in the near future. Actually, there are several options to get to the devices behind the router.
1. Use tunnels. The tunnel goes up with ipv6, the payload can be with ipv4.
2. Use some kind of proxy that knows how to dual stack. There are a lot of variations, if the device you need to get to has an http face - any web server with a reverse proxy. If this device is able to tcp port for native software - haproxy with some restrictions.
There is a limitation in the second method - the provider gives you / 64, it will not be enough, because. there is no pool for distributing internal addresses, but you can bypass it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question