Questions tagged [ipv6]

The Internet Protocol is one of the fundamental protocols used for the Internet. IPv6 is the next generation Internet Protocol, as opposed to the currently common Internet Protocol known as IPv4.

Primarily IPv6 increases the number of available addresses to allow continued expansion of the Internet once all of the addresses are allocated. There are a number of other noticeable changes over , which are based on the lessons learned from the evolution of .

Useful resources:

2550 questions
17
votes
2 answers

REDIRECT a port in ip6tables

How can I redirect one port to another local port by using ip6tables ? e.g. something like this : ip6tables -t nat -A PREROUTING -j REDIRECT -p tcp --dport 443 --to-ports 8443
Changming Sun
  • 857
  • 2
  • 7
  • 19
17
votes
3 answers

Can't push/pull to bitbucket via SSH using IPv6

When I can push/pull to bitbucket: From my work computer via ssh key id_rsa_bitbucket_work From my laptop, but only when logged into VPN (Cisco AnyConnect) via ssh key id_rsa_bitbucket. My VPN has a static IP. Always using https. When I cannot…
Faustin Carter
  • 686
  • 6
  • 12
16
votes
1 answer

Adding link local address

If the IPv6 link-local address is manually deleted on an interface, is there a way to obtain the link-local address back without bringing the interface down? The requirement stems from the need to hold onto (IPv4) existing connections on the…
Maddy
  • 1,319
  • 3
  • 22
  • 37
16
votes
1 answer

How to test iOS app is it supporting IPv6?

I have apps, built 2015 and 2014. How can I test them for IPv6? If my apps doesn't support IPv6, what should I do? My apps are using AFNetworking and Alamofire. I'm connecting mostly to domains ( Ex. api.example.com/v1/...). Only 1 app use IP: (ex:…
Altimir Antonov
  • 4,966
  • 4
  • 24
  • 26
16
votes
2 answers

Calling IPV6 IP using WebSocket interface

[I've flagged this question to be deleted by moderator until I get answer to my this question] My javascript client is working fine when talking to node.js(on Ubuntu, more here) server through WebSocket interface with IPV4 IP address. Even though my…
user5858
  • 1,082
  • 4
  • 39
  • 79
16
votes
8 answers

IPv6 parsing in C

I wanted to know how I can parse an IPv6 address in C and convert it to a 128 bit value? So a hex address like 1:22:333:aaaa:b:c:d:e needs to be converted to its 128 bit equivalent binary. The problem is the IP address could be of the type ::2 and…
The Stig
  • 581
  • 2
  • 5
  • 15
16
votes
5 answers

How can I convert IPV6 address to IPV4 address?

I have application that uses IPv4 addresses (it stores them as long), so it only understands IPv4 addresses. Is it possible to convert IPv6 address to IPv4 with Java?
newbie
  • 24,286
  • 80
  • 201
  • 301
16
votes
6 answers

Store IPv6 in database

What's the best practise to store IP's with PHP in MySQL database? There's a function called ip2long - but this is just for IPv4. But what about IPv6? I know a php function that is for IPv6 IP's, but it doesn't work on Windows with PHP < Version 5.3
Poru
  • 8,254
  • 22
  • 65
  • 89
16
votes
3 answers

How to convert IPv6 from binary for storage in MySQL

I am trying to store IPv6 addresses in MySQL 5.0 in an efficient way. I have read the other questions related to this, such as this one. The author of that question eventually chose for two BIGINT fields. My searches have also turned up another…
Sander Marechal
  • 22,978
  • 13
  • 65
  • 96
15
votes
6 answers

IPv6 validation

I used IPAddressUtil.isIPv6LiteralAddress (ipAddress) method to validate IPv6, but this method fails for ipv6-address/prefix-length format (format is mentioned in RFC 4291 section 2.3) of IPV6. Could anyone know any validators which validate "…
Isabel Jinson
  • 8,541
  • 16
  • 59
  • 75
15
votes
7 answers

Representing IPv4/IPv6 addresses in Oracle

In Oracle, what is the appropriate data type or technique for representing network addresses, which addresses may be IPv4 or IPv6? Background: I'm converting a table recording network activity, built using the PostgreSQL inet data type to hold both…
pilcrow
  • 56,591
  • 13
  • 94
  • 135
15
votes
4 answers

How to test iOS app on supporting IPv6? Apple rejected app as it is not IPv6 compatible

have apps, built 2015 and 2014. How can I test them for IPv6? If my apps doesn't support IPv6, what should I do? My apps are using AFNetworking and Alamofire. I'm connecting mostly to domains ( Ex. api.example.com/v1/...). Only 1 app use IP: (ex:…
Hargovind Sharma
  • 151
  • 1
  • 1
  • 5
15
votes
2 answers

How to disable ipV6 in Google Chrome (version 45)?

I recently updated Chrome on my developer machine to v45. This update seems to set my client Ip to always use IpV6. Some of the applications I am developing locally require me to use Ipv4 so I need to disable Ipv6 on chrome. I tried solutions…
KnightFox
  • 3,132
  • 4
  • 20
  • 35
15
votes
1 answer

Accept IPv4 and IPv6 together in boost::asio

Short and simple question: I am new to boost::asio and I was wondering if it is possible to create a tcp::acceptor listening for both, IPv4 and IPv6 connections together. The tutorials on boost's homepage show something like this: _acceptor = new…
PuerNoctis
  • 1,364
  • 1
  • 15
  • 34
14
votes
3 answers

Definitive guide to understanding how to formulate an IPv6 address

For fun, I'd like to better understand the building blocks or elements that are within an IPv6 address. Here are the basics, from my understanding: IPv6 addresses are 128 bits long (written as 8 blocks, each with 16 bits) Each block is encoded as…
mP.
  • 18,002
  • 10
  • 71
  • 105