Department of Defense
High Performance Computing Modernization Program

Enabling IPv6 in openSUSE Linux and SLES

Open Software-Und-System-Entwiklung (openSUSE) Linux and SUSE Linux Enterprise Server (SLES) maintain parallel coordinated development tracks. Internet Protocol version 6 (IPv6) in openSUSE and SLES was enabled by default beginning in version 10.1. The system setup and configuration Yet another Setup Tool (YaST) fully supported IPv6 beginning in version 10.3. While it was possible to manually edit the configuration files in versions 10.1 and 10.2 as described in this article , it was not recommended.

To enable IPv6 in openSUSE Linux version 11, see paragraph 20.4 Configuring a Network Connection with YaST in chapter 11.1 of the openSUSE Linux 11.1 Reference Guide. Reboot when done. IPv4 will continue to run.

To enable IPv6 in SLES version 11, see paragraph 22.4 Configuring a Network Connection with YaST in chapter 22.4 of the SUSE Linux Enterprise Server 11 Administration Guide. Reboot when done. IPv4 will continue to run. Also, in the absence of applicable policy or guidance about hardening SLES to guard against potential IPv6-related attacks, a guide for configuring SLES 12 and later to prevent IPv6-related attacks is provided by this article.

 

Enabling IPv6 in SUSE Linux

The following directions apply to 8.x and earlier releases, which are built on a 2.6.x Linux kernel. IPv4 will continue to run. You must be logged in as root to make such changes. To enable IPv6:

1. Edit the file /etc/sysconfig/network/ifcfg-<Interface-Name>

2.. Add the line

IPv6ADDR=<ipv6-addr>/<ipv6-prefix>

3. Write the file, save it, and exit the editor.

4. Reboot

For additional configuration details, for SUSE 8.0 see the file

/usr/share/doc/packages/sysconfig/README

while for SUSE 8.1 see the file

/usr/share/doc/packages/sysconfig/Network

 

Disabling IPv6 in openSUSE Linux and SLES

To disable IPv6 in openSUSE Linux version 11, repeat the process described above to enable IPv6 in openSUSE Linux, but his time uncheck the Enable IPv6 option. Reboot when done. IPv4 will continue to run.

To disable IPv6 in SLES version 11, repeat the process described above to enable IPv6 in SLES, but his time uncheck the Enable IPv6 option. Reboot when done. IPv4 will continue to run.

 

Disabling IPv6 in SUSE Linux

The following directions apply to 8.x and earlier releases, which are built on a 2.6.x or later Linux kernel. IPv4 will continue to run. You must be logged in as root to make such changes. To disable IPV6:

1. Edit the file /etc/modprobe.conf.local
2. Find the existing line

alias net-pf-10 ipv6

and edit it so that it becomes the two lines

alias net-pf-10 off
alias ipv6 off

If the alias net-pf-10 line does not exist, then add both of the above lines to the end of the file

3. Write the file, save it, and exit the editor
4. Reboot

 

 




Top