• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » HP Cloud IPv6 : Method to Use on Instances

By Abhishek Ghosh June 1, 2015 8:37 pm Updated on June 1, 2015

HP Cloud IPv6 : Method to Use on Instances

Advertisement

One of the commonly asked question is around HP Cloud IPv6. At the time of publication of this guide there is no official way except DIY methods. Previously, we have discussed about IPv6 through many articles. As like HP, we are not exactly interested about adding IPv6 to the current instances. There are several reasons and one of them is security.

 

HP Cloud IPv6 : Prerequisites

 

HP has a comprehensive suite of IPv6 products and solutions to enable seamless transition to an IPv6 connected world which is not related to HP Horizon. They are for enterprise grade usage and even we (with old Indian conglomerate) do not use them. Most of you need IPv6 for a hype. So, we are providing you some cheating methods for adding funky IPv6.

If the existing Class A IPv4 is rightly used or cost increased, for serious usage they are really better from security point of view. You can not run IPv6 only server right now.

Advertisement

---

We are taking it granted that, you are using HP Cloud DNS or Akamai DNS for IPv4. Both of them support adding a AAAA record against the IP address.

There are two methods for adding IPv6 to an instance via DNS service.

HP Cloud IPv6 - Method to Use on Instances

 

HP Cloud IPv6 : Method One (Cheating Method, Safer)

 

Akamai DNS will not support IPv6. So ultimately, if you use this method, your instance will pass 30%-50% of the common tests for IPv6. That is, Users with IPv6 only ISP only, can not reach your website related to instance. It is not a great problem. At least you will have an IPv6 and should be happy kid.

If you run :

Vim
1
dig thecustomizewindows.com AAAA

you will see that we have an IP address. As our servers are Nginx, we adjusted the /etc/nginx/sites-available/default file in this fashion :

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# port 80 -> port 433
server {
listen 80;
listen [::]:80 ipv6only=on;
...
}
# working
server {
listen 443 ssl spdy default ipv6only=on;
server_name thecustomizewindows.com;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
...
}

As we are using HSTS, ssl spdy is added. ipv6only=on is the only needed directive from server side. So we added that IPv6 2002:f7d:4da6::f7d:4da6 from HP Cloud DNS. Now how we got this 2002:f7d:4da6::f7d:4da6, we should have only the IPv4 address 15.125.77.166.

There are online tools available for IPv6 / IPv4 Conversion. One of them is :

Vim
1
https://isc.sans.edu/tools/ipv6.html # copy to text editor first

It is exactly not the right way but at least your server will show as compatible to IPv6. Additionally you need to adjust your router settings on HP Cloud. This is odd but from security point of view it is better. DNS will not support IPv6, hence mixed IPv4-IPv6 will be needed to connect to the server.

It has no security risk. That IPv6 2002:f7d:4da6::f7d:4da6 is actually kind of translated version of our IPv4 address 15.125.77.166. Obviously the identifiers will match.

 

HP Cloud IPv6 : Using Hurricane Electric Free DNS Management

 

This method is by using a TunnelBroker. It is risky. We are providing the most easy way to configure. Networking is not easy on VM and HP is not supplying the service. You are opening the backdoor of router. If your whole account gets hacked, do not blame us or HP. If you are dyeing for IPv6 then use Rackspace. DigitalOcean is not a standard A grade web host infant of HP, we can not suggest to use it. We or HP will be not be responsible if your stuffs get fully broken down.

We have lesser guts, we are using the cheating method written above. Server security is of first importance.

RFC 3053 defines IPv6 TunnelBroker. SixXS currently has 49 PoPs. You need a free SixXS account > Request a tunnel > Wait for tunnel approval > Request a subnet > Wait for subnet approval. You’ll get an email like this :

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Dear Generic User,
 
The SixXS Staff have honored your request for a subnet on the following
tunnel:
-------
PoP Name     : chzrh01 (ch.thermelec [AS20932])
Subnet IPv6  : 2001:xxxx:xxxx::/48
Routed to    : 2001:xxxx:xxxx:xx::2/64
Your IPv4    : ayiya
-------
 
Please visit your home on the website for more information and options
regarding this subnet.
 
Regards,
The SixXS tunnel robot.

Then install aiccu on server instance, it is the SixXS client application. If aiccu runs as daemon, it will make sure your tunnel endpoint is always up to date due to the heartbeat protocol. Note AICCU is only needed for heartbeat and AYIYA tunnels. Static tunnels can be configured using only interfaces. Run :

Vim
1
aptitude install aiccu

you’ll get prompt over SSH and you will get username, password, and the tunnel_id prompt. Then edit :

Vim
1
2
/etc/aiccu.conf
# nano /etc/aiccu.conf

This :

behindnat true should not be commented out. Start the service and test :

Vim
1
/etc/init.d/aiccu start && ip a

Edit :

Vim
1
nano /etc/sysctl.conf

and uncomment the line net.ipv6.conf.all.forwarding=1.

Then run :

Vim
1
sysctl -p

Install ravd :

Vim
1
apt-get install radvd

Edit :

Vim
1
/etc/radvd.conf

Edit in this way :

Vim
1
2
3
4
5
6
7
8
9
10
interface eth0 {
    AdvSendAdvert on;
    MaxRtrAdvInterval 30;
    AdvOtherConfigFlag on;
 
    prefix TUNNEL_PREFIX_FROM_SIXXS.NET {
        AdvOnLink on;
        AdvAutonomous on;
    };
};

Edit :

Vim
1
nano /etc/network/interfaces

Like this :

Vim
1
2
3
4
5
auto eth0
iface eth0 inet dhcp
iface eth0 inet6 static
    address IP_IN_YOUR_SUBNET_FROM_SIXXS.NET
    netmask 64

DHCPv6 or reverse DNS is not installed here. This way is the technically right way but we can not suggest to use it. If you were using Digital Ocean, Hostgator or some $10 / month server, then probably it would look better. With Akamai’s DNS set,

Reboot the instance, all services will restart.

Tagged With hp could method

This Article Has Been Shared 876 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to HP Cloud IPv6 : Method to Use on Instances

  • Cloud Computing 3D Rendering And Scope In Film Industry

    Cloud Computing 3D Rendering Has Definite Scope in Film Industry which might alarm the Stars of tomorrow and relieve the Producers investing in the Films.

  • Cloud Computing and Designing Own Truly Scalable System

    Cloud Computing becomes fully enjoyable if it is arranged to make a scalable system for the application or CMS or any web software including WordPress.

  • How Cloud Computing Challenge The Networks

    How Cloud Computing Challenge Networks with virtually unlimited storage and computing capacity, reduced cost and maximum flexibility and massive data traffic.

  • Protection of Data by Data Loss Prevention and Encryption

    Protection of Data by data loss prevention and encryption is a key element in a cloud environment.This applies to data stored on a server and transport of data.

  • What is Important in Single Sign-On Solutions

    Single Sign-On (SSO) can unify the access control, even for the mobile apps, cloud computing Platforms and social networks. But what we must know about SSO?

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (22.1K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Types of Blackjack Variants: Discover the Different Versions of the Game May 23, 2022
  • How Cloud, Robotics And Sensor Technologies Are Changing The Business Landscape May 23, 2022
  • Modernizing Your Business With a Hybrid Cloud Strategy May 22, 2022
  • Big Data in Sports May 20, 2022
  • FaaS Versus PaaS Deployment: What You Should Know May 18, 2022

About This Article

Cite this article as: Abhishek Ghosh, "HP Cloud IPv6 : Method to Use on Instances," in The Customize Windows, June 1, 2015, May 24, 2022, https://thecustomizewindows.com/2015/06/hp-cloud-ipv6/.

Source:The Customize Windows, JiMA.in

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Privacy Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2022 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy