2013-03-11-2112Z


MrCreditRepair.biz will fix your credit rating!

I RTFMd and got it, using the already-existing sit0 device. Now just need to make it survive a reboot by reformatting it for /etc/network/interfaces.

root@tektonic:~# setupsit0
root@tektonic:~# route -6
Kernel IPv6 routing table
Destination                    Next Hop                   Flag Met Ref Use If
::/96                          ::                         Un   256 0     1 sit0
2002::/16                      ::                         U    256 0     0 sit0
2000::/3                       ::192.88.99.1              UG   1   0     0 sit0
fe80::/64                      ::                         U    256 0     0 sit0
::/0                           ::                         U    1   0
  0 venet0
::/0                           ::                         !n   -1  1539722 lo
::1/128                        ::                         Un   0   1   109 lo
::127.0.0.1/128                ::                         Un   0   1     0 lo
::127.0.0.2/128                ::                         Un   0   1     0 lo
::207.210.83.205/128           ::                         Un   0   1     0 lo
2002:cfd2:53cd::1/128          ::                         Un   0   1     0 lo
ff00::/8                       ::                         U    256 0     0 sit0
::/0                           ::                         !n   -1  1539722 lo
root@tektonic:~# ping6 test-ipv6.net
PING test-ipv6.net(2a00:f10:10a:5:3:b43:80:2) 56 data bytes
64 bytes from 2a00:f10:10a:5:3:b43:80:2: icmp_seq=1 ttl=62 time=127 ms
64 bytes from 2a00:f10:10a:5:3:b43:80:2: icmp_seq=2 ttl=62 time=129 ms
64 bytes from 2a00:f10:10a:5:3:b43:80:2: icmp_seq=3 ttl=62 time=120 ms

--- test-ipv6.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1998ms rtt min/avg/max/mdev = 120.734/126.045/129.578/3.845 ms root@tektonic:~# cat bin/setupsit0 #!/bin/sh # http://www.tldp.org/HOWTO/Linux+IPv6-HOWTO/configuring-ipv6to4-tunnels.html ifconfig sit0 up ifconfig sit0 add $(/root/bin/6to4)/16 /sbin/route -A inet6 add 2000::/3 gw ::192.88.99.1 dev sit0 root@tektonic:~# cat bin/6to4 addr=$1 if [ -z "$addr" ]; then addr=$(ipaddr) fi [ "$DEBUGGING" ] && echo addr: $addr >&2 parts=$(echo $addr | tr '.' ' ') [ "$DEBUGGING" ] && echo parts: $parts >&2 printf "2002:%02x%02x:%02x%02x::1\n" $parts

Back to blog or home page

last updated 2013-03-11 17:15:29. served from tektonic