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

From OnnoCenterWiki
Jump to navigationJump 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)
No edit summary
 
(One intermediate revision by the same user not shown)
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:
Kadang kala kita butuh untuk mendisable layanan IPv6. 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]]

Latest revision as of 05:26, 7 March 2019

Kadang kala kita butuh untuk mendisable layanan IPv6. 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