# my poor tuturial myazhax
#
# http://www.myazhax.net/
#
# irc.dal.net , irc.webchat.org and irc.ipv6.freenode.net
#http://indofreebsd.or.id/howto-ipv6-configuration-2.inbsd
# first thing you need to apply the ipv6 from tunnel services like me,
# or u can apply ipv6 tunnel at http://www.freenet6.net
#
# Username:azhax
# MyBSD IPv4 tunnel endpoint: 202.157.186.227
# Your IPv4 tunnel endpoint : 60.48.180.172
# IPv6 Prefix : 2001:328:2002:be2
# IPv6 Prefix Length : 64
# ifconfig
sis0: flags=8843 mtu 1500
options=8
inet 192.168.1.254 netmask 0xffffff00 broadcast 192.168.1.255
inet6 fe80::2e0:18ff:fe89:c0c%sis0 prefixlen 64 scopeid 0x1
ether 00:e0:18:89:0c:0c
media: Ethernet autoselect (100baseTX )
status: active
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492
inet 60.48.180.172 --> 219.93.218.177 netmask 0xffffffff
Opened by PID 530
#ifconfig gif0 create tunnel 60.48.180.172 202.157.186.227 up
#ifconfig gif0
ifconfig gif0
gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
tunnel inet 60.48.180.172 --> 202.157.186.227
inet6 fe80::2e0:18ff:fe89:c0c%gif0 prefixlen 64 scopeid 0x5
#ifconfig gif0 inet6 alias 2001:328:2002:be2::102 2001:328:2002:be2::101 prefixlen 128 alias
# ifconfig gif0
ifconfig gif0
gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
tunnel inet 60.48.180.172 --> 202.157.186.227
inet6 fe80::2e0:18ff:fe89:c0c%gif0 prefixlen 64 scopeid 0x5
inet6 2001:328:2002:be2::102 --> 2001:328:2002:be2::101 prefixlen 128
# route add -inet6 default 2001:328:2002:be2::101
#
# mybox# ping6 -c 3 tomoyo.mybsd.org.my
PING6(56=40+8+8 bytes) 2001:328:2002:be2::102 --> 2001:328:2002:ace::3000
16 bytes from 2001:328:2002:ace::3000, icmp_seq=0 hlim=64 time=26.701 ms
16 bytes from 2001:328:2002:ace::3000, icmp_seq=1 hlim=64 time=27.596 ms
16 bytes from 2001:328:2002:ace::3000, icmp_seq=2 hlim=64 time=25.826 ms
--- tomoyo.mybsd.org.my ping6 statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 25.826/26.708/27.596/0.723 ms
# ifconfig rl1 inet6 2001:328:2002:be2::1/64 alias (NIC for LAN)
#
# sysctl net.inet6.ip6.accept_rtadv=0
net.inet6.ip6.accept_rtadv: 0 -> 0
# sysctl net.inet6.ip6.forwarding=1
net.inet6.ip6.forwarding: 1 -> 1
# rtadvd -D rl1 (NIC for LAN)
#
# traceroute6 www.jp.FreeBSD.org
traceroute6 to www.jp.FreeBSD.org (3ffe:501:185b:1:2e0:18ff:fea8:16f5) from 2001:328:2002:be2::102, 64 hops max, 12 byte packets
1 benkyo.MyBSD.org.my 33.511 ms 26.222 ms 26.543 ms
2 2001:328:20ff::5 34.658 ms * 30.823 ms
3 3ffe:80d0:fffc:10::2 224.142 ms 222.653 ms 220.891 ms
4 3ffe:81d0:ffff:1::1 278.126 ms 227.288 ms 224.866 ms
5 3ffe:80a::e 225.127 ms 226.823 ms 224.409 ms
6 bb.v6.pwd.ne.jp 341.274 ms 391.667 ms 343.494 ms
7 bb.v6.pwd.ne.jp 245.304 ms 273.840 ms 246.101 ms
8 hitachi1.otemachi.wide.ad.jp 245.621 ms 246.468 ms 260.576 ms
9 pc6.otemachi.wide.ad.jp 392.065 ms 357.495 ms 261.352 ms
10 ne.jp.FreeBSD.org 488.930 ms 343.715 ms 266.081 ms
11 updraft3.jp.FreeBSD.org 251.433 ms 278.253 ms 251.251 ms
now go open web browser the go to www.ipv6.org or tomoyo.mybsd.org.my u will see the information of your ipv6
tutorial
Recent Comments