Hey,
I am currently trying to setup IPv6 on my openvz server. I did follow this guide http://www.tunnelbroker.net/forums/index.php?topic=152.0 but can't even ping ipv6.google.com.
[root@vz ~]# ifconfig
eth0 Link encap:Ethernet HWaddr BC:AE:C5:D7:44:E9
inet addr:204.12.241.162 Bcast:204.12.241.191 Mask:255.255.255.224
inet6 addr: fe80::beae:c5ff:fed7:44e9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5375302 errors:0 dropped:0 overruns:0 frame:0
TX packets:4565259 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3134439770 (2.9 GiB) TX bytes:579546542 (552.6 MiB)
Interrupt:74 Base address:0x8000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:258 errors:0 dropped:0 overruns:0 frame:0
TX packets:258 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:35285 (34.4 KiB) TX bytes:35285 (34.4 KiB)
sit0 Link encap:IPv6-in-IPv4
inet6 addr: ::127.0.0.1/96 Scope:Unknown
inet6 addr: ::204.12.241.162/96 Scope:Compat
UP RUNNING NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
sit1 Link encap:IPv6-in-IPv4
inet6 addr: 2001:4858:1111:14::2/64 Scope:Global
inet6 addr: fe80::cc0c:f1a2/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:4732 (4.6 KiB)
venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet6 addr: fe80::1/128 Scope:Link
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:12701472 errors:0 dropped:0 overruns:0 frame:0
TX packets:13507822 errors:0 dropped:195 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5413650423 (5.0 GiB) TX bytes:7976596341 (7.4 GiB)
[root@vz ~]#
[root@vz ~]# route -n -A inet6
Kernel IPv6 routing table
Destination Next Hop Flags Metric Ref Use Iface
::/96 :: U 256 0 0 sit0
2001:4858:1111:14::890:e247/128 :: U 1024 0 0 venet0
2001:4858:1111:14::ea7:c68e/128 :: U 1024 0 0 venet0
2001:4858:1111:14::13da:1a9c/128 :: U 1024 0 0 venet0
2001:4858:1111:14::1dea:b3e9/128 :: U 1024 0 0 venet0
2001:4858:1111:14::207d:602f/128 :: U 1024 0 0 venet0
2001:4858:1111:14::3ef0:573a/128 :: U 1024 0 0 venet0
2001:4858:1111:14::569f:fa41/128 :: U 1024 0 0 venet0
2001:4858:1111:14::58a6:95c0/128 :: U 1024 0 0 venet0
2001:4858:1111:14::5a04:7b28/128 :: U 1024 0 0 venet0
2001:4858:1111:14::5b5d:520f/128 :: U 1024 0 0 venet0
2001:4858:1111:14::5e43:387e/128 :: U 1024 0 0 venet0
2001:4858:1111:14::6716:807d/128 :: U 1024 0 0 venet0
2001:4858:1111:14::6957:732b/128 :: U 1024 0 0 venet0
2001:4858:1111:14::754b:4a35/128 :: U 1024 0 0 venet0
2001:4858:1111:14::79bd:7a08/128 :: U 1024 0 0 venet0
2001:4858:1111:14::92be:503f/128 :: U 1024 0 0 venet0
2001:4858:1111:14::a517:87b8/128 :: U 1024 0 0 venet0
2001:4858:1111:14::b1e0:48c1/128 :: U 1024 0 0 venet0
2001:4858:1111:14::b405:a728/128 :: U 1024 0 0 venet0
2001:4858:1111:14::b4d3:ac39/128 :: U 1024 0 0 venet0
2001:4858:1111:14::bf50:21a4/128 :: U 1024 0 0 venet0
2001:4858:1111:14::cad7:f1b/128 :: U 1024 0 0 venet0
2001:4858:1111:14::cb41:9747/128 :: U 1024 0 0 venet0
2001:4858:1111:14::cd7d:a36c/128 :: U 1024 0 0 venet0
2001:4858:1111:14::cef3:fe5a/128 :: U 1024 0 0 venet0
2001:4858:1111:14::d48c:7079/128 :: U 1024 0 0 venet0
2001:4858:1111:14::d989:73bf/128 :: U 1024 0 0 venet0
2001:4858:1111:14::e6c4:575c/128 :: U 1024 0 0 venet0
2001:4858:1111:14::ec5d:9a9b/128 :: U 1024 0 0 venet0
2001:4858:1111:14::f1af:39f2/128 :: U 1024 0 0 venet0
2001:4858:1111:14::fc45:5cb2/128 :: U 1024 0 0 venet0
2001:4858:1111:14::fe76:ca9c/128 :: U 1024 0 0 venet0
2001:4858:1111:14::/64 :: U 256 0 0 sit1
2000::/3 :: U 1 0 0 sit1
2000::/3 :: U 1024 0 0 sit1
fe80::/64 :: U 256 0 0 eth0
fe80::/64 :: U 256 0 0 sit1
fe80::/64 :: U 256 0 0 venet0
::/0 :: U 1 0 0 sit1
::1/128 :: U 0 0 1 lo
::127.0.0.1/128 :: U 0 0 1 lo
::204.12.241.162/128 :: U 0 0 1 lo
2001:4858:1111:14::/128 :: U 0 0 1 lo
2001:4858:1111:14::2/128 :: U 0 69 1 lo
fe80::/128 :: U 0 0 1 lo
fe80::/128 :: U 0 0 1 lo
fe80::1/128 :: U 0 0 1 lo
fe80::cc0c:f1a2/128 :: U 0 0 1 lo
fe80::beae:c5ff:fed7:44e9/128 :: U 0 0 1 lo
ff00::/8 :: U 256 0 0 eth0
ff00::/8 :: U 256 0 0 sit1
ff00::/8 :: U 256 0 0 venet0
[root@vz ~]# ping6 ipv6.google.com
PING ipv6.google.com(iw-in-x93.1e100.net) 56 data bytes
From 2001:4858:1111:14::2 icmp_seq=4 Destination unreachable: Address unreachable
From 2001:4858:1111:14::2 icmp_seq=5 Destination unreachable: Address unreachable
--- ipv6.google.com ping statistics ---
6 packets transmitted, 0 received, +2 errors, 100% packet loss, time 5001ms
Thanks in advance for any help.
tunnelbroker.net, click on tunnel, "example configuration", "Select your OS" -> linux-route2
It looks much better.
modprobe ipv6
ip tunnel add he-ipv6 mode sit remote <HE-ipv4-address> local <your-ipv4-address> ttl 255
ip link set he-ipv6 up
ip addr add <your-tunnel-end-ipv6-address>/64 dev he-ipv6
ip route add ::/0 dev he-ipv6
ip -f inet6 addr
Works here even inside VE. (--features sit:on; --capability net_admin:on)