Hi everyone! I keep getting lots of emails from people asking where they can buy xyz to complete the tutorials and try out some of the things listed on CaptainGeek, well after I kept emailing people the same links i had a thought, why not setup an amazon affiliate store. Basically, i’ve setup a small amazon site with a small selection of products (only those used for the tutorials on this site + related ones), purchases and payments are handled by amazon, however a small percentage of the sale goes to helping fund the server this website is hosted on AT NO EXTRA COST TO YOU 🙂 so its a win win situation, please use the links whenever you can.
I’ve been very busy lately, here is one of my latest incarnations, a Virtualisation Linux Distribution, which you can use as a live-cd or a bare-metal installer, it is debian based with virtualbox. Everything configured out of the box. You can run Linux/BSD/Solaris/Windows/Other virtual machines on this distribution, even if your system does not support virtualisation natively! =) Please note, this release is super early, it works, but very bare. In the coming weeks i’ll make it a pretty fully functional system. …
Many of you have probably used OpenVZ and got very angry at the fact that out the box, the ipv6 support is there, but difficult, hidden and badly documented. Well one of the most common compliants is that getting ipv6 working on the host is easy, but getting it to work inside the containers is a different story.
For this how to, i’ll be assuming you have already configured your ipv6 tunnel on the OpenVZ host, and that you have a suitable prefix assigned, e.g. a /64.
Firstly, you have to run a few commands and depending on your installation, these may or may not already be set.
# echo 1 > /proc/sys/net/ipv6/conf/all/proxy_ndp
# sysctl -w net.ipv6.conf.all.forwarding=1
These basically enable ipv6 to travel to and from containers without problems. Note, after a reboot these will need to be set again, however they can be set permanently also. This configuration will work for all containers.
Finally, to add an address to a specific container run the following (replacing with the number of your container) and replacing eth0 with the appropriate device.
# vzctl set --ipadd 2001:630:c2:YYYY::XXXX --save
# ip -6 neigh add proxy 2001:630:c2:YYYY::XXXX dev eth0
The first line add’s the address inside the container (note: do not try to add an address manually inside the container… it won’t work). The second line basically makes the host os aware of this address (not always needed, but no harm done).
After this you should be able to communicate to and from the host to anywhere using the ipv6 address you just assigned! Good Luck!