Hurricane Electric's IPv6 Tunnel Broker Forums

General IPv6 Topics => IPv6 Basics & Questions & General Chatter => Topic started by: collum on May 19, 2012, 12:54:46 PM

Title: Tunneling IPv4 over IPv6
Post by: collum on May 19, 2012, 12:54:46 PM
I'm wanting to do the opposite of what is most commonly done.  Working in a test environment, I'm setting up hosts with IPv6 only addressing. They have no problem in reaching IPv6 capable hosts on the Internet.  Since there's no routable IPv4 address on the hosts (just link-local), I'm assuming that any v4 request is going to just die on the host itself. Can anyone think of an option of getting this to work? If at all possible, I'd like the traffic between the ipv6 host and  the OpenWRT Access Point to stay IPv6.

    jim


ipv6 host----------------
                                 |
                                 |
ipv6 host-------------------------|Wireless---OpenWrt AP| --------------Gateway to Internet
                                 |
                                 |
ipv6 host----------------

Title: Re: Tunneling IPv4 over IPv6
Post by: jtcloe on May 19, 2012, 03:48:25 PM
Some kind of proxy, or other application gateway.

What kind of traffic is it?  Web (http)?  Something else?
Title: Re: Tunneling IPv4 over IPv6
Post by: broquea on May 20, 2012, 12:37:19 AM
Run NAT64/DNS64?
Title: Re: Tunneling IPv4 over IPv6
Post by: kasperd on May 21, 2012, 01:01:17 AM
Quote from: collum on May 19, 2012, 12:54:46 PMSince there's no routable IPv4 address on the hosts (just link-local), I'm assuming that any v4 request is going to just die on the host itself. Can anyone think of an option of getting this to work?
I can think of four different approaches to get it working.


Any of the four approaches will work. Which of the four will work best depends on the software support. I don't know specific software implementations of any of the above, and I don't know which of them might be supported by OpenWRT. Using NAT64+DNS64 or using the transparent http proxy are the only options on the list, which do not require changes on the client machines. And since the transparent http proxy doesn't help for other protocols than http, I would recommend that you first give NAT64+DNS64 a try and only consider the other options if NAT64 for some reason doesn't cut it.