How to convert IPv4 into IPv6

Posted on 2012-04-02
Medium Priority
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;-)


Question by:Phil5780
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Assisted Solution

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

Assisted Solution

bevhost earned 1332 total points
ID: 37800476
LVL 19

Accepted Solution

bevhost earned 1332 total points
ID: 37800479
in IPv6, can be written as  ::ffff:

Author Closing Comment

ID: 37858520
Works great, thanks!

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

777 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