Difference between revisions of "IPv6: Cara Men-disable IPv6 di Ubuntu"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (Created page with "To disable ipv6, you have to open /etc/sysctl.conf using any text editor and insert the following lines at the end: net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default...") |
Onnowpurbo (talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | Di Ubuntu untuk men-disable ipv6, kita bisa meng-edit /etc/sysctl.conf dan tambahkan kalimat berikut dibagian bawah: | |
net.ipv6.conf.all.disable_ipv6 = 1 | net.ipv6.conf.all.disable_ipv6 = 1 | ||
Line 5: | Line 5: | ||
net.ipv6.conf.lo.disable_ipv6 = 1 | net.ipv6.conf.lo.disable_ipv6 = 1 | ||
− | + | Jika ipv6 belum juga mati / disable, kemungkinan sysctl.conf belum di aktifan. Untuk mengaktifkan sysctl.conf masuk ke terminal, dan jalankan perintah, | |
− | |||
− | |||
sudo sysctl -p | sudo sysctl -p | ||
− | + | maka akan terlihat di terminal: | |
net.ipv6.conf.all.disable_ipv6 = 1 | net.ipv6.conf.all.disable_ipv6 = 1 | ||
Line 17: | Line 15: | ||
net.ipv6.conf.lo.disable_ipv6 = 1 | net.ipv6.conf.lo.disable_ipv6 = 1 | ||
− | + | Untuk mencek, coba jalankan di terminal: | |
$ cat /proc/sys/net/ipv6/conf/all/disable_ipv6 | $ cat /proc/sys/net/ipv6/conf/all/disable_ipv6 | ||
− | + | Akan keluar angka: | |
1 | 1 | ||
− | + | Jika benar keluar 1, ipv6 telah berhasil dengan baik di disabled. | |
+ | |||
+ | |||
+ | |||
+ | ==Pranala Menarik== | ||
+ | |||
+ | * [[IPv6]] |
Revision as of 06:21, 28 January 2019
Di Ubuntu untuk men-disable ipv6, kita bisa meng-edit /etc/sysctl.conf dan tambahkan kalimat berikut dibagian bawah:
net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1
Jika ipv6 belum juga mati / disable, kemungkinan sysctl.conf belum di aktifan. Untuk mengaktifkan sysctl.conf masuk ke terminal, dan jalankan perintah,
sudo sysctl -p
maka akan terlihat di terminal:
net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1
Untuk mencek, coba jalankan di terminal:
$ cat /proc/sys/net/ipv6/conf/all/disable_ipv6
Akan keluar angka:
1
Jika benar keluar 1, ipv6 telah berhasil dengan baik di disabled.