Solved

How to convert IPv4 into IPv6

Posted on 2012-04-02
4
420 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

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

839 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