IPv6 Konfigurasi: Red Hat Linux dan “clones”

From OnnoWiki
Revision as of 09:24, 4 July 2013 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Test dukungan IPv6 untuk script konfigurasi network

Kita dapat men-test, apakah distro Linux yang kita gunakan mendukung konfigurasi IPv6 yang presisten. Library script berikut harusnya ada:

/etc/sysconfig/network-scripts/network-functions-ipv6

Secara automatis test:

# test -f /etc/sysconfig/network-scripts/network-functions-ipv6 && echo "Main IPv6 script library exists"

The version of the library is important if you miss some features. You can get it executing following (or easier look at the top of the file):

# source /etc/sysconfig/network-scripts/network-functions-ipv6 && getversion_ipv6_functions 
20011124

In shown example, the used version is 20011124. Check this against latest information on initscripts-ipv6 homepage (Mirror) to see what has been changed. You will find there also a change-log.

Catatan Kecil untuk Mengaktifkan IPv6 di RHL 7.1, 7.2, 7.3, ...

Cek apakah sistem yang berjalan mempunyai IPv6 modul yang diload

# modprobe -c | grep net-pf-10
alias net-pf-10 off

If result is “off”, then enable IPv6 networking by editing /etc/sysconfig/network, add following new line

NETWORKING_IPV6=yes

Reboot or restart networking using

# service network restart

Now IPv6 module should be loaded

# modprobe -c | grep ipv6
alias net-pf-10 ipv6

If your system is on a link which provides router advertisement, autoconfiguration will be done automatically. For more information which settings are supported see /usr/share/doc/initscripts-$version/sysconfig.txt.