Setiap dedicated server di Online.net diberikan /48 IPv6, kita akan memecah /48 ini menjadi /56 lalu /64. Login ke console. Server » Server List
online dedicated server list
klik Manage » Ipv6
ip block online
Klik di tanda panah kebawah disebelah DUID, pilih Edit nameserver delegation misalkan kita akan menggunakan he.net isikan ns1.he.net, ns2.he.net
online dns delegation
lalu klik Update Delegation. Klik lagi tanda panah kebawah disebelah DUID, pilih create subnet, lalu pilih Create subnet. setelah mendapatkan /64 gambarnya kira-kira seperti dibawah ini
Anda akan mendapatkan /56 dibawah /48, di /56 pilih create subnet , lalu klik create subnet , anda akan mendapatkan /64. /64 inilah yang akan kita gunakan di Dedicated server yang kita miliki.
ip block ipv6
Sampai disini settingan di Console sudah selesai, yang perlu dicatat adalah DUID /64 yang baru kita buat. Kita tidak akan membahas instalasi OS di Online, diasumsikan anda sudah memiliki Debian 7, tersinstall.

Mengaktifkan IPv6 di Debian 7

Login sebagai root
buat file /etc/dhcp/dhclient6.conf yang berisi

interface "eth0" {
    send dhcp6.client-id [UUID /64];
    request;
}

contoh

interface "eth0" {
    send dhcp6.client-id 00:04:05:01:1d:c0:c5:8c:9b:38;
    request;
}

Edit file /etc/network/interfaces tambahkan dibarisan paling bawah

   iface eth0 inet6 static
	address 2001:xxx:xxxx:xxx::1
	netmask 48
	accept_ra 1
	pre-up dhclient -cf /etc/dhcp/dhclient6.conf -pf /run/dhclient6.eth0.pid -6 -P eth0
	pre-down dhclient -x -pf /run/dhclient6.eth0.pid
	ifup eth0 inet6 add 2001:xxx:xxxx:xxx::2/64
	ifup eth0 inet6 add 2001:xxx:xxxx:xxx::3/64

ganti bagian address 2001:xxx:xxxx:xxx::1 menjadi /64 anda, di Console sebelumnya hanya sampai di 2001:xxx:xxxx:xxx:: tambahkan 1 dibelakangnya. Begitu juga bagian ::2 dan ::3, disini saya hanya akan menggunakan 3 buat IPv6, bila anda merasa kurang silahkan di tambahkan sebanyak-banyaknya.
Buka file /etc/modprobe.d/local.conf beri tanda # di options ipv6 disable=1 sehingga isi file local.conf menjadi

# Local module settings
# Created by the Debian installer
 
#options ipv6 disable=1

Untuk melihat hasilnya, restart network anda dengan perintah

ifdown eth0 && ifup eth0
## log perintah diatas
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
 
Listening on LPF/eth0/c8:0a:a2:c4:eb:0f
Sending on   LPF/eth0/c8:0a:a2:c4:eb:0f
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 88.xxx.xxx.xx port 67
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
 
Listening on LPF/eth0/c8:0a:a2:c4:eb:0f
Sending on   LPF/eth0/c8:0a:a2:c4:eb:0f
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPOFFER from 195.154.111.1
DHCPACK from 195.xxx.xxx.1
bound to 195.xx.xx.xx -- renewal in 2147483648 seconds.

Coba ping ke google dan kame

root@devBox:~# ping6 -c3 ipv6.google.com; ping6 -c3 www.kame.net
PING ipv6.google.com(la-in-x64.1e100.net) 56 data bytes
64 bytes from la-in-x64.1e100.net: icmp_seq=1 ttl=53 time=38.0 ms
64 bytes from la-in-x64.1e100.net: icmp_seq=2 ttl=53 time=38.1 ms
64 bytes from la-in-x64.1e100.net: icmp_seq=3 ttl=53 time=38.1 ms
 
--- ipv6.google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 38.094/38.100/38.104/0.004 ms
PING www.kame.net(2001:200:dff:fff1:216:3eff:feb1:44d7) 56 data bytes
64 bytes from 2001:200:dff:fff1:216:3eff:feb1:44d7: icmp_seq=1 ttl=52 time=259 ms
64 bytes from 2001:200:dff:fff1:216:3eff:feb1:44d7: icmp_seq=2 ttl=52 time=260 ms
64 bytes from 2001:200:dff:fff1:216:3eff:feb1:44d7: icmp_seq=3 ttl=52 time=260 ms
 
--- www.kame.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 259.363/260.058/260.508/0.498 ms

Sukses.

Leave a comment

Your email address will not be published. Required fields are marked *