Tunnel posiadam z tunnelbroker.net również tak samo konfigi. Poniżej zaprezentuje konfigi, które mam na Debianie Lenny i właściwości tunelu oraz to jak on nie chce zadziałać.
Sprzętowo wygląda tak modem:
Kod: Zaznacz cały
DSL-stałe IP-ruter-serwer
Właściwości tunelu
Kod: Zaznacz cały
Global Tunnel ID: 27333 Local Tunnel ID: 5504
Server IPv4 address: 216.66.84.46
Server IPv6 address: 2001:470:1f14:1580::1/64
Client IPv4 address: 84.40.151.101
Client IPv6 address: 2001:470:1f14:1580::2/64
Routed /48: 2001:470:d39a::/48
Routed /64: 2001:470:1f15:1580::/64
RDNS Delegation NS1: ns1.afraid.org
RDNS Delegation NS2: ns2.afraid.org
RDNS Delegation NS3: ns3.afraid.org
ASN: none
Registration Date: Mon, Apr 13, 2009
Kod: Zaznacz cały
ifconfig sit0 up
ifconfig sit0 inet6 tunnel ::216.66.84.46
ifconfig sit1 up
ifconfig sit1 inet6 add 2001:470:1f14:1580::2/64
route -A inet6 add ::/0 dev sit1
Kod: Zaznacz cały
modprobe ipv6
ip tunnel add he-ipv6 mode sit remote 216.66.84.46 local 84.40.151.101 ttl 255
ip link set he-ipv6 up
ip addr add 2001:470:1f14:1580::2/64 dev he-ipv6
ip route add ::/0 dev he-ipv6
ip -f inet6 addr
Kod: Zaznacz cały
diabelski:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:05:1c:fe:e6:66
inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::205:1cff:fefe:e666/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1024192 errors:0 dropped:0 overruns:0 frame:0
TX packets:906329 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:686303001 (654.5 MiB) TX bytes:201338537 (192.0 MiB)
Interrupt:10 Base address:0xe400
he-ipv6 Link encap:IPv6-in-IPv4
inet6 addr: 2001:470:1f15:1580::1/128 Scope:Global
inet6 addr: 2001:470:1f15:1580::2/128 Scope:Global
inet6 addr: 2001:470:1f14:1580::2/64 Scope:Global
inet6 addr: fe80::5428:9765/128 Scope:Link
UP POINTOPOINT RUNNING NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:83 dropped:0 overruns:0 carrier:83
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
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:342 errors:0 dropped:0 overruns:0 frame:0
TX packets:342 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:34743 (33.9 KiB) TX bytes:34743 (33.9 KiB)
sit0 Link encap:IPv6-in-IPv4
inet6 addr: ::127.0.0.1/96 Scope:Unknown
inet6 addr: ::192.168.1.5/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:470:1f14:1580::2/64 Scope:Global
inet6 addr: fe80::c0a8:105/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:4344 (4.2 KiB)
Kod: Zaznacz cały
diabelski:~# ping6 irc6.datanet.ee
PING irc6.datanet.ee(irc6.datanet.ee) 56 data bytes
^C
--- irc6.datanet.ee ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4012ms
Kod: Zaznacz cały
diabelski:~# ping6 w-dupie-to-mam.mooo.com
PING w-dupie-to-mam.mooo.com(2001:470:1f15:1580::2) 56 data bytes
64 bytes from 2001:470:1f15:1580::2: icmp_seq=1 ttl=64 time=0.177 ms
64 bytes from 2001:470:1f15:1580::2: icmp_seq=2 ttl=64 time=0.167 ms
64 bytes from 2001:470:1f15:1580::2: icmp_seq=3 ttl=64 time=0.167 ms
64 bytes from 2001:470:1f15:1580::2: icmp_seq=4 ttl=64 time=0.164 ms
64 bytes from 2001:470:1f15:1580::2: icmp_seq=5 ttl=64 time=0.167 ms
^C64 bytes from 2001:470:1f15:1580::2: icmp_seq=6 ttl=64 time=0.164 ms
--- w-dupie-to-mam.mooo.com ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5012ms
rtt min/avg/max/mdev = 0.164/0.167/0.177/0.015 ms
Proszę o pomoc i jakieś sugestie :-)