I have never dealt with IPv6. Today I got my internet installed from an internet company and they brought the router. When I accessed the router to see its public ip address, I found that there is only IPv6 address. One that ends with /64 and another that ends with /128. I have no idea about the difference between them.

Well the main thing I'm trying to do is that I want to have a server to host websites on it. At least one website for the moment. As I know is that I should put the ip address of my router in the domain configurations of my domain name. Then I should instruct the router to forward any HTTP requests to my server via port forwarding or something. As far as I know all domain providers only support IPv4. So how to go around this problem?

  • @Ramhound It is entirely possible that the router has two or even more IPv6 addresses. But those are not the ones that need to be used anyway. Port forwarding is a workaround you only need with IPv4. With IPv6 you need to use the IP address of the actual server, not of the router. – kasperd Mar 12 '16 at 22:34

With IPv6 you have billions and billions of addresses. A /64 means that the first 64 (of the 128 bits of an IPv6 address) are fixed and the remaining bits are available to use. A /64 has 18,446,744,073,709,551,616 addresses to be precise. IPv6 doesn't use NAT so there is no difference between internal and external addresses. The only difference is that there is probably a firewall between your network and the outside world to filter what gets in and out. The addresses themselves aren't changed in transit. Every IPv6 address is directly accessible from the outside world if the firewall allows it.

The problem you are going to encounter is that unfortunately most of the world doesn't have IPv6 yet. It is coming (Belgium already passed the 20% mark) but not available everywhere yet. Because IPv4 and IPv6 are two different protocols they don't talk to each other. That means that if you only have IPv6 to host your website on then only users who have IPv6 can access it. If the user only has IPv4 (still the vast majority) then they won't be able to access your website.

This is why these days websites and other services have to be dual-stack: supporting both IPv4 and IPv6 at the same time so that everybody can access them. Your internet connection hopefully has both IPv4 and IPv6. If you have your own IPv4 address then use that address for your website. If you don't have your own IPv4 address (and this happens more and more because IPv4 addresses are scarce (which is why IPv6 was invented) so IPv4 is getting expensive and IPv4 addresses have to be shared) then you can't run a webserver on it and most people will be unable to access your website.

|improve this answer|||||

When you connect to the router with your computer it will get an address which should help you determine which of the addresses is the router's (they have to be in the same range). IP6 doesn't need forwarding as such. The web server will have its own address which needs to be associated with the domain name (www.whatever.com) with a AAAA record in the DNS. Also, you will need to open the firewall aspect of the router (somehow, hopefully safely) to allow outside connections to the web server.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.