How to disable IPv6 on CentOS

Posted In Network - By Tum. On Monday, September 16th, 2013 With 0 Comments

Ipv6การ disable ipv6 สำหรับ สามารถทำได้หลากหลายวิธีด้วยกัน แต่วิธีที่แนะนำคือการ disable ipv6 ด้วยการแก้ไข /etc/sysctl.conf แทนการ disable ipv6 module บนระบบที่จะทำให้เกิดปัญหากับ SELinux และ component อื่นๆ

วิธีการปิดการใช้งาน ipv6

ให้แก้ไขไฟล์ /etc/sysctl.conf และกำหนด parameter ด้านล่างลงในไฟล์

จากนั้นให้ save

การปิดการใช้งาน ipv6 บนระบบที่ทำงานอยู่

สามารถทำได้ 2 วิธีด้วยกัน ดังนี้

  1. แก้ไขด้วยใส่ค่างลงในไฟล์ บน /proc
  2. แก้ไขด้วยคำสั่ง sysctl
Tags:

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

*