Department of Defense
High Performance Computing Modernization Program

Enabling IPv6 in SuSe Linux

 

In SuSe 10.x or later releases, IPv6 is enabled by default. The following directions apply to earlier 8.x releases, which are built on a 2.6.x Linux kernel. These directions do NOT apply to 7.x and earlier releases, nor to openSuSe Linux nor SuSe Linux Enterprise Server (SLES). 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 SuSe Linux

 

In SuSe Linux 10.x or later releases, IPv6 is enabled by default. The directions also apply to earlier releases, so long as they 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