Difference between revisions of "IPv6: Cara Men-disable IPv6 di Ubuntu"

From OnnoWiki
Jump to navigation Jump to search
(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...")
 
Line 1: Line 1:
To disable ipv6, you have to open /etc/sysctl.conf using any text editor and insert the following lines at the end:
+
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
  
If ipv6 is still not disabled, then the problem is that sysctl.conf is still not activated.
+
Jika ipv6 belum juga mati / disable, kemungkinan sysctl.conf belum di aktifan. Untuk mengaktifkan sysctl.conf masuk ke terminal, dan jalankan perintah,
 
 
To solve this, open a terminal(Ctrl+Alt+T) and type the command,
 
  
 
  sudo sysctl -p
 
  sudo sysctl -p
  
You will see this in the terminal:
+
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
  
After that, if you run:
+
Untuk mencek, coba jalankan di terminal:
  
 
  $ cat /proc/sys/net/ipv6/conf/all/disable_ipv6
 
  $ cat /proc/sys/net/ipv6/conf/all/disable_ipv6
  
It will report:
+
Akan keluar angka:
  
 
  1
 
  1
  
If you see 1, ipv6 has been successfully disabled.
+
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.


Pranala Menarik