Results 1 to 5 of 5

Thread: IPv6 Tunneling in Java

  1. #1

    Thread Starter
    Addicted Member MethadoneBoy's Avatar
    Join Date
    Oct 2001
    Location
    Preferably somewhere between Keira Knightley and Diane Kruger but I'm not fussy
    Posts
    180

    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...."

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    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]

  3. #3

    Thread Starter
    Addicted Member MethadoneBoy's Avatar
    Join Date
    Oct 2001
    Location
    Preferably somewhere between Keira Knightley and Diane Kruger but I'm not fussy
    Posts
    180
    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...."

  4. #4
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    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]

  5. #5

    Thread Starter
    Addicted Member MethadoneBoy's Avatar
    Join Date
    Oct 2001
    Location
    Preferably somewhere between Keira Knightley and Diane Kruger but I'm not fussy
    Posts
    180
    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
  •  



Click Here to Expand Forum to Full Width