-
IPv6 Tunneling in Java
Hi
I'm working on a project that would allow IPv6 packets to reach an IPv6 machine over an IPv4 netwrok. Is there anyone out there who would have an idea how to manipulate IPv6 addresses using Java?
Seeing as IPv6 addresses are 128-bits long and IPv4's are only 32-bits, I was looking for a way to add 96 bits of padding to an IPv6 packet, thus making it compatible with IPv4 routers.
Any suggestions?
I should point out that this is merely a college project - I'm not looking for developers or anything :)
-
If we just have to get an ip6 packet over an ip4 packet, then why don't we just use the actual entire ip6 packet as the payload in the ip4 packet ?
-
I think the problem is the addressing - the IPv6 address has to be converted into an IPv4 one, then back again.
At least that's my understanding of it - I Might Be Wrong.
-
Yeah I know that the packets addresses are completely different.
But if the project description was just to get an ip6 packet across the network then we could do that.
Uhn. Suppose we'll just convert the address to 32bit :)
-