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.
Getting IPv6 to work on CentOS
DennisdeWit
Member
in Help
Hello,
I am trying to tunnel my server to IPv6. Without any success. I followed this tutorial:
http://lowendbox.com/blog/ipv6-with-a-hurricane-electric-tunnel/
Configured ifcfg-sit1 like this:
DEVICE=sit1
BOOTPROTO=none
ONBOOT=yes
IPV6INIT=yes
IPV6TUNNELIPV4=216.66.84.46
IPV6TUNNELIPV4LOCAL=94.100.24.139
IPV6ADDR=2001:470:1f14:e44::2/64
IPV6_DEFAULTGW=2001:470:1f14:e44::1
ifdown sit1
ifup sit1
Ping6 ipv6.google.com
[root@bella ~]# ping6 google.com
PING google.com(ea-in-x65.1e100.net) 56 data bytes
Nothing happens. Who can assist me?
Comments
Is it a VPS or dedi, if VPS what kind?
ip -6 r
ip -6 addr
Please.
It's a VPS on ESXi.
Here are the results. I can't paste them in this forum.
http://pastebin.com/1Kuan8PW
No package ipv6 available.
You need to configure both sit and network file to make it work. But I'm on my phone, so no config sample.
I am also using CSF. It says TCP6OUT, UDP6OUT and ICMP6OUT are blocked by default. How to allow them?
Right now:
http://pastebin.com/cgLR7qfs
What is the /etc/resolv.conf value?
; generated by /sbin/dhclient-script
search xseu.net
nameserver 8.8.8.8
enable csf ipv6
add ipv6 resolver
add this
Got this:
http://pastebin.com/13v2K4X8
is v6 enabled ?
/etc/sysconfig/network
NETWORKING_IPV6=yes
Yup
http://pastebin.com/QrxEKTSJ
Okay, I know for sure it's a problem with CSF.
csf and lfd have been disabled
[root@bella ~]# ping6 ipv6.google.com
PING ipv6.google.com(ea-in-x71.1e100.net) 56 data bytes
64 bytes from ea-in-x71.1e100.net: icmp_seq=1 ttl=57 time=5.73 ms
64 bytes from ea-in-x71.1e100.net: icmp_seq=2 ttl=57 time=5.68 ms
64 bytes from ea-in-x71.1e100.net: icmp_seq=3 ttl=57 time=5.85 ms
64 bytes from ea-in-x71.1e100.net: icmp_seq=4 ttl=57 time=5.70 ms
^C
When enabling, it doesn't work anymore.
I restarted CSF and everything works now! Thanks guys )