Solved

How to convert IPv4 into IPv6

Posted on 2012-04-02
4
418 Views
Last Modified: 2012-04-17
In my effort to maintain a universal standard in all future IP addressing I need to detect, convert and store any IPv4 as IPv6.  Then my application uses the IPv6 accordingly.  How do I accomplish this?  I need to both detect and convert the IP address as needed.  Obviously some cases would begin with an IPv6 and require no conversion.

We're now in an IPv6 world, gone are the days of memorizing IP addresses;-)

Thanks,

Phil
0
Comment
Question by:Phil5780
  • 2
4 Comments
 
LVL 5

Assisted Solution

by:kanalQko
kanalQko earned 167 total points
ID: 37799122
please look here: http://www.fnode.com/2009/11/convert-ipv4-into-ipv6/
hopefully it helps
0
 
LVL 19

Assisted Solution

by:bevhost
bevhost earned 333 total points
ID: 37800476
0
 
LVL 19

Accepted Solution

by:
bevhost earned 333 total points
ID: 37800479
eg:
in IPv6, 192.0.2.128 can be written as  ::ffff:192.0.2.128
0
 

Author Closing Comment

by:Phil5780
ID: 37858520
Works great, thanks!
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question