All pastes #1736599 Raw Edit

Miscellany

public text v1 · immutable
#1736599 ·published 2010-01-03 20:47 UTC
rendered paste body
ifconfig gif1 create
ifconfig gif1 tunnel 86.122.121.171 216.66.80.30
ifconfig gif1 inet6 2001:0470:1f0a:d40::2 2001:0470:1f0a:d40::1 prefixlen 128
route -n add -inet6 default 2001:0470:1f0a:d40::1
ifconfig gif1 up

pgn# netstat -nr
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            86.122.121.129     UGS         0   101272   nfe0
86.122.121.128/26  link#1             UC          0        0   nfe0
86.122.121.129     00:1f:9e:d1:70:40  UHLW        2        0   nfe0   1199
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.2.128/26   link#1             UC          0        0   nfe0

Internet6:
Destination                       Gateway                       Flags      Netif Expire
default                           2001:470:1f0a:d40::1          UGS        gif1
::1                               ::1                           UHL         lo0
2001:470:1f0a:d40::1              link#3                        UHL        gif1
2001:470:1f0a:d40::2              link#3                        UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#2                        UHL         lo0
ff01:2::/32                       fe80::1%lo0                   UC          lo0
ff01:3::/32                       link#3                        UC         gif1
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
ff02::%gif1/32                    link#3                        UC         gif1

pgn# ifconfig -a
nfe0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 00:1e:90:cd:fd:4c
        inet 86.122.121.171 netmask 0xffffffc0 broadcast 86.122.121.191
        inet 86.122.121.190 netmask 0xffffffc0 broadcast 86.122.121.191
        inet 192.168.2.171 netmask 0xffffffc0 broadcast 192.168.2.191
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
gif1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1280
        tunnel inet 86.122.121.171 --> 216.66.80.30
        inet6 2001:470:1f0a:d40::2 --> 2001:470:1f0a:d40::1 prefixlen 128


pgn# ping6 ipv6.google.com
PING6(56=40+8+8 bytes) 2001:470:1f0a:d40::2 --> 2a00:1450:8001::6a
16 bytes from 2a00:1450:8001::6a, icmp_seq=0 hlim=56 time=46.759 ms
16 bytes from 2a00:1450:8001::6a, icmp_seq=1 hlim=56 time=48.152 ms
16 bytes from 2a00:1450:8001::6a, icmp_seq=2 hlim=56 time=52.286 ms
16 bytes from 2a00:1450:8001::6a, icmp_seq=3 hlim=56 time=59.711 ms
16 bytes from 2a00:1450:8001::6a, icmp_seq=4 hlim=56 time=61.284 ms
16 bytes from 2a00:1450:8001::6a, icmp_seq=5 hlim=56 time=56.732 ms
16 bytes from 2a00:1450:8001::6a, icmp_seq=6 hlim=56 time=52.914 ms
16 bytes from 2a00:1450:8001::6a, icmp_seq=8 hlim=56 time=52.557 ms
^C
--- ipv6.l.google.com ping6 statistics ---
9 packets transmitted, 8 packets received, 11.1% packet loss
round-trip min/avg/max/std-dev = 46.759/53.799/61.284/4.817 ms