IPv6 adalah keluarga protokol TCP/IP yang baru, dan diproyeksikan akan menggantikan IPv4
yang telah menjadi standar de-facto protokol komunikasi di Internet.
Beberapa keterbatasan yang ada pada pendahulunya telah di perbaiki pada protokol baru ini,
seperti keleluasaan ruang pengalamatan, security yg lebih baik dengan masuknya IPSec dalam protokol requirement, adanya extension header yg memberi fleksibilitas terhadap penambahan fitur (di masa mendatang) dll. –>>(taken From ipv6.itb.ac.id)Transisi
Ada beberapa mekanisme transisi dari IPv4 ke IPv6.
Berdasarkan draft IETF draft-ietf-v6ops-mech-v2-00.txt Mekanisme tersebut adalah:
• Dual IP layer
• Tunneling
Dual IP layer adalah sebuah cara dimana host dan router secara lengkap mendukung protokol IPv4 dan IPv6.
Tunneling adalah sebuah cara melakukan koneksi point-to-point dimana paket IPv6
ditumpangkan dalam header paket IPv4 melalui infrastruktur routing IPv4. Pada praktiknya kedua hal tersebut bisa dilakukan secara bersama atau masing-masing tergantung situasi setempat. Contohnya adalah bisa sebuah universitas belum mempunyai jaringan yang mendukung IPv6 ke internet maka universitas tersebut harus melakukan tunneling dahulu ke penyedia jaringan IPv6, baru kemudian menjalankan teknik Dual IP Layer.
OK Dude lets Play on FreeBSD
Pertama Pastikan Kernel sudah direcompile dengan options Berikut
(By default dari versi 5.xx ke atas options ini sudah diembed di kernel
anda cukup mengaktifkan saja)
OPTIONS INET6 #IPv6 communications protocols
OPTIONS IPSEC #IP Security
device gif #IPv6 and IPv4 tunneling
device stf #6to4 tunneling
untuk mengaktifkan fitur IPv6 di BSD
anda cukup mengedit file /etc/rc.conf
ipv6_enable = “YES”
Tunneling pada FreeBSD
Disebut tunneling karena harus mendefinisikan alamat IPv4 dari sisi client dan sisi ISP,
Untuk keperluan 6over4 ini penyedia tunnel atau disebut juga tunnel broker antara lain:
• http://www.freenet6.net
• http://ipv6tb.he.net
Kita akan mencoba mengimplementasikan 6over4 tunneling,
untuk itu kita harus mendaftar terlebih dahulu ke penyedia tunnel / tunnelbroker.
Gue telah mendaftar di http://ipv6tb.he.net
dan mendapat account sebagai berikut :
Account: unila
Tunnel Information :
Server IPv4 address : 64.71.128.83
Server IPv6 address : 2001:470:1F03:37d::1/64
Client IPv4 address : 222.124.196.97
Client IPv6 address : 2001:470:1F03:37d::2/64
Assigned /64 : none
ASN : none
Last Ping6 : none
Last Inbound Packet : none
Registration Date : Sun, Aug 19, 2007
Jika anda mendaftar, Account anda baru bisa aktif dalam 1×24 Jam
OK karena gue udah dapet account di tunnelbroker, langsung aja pake account tsb
caranya adalah sbb;
router-inherent# ifconfig gif0 create
router-inherent# ifconfig gif0 tunnel 222.124.196.97 64.71.128.83
router-inherent# ifconfig gif0 inet6 2001:470:1F03:37d::2 2001:470:1F03:37d::1 prefixlen 128
router-inherent# route -n add -inet6 default 2001:470:1F03:37d::1
router-inherent# ifconfig gif0 up
atau langsung klik Example Configs dari profil account anda di web tunnelbroker.
agar setting tsb permanen, dan diload pada saat startup server,
kita perlu modifikasi file /etc/rc.conf
######### Cutedd #######################
quagga_enable=”YES”
quagga_flags=”-d”
quagga_daemons=”bgpd zebra ripd ospfd”
# Bagian IPV6
ipv6_enable=”YES”
ipv6_network_interfaces=”auto”
ipv6_defaultrouter=”2001:470:1F03:37c::1″
ipv6_router_enable=”YES”
ipv6_router=”/usr/sbin/route6d”
ipv6_gateway_enable=”YES”
ipv6_ifconfig_rl0=”2001:470:1F03:37c::2 prefixlen 128″
gif_interfaces=”gif0 gif1 gif2 gif3″
gifconfig_gif0=”222.124.196.102 64.71.128.83″
ipv6_ifconfig_gif0=”2001:470:1F03:37d::2″
########## Cutedd ########################
Ok Sip reboot server anda , dan cek koneksi ke site yang udah support IPv6
router-inherent~>ping6 www.itb.ac.id
PING6(56=40+8+8 bytes) 2001:470:1f03:37d::2 –> 2001:d30:3:508::136
16 bytes from 2001:d30:3:508::136, icmp_seq=0 hlim=49 time=874.248 ms
16 bytes from 2001:d30:3:508::136, icmp_seq=1 hlim=49 time=842.328 ms
16 bytes from 2001:d30:3:508::136, icmp_seq=2 hlim=50 time=845.175 ms
16 bytes from 2001:d30:3:508::136, icmp_seq=3 hlim=50 time=814.509 ms
^C
— www.itb.ac.id ping6 statistics —
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 814.509/844.065/874.248/21.147 ms
router-inherent ~>ping6 kame.net
ping6: hostname nor servname provided, or not known
ns1 ~>ping6 www.kame.net
PING6(56=40+8+8 bytes) 2001:470:1f03:37d::2 –> 2001:200:0:8002:203:47ff:fea5:3085
16 bytes from 2001:200:0:8002:203:47ff:fea5:3085, icmp_seq=0 hlim=54 time=657.554 ms
16 bytes from 2001:200:0:8002:203:47ff:fea5:3085, icmp_seq=1 hlim=54 time=683.585 ms
16 bytes from 2001:200:0:8002:203:47ff:fea5:3085, icmp_seq=2 hlim=55 time=638.274 ms
^C
— www.kame.net ping6 statistics —
4 packets transmitted, 3 packets received, 25.0% packet loss
round-trip min/avg/max/std-dev = 638.274/659.804/683.585/18.566 ms
ns1 ~>
router-inherent ~>traceroute6 www.itb.ac.id
traceroute6 to www.itb.ac.id (2001:d30:3:508::136) from 2001:470:1f03:37d::2, 64 hops max, 12 byte packets
1 unila.tunnel.tserv2.fmt.ipv6.he.net 539.592 ms 622.312 ms 536.972 ms
2 2001:470:0:1f::1 544.779 ms 579.046 ms 705.310 ms
3 2001:470:0:2c::1 574.309 ms 636.062 ms 732.636 ms
4 2001:470:0:2f::2 587.534 ms 736.939 ms 630.455 ms
5 2001:504:0:1::2497:1 579.649 ms 607.757 ms 632.991 ms
6 2001:48b0:bb00:f005::14 810.049 ms 824.113 ms 879.552 ms
7 tky001bb00.IIJ.Net 849.526 ms 827.604 ms 837.802 ms
8 tky001ix10.IIJ.Net 916.215 ms 841.055 ms 874.527 ms
9 pc6.otemachi.wide.ad.jp 857.478 ms 831.989 ms 834.409 ms
10 2001:200:0:1802:20c:dbff:fe1f:7200 719.497 ms 797.669 ms 718.621 ms
11 foundry1.fujisawa.wide.ad.jp 745.826 ms 719.167 ms 695.979 ms
12 ge1-0-100.cisco1.fujisawa.wide.ad.jp 735.304 ms 918.998 ms 777.147 ms
13 sfc-gate.ai3.net 784.662 ms 779.969 ms 781.766 ms
14 itb1-v6-router.itb.ac.id 898.357 ms 888.773 ms 928.287 ms
15 AI3-NOC.PAU-Cat6.Vlan.itb.ac.id 902.033 ms 1115.452 ms 1504.171 ms
16 itb2-v6-router.itb.ac.id 973.283 ms 917.063 ms 1243.515 ms
17 itb5-v6-router.itb.ac.id 952.437 ms 934.330 ms 1004.583 ms
18 www.itb.ac.id 1539.625 ms 946.367 ms 1137.507 ms
ns1 ~>
router-inherent ~>traceroute6 www.kame.net
traceroute6 to www.kame.net (2001:200:0:8002:203:47ff:fea5:3085) from 2001:470:1f03:37d::2, 64 hops max, 12 byte packets
1 unila.tunnel.tserv2.fmt.ipv6.he.net 657.767 ms 651.306 ms 651.790 ms
2 2001:470:0:1f::1 660.996 ms 651.035 ms 700.221 ms
3 2001:470:0:2c::1 631.751 ms 652.123 ms 748.934 ms
4 2001:470:0:2f::2 642.458 ms 637.262 ms 619.501 ms
5 2001:504:0:1::2497:1 694.685 ms 626.189 ms 620.796 ms
6 2001:48b0:bb00:f005::14 803.121 ms 924.459 ms 870.305 ms
7 tky001bb00.IIJ.Net 959.271 ms 918.264 ms 934.759 ms
8 tky001ix10.IIJ.Net 1336.225 ms 1247.022 ms 838.785 ms
9 hitachi1.otemachi.wide.ad.jp 754.853 ms 721.097 ms 822.034 ms
10 2001:200:0:1802:20c:dbff:fe1f:7200 782.309 ms 774.268 ms 854.438 ms
11 ve-4.nec2.yagami.wide.ad.jp 894.672 ms 828.339 ms 826.645 ms
12 lo0.alaxala1.k2.wide.ad.jp 892.775 ms 803.713 ms 888.505 ms
13 orange.kame.net 1199.800 ms 757.115 ms 768.367 ms
ns1 ~>
OK Beres, selamat IPV6 sudah jalan di mesin BSD anda
Next on my blog
– Quagga on IPv6
– NS on IPv6
Please Wait