New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
IPv6 on OpenVZ
ksx4system
Member
Is it possible to add IPv6 to my VPS using only tun module? My current provider (non lowendbox, from my home country) loaded tun for me (and I have correct /dev/net/tun device) but they don't want to load sit module. They use 2.6.18-194.26.1.el5.028stab081.1 Linux kernel if it makes any difference.
Comments
google for tbtun, i wouldn't really recommend it though
afaik tb-tun needs sit module (if not - please prove it), ustun (tb-tun fork with firewall addon) doesn't work at all. gogoc (freenet6 client) freezes my VPS a bit making load go up from 0.01 to 1.00 all the time (and it doesn't work too).
i have no idea, i've only used it once and it wasn't ... good
but it's own faq says:
Some old linux kernel or OpenVZ containers did not support linux-tunnel (device sit). TB-TUN can run in userspace and build 6to4/tunnelbroker/ISATAP tunnel.
I don't know what the f&@% is ISATAP ;-) however, I tried to setup he.net tunnelbroker based IPv6, with no luck unfortunately. I found that it'll be much easier to set up but... it's not, at least on OpenVZ.... afaics it still needs sit module, WTF?
edit:
weird thing.
root@maryland:/# modprobe tun
FATAL: Module tun not found.
but provider says that they already loaded it for me and
root@maryland:/# ls /dev/net
tun
so it looks like they really did (there was no "tun" file before I asked them to load tun module).
Do a cat /dev/net/tun
It must say Bad descriptor or something like that
@yomero exactly
root@maryland:/# cat /dev/net/tun
cat: /dev/net/tun: File descriptor in bad state
You do not do modprobe yourself on openvz. The provider loads the modules on the host node. Any modprobe you try inside the VPS will invariably fail, even if that module is already loaded on the node.
As for tb-tun, it worked perfectly for me, and it's made specifically to be used without sit module (so I am at a loss of words from your request to "prove" it).
@rm_ Can you tell me the commands that you ran to assign the IP to the device? I can't get it to work.
@dclardy
something like this: