IPv6 shows enabled in YaST after manually changing configuration files

This document (7015035) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 11 Service Pack 3 (SLES 11 SP3)
SUSE Linux Enterprise Server 11 Service Pack 2 (SLES 11 SP2)
SUSE Linux Enterprise Server 11 Service Pack 1 (SLES 11 SP1)

Situation

After editing the /etc/sysctl.conf to disable ipv6 YaST still shows it as being enabled. 
After adding these three lines to /etc/sysctl.conf and rebooting it does not change status. 
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1


A reboot is required whether manually editing this file or by doing it through YaST to get the change to be enforced. 

Resolution

The preferred method is to enable and disable ipv6 via YaST, however when editing configuration files it doesn't show disabled in YaST.
This is merely a cosmetic defect.  When the system is rebooted the ipv6 will not be loaded into the kernel.  You can verify this by performing these checks:
#cat /proc/sys/net/ipv6/conf/all/disable_ipv6
If it returns "1" then it is disabled, if it returns "0" then it is enabled. 
Run
#ifconfig
The interfaces will not have the "inet6 addr:" line. 

Disclaimer

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:7015035
  • Creation Date: 08-May-2014
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center