I have an existing php web application, I'm on IPv4, how can I fake IPv6 address to test the application compatibility with it? or is there a better way to test IPv6 compatibility?
Update: My application log the ip of the user when he's making certain actions. The IP addresses are stored in the database (from another question I can understand that BINARY is the best column type). The application should also be possible to search by IP.
I want apache / php to work as if I were using IPv6, I need to be sure my application compatibility with IPv6 is ready for production on both IPv4 networks + IPv6 networks.