How to convert IPv4 into IPv6

Posted on 2012-04-02
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 167 total points
ID: 37799122
please look here:
hopefully it helps
LVL 19

Assisted Solution

bevhost earned 333 total points
ID: 37800476
LVL 19

Accepted Solution

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

Author Closing Comment

ID: 37858520
Works great, thanks!

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

691 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