You are not logged in.

#1 2011-08-11 10:53:53

Pooh-Bah
Member
Registered: 2011-07-13
Posts: 47

[SOLVED] 6in4 tunnel doesn't work

I use http://tunnelbroker.net/ and script from "example configuration", and also from arch wiki: https://wiki.archlinux.org/index.php/IPv6_-_6in4_Tunnel

#!/bin/sh
modprobe ipv6
ip tunnel add he-ipv6 mode sit remote 216.66.84.46 local xxx.xxx.xxx.xxx ttl 64
ip link set he-ipv6 up
ip addr add 2001:xxxx:xxxx:xxxx::x/64 dev he-ipv6
ip route add ::/0 dev he-ipv6
ip -f inet6 addr

ifconfig he-ipv6:

he-ipv6   Link encap:UNSPEC  HWaddr 53-8F-22-7F-76-B7-01-00-00-00-00-00-00-00-00-00  
          inet6 addr: fe80::538f:227f/128 Scope:Link
          inet6 addr: 2001:xxxx:xxxx:xxxx::x/64 Scope:Global
          UP POINTOPOINT RUNNING NOARP  MTU:1472  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)

but network is down sad
try ping6 ipv6.google.com and nothing happens.

ping6 ipv6.google.com
PING ipv6.google.com(ber01s02-in-x68.1e100.net) 56 data bytes
^C
--- ipv6.google.com ping statistics ---
6 packets transmitted, 0 received, 100% packet loss, time 5008ms

Why?

I try first method from "example configuration" Linux-net-tools and it works fine. But Linux-route2 doesn't work in Arch.
Anybody can help? smile

Last edited by Pooh-Bah (2011-08-11 11:26:15)

Offline

#2 2011-08-11 11:25:57

Pooh-Bah
Member
Registered: 2011-07-13
Posts: 47

Re: [SOLVED] 6in4 tunnel doesn't work

damn. problem solved. big_smile

# echo 1 > /proc/sys/net/ipv6/conf/all/forwarding

now ipv6 tunnel works fine.

Offline

Board footer

Powered by FluxBB