How to disable IPv6
This document (7003131) is provided subject to the disclaimer at the end of this document.
SUSE Linux Enterprise Server 11
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server 15
This is described in chapter 19.2 of the SUSE Linux Enterprise Server 15 SP1 Administration Guide.
Alternatively you may even follow the below steps on the command line.
1. To disable IPv6 persistent across reboot.
In the file /etc/sysctl.conf add the following lines: net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 Reload the options with the following command: sysctl -p Or reboot the server with the following command: reboot
2. Disable on the fly - Temporary (does not persists a reboot)
echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7003131
- Creation Date: 27-Apr-2009
- Modified Date:12-Oct-2022
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com