How do I disable IPv6 on Linux interface?

How do I disable IPv6 on Linux interface?
Answer
Here’s how to disable the protocol on a Red Hat-based system:
  1. Open a terminal window.
  2. Change to the root user.
  3. Issue the command sysctl -w net. ipv6. conf. all. disable_ipv6=1.
  4. Issue the command sysctl -w net. ipv6. conf. default. disable_ipv6=1.
 

Tìm kiếm

Back
Top