|
-
Feb 21st, 2002, 07:13 AM
#1
Thread Starter
Addicted Member
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
Last edited by MethadoneBoy; Feb 21st, 2002 at 07:27 AM.
"'Oh, hello Mr. Crick! What do you think of Jeffrey Archer?' Clip-clip-clip! Oh, come on! Who are you kidding? You wait til I'm mayor, you'll see how tough I am! Christ almighty...."
-
Feb 21st, 2002, 11:41 AM
#2
Retired VBF Adm1nistrator
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 ?
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Feb 21st, 2002, 11:48 AM
#3
Thread Starter
Addicted Member
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.
"'Oh, hello Mr. Crick! What do you think of Jeffrey Archer?' Clip-clip-clip! Oh, come on! Who are you kidding? You wait til I'm mayor, you'll see how tough I am! Christ almighty...."
-
Feb 21st, 2002, 11:51 AM
#4
Retired VBF Adm1nistrator
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
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Feb 21st, 2002, 11:53 AM
#5
Thread Starter
Addicted Member
That's the idea
"'Oh, hello Mr. Crick! What do you think of Jeffrey Archer?' Clip-clip-clip! Oh, come on! Who are you kidding? You wait til I'm mayor, you'll see how tough I am! Christ almighty...."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|