Main Menu

KB#01229-How to Disable IPv6 on Linux


How to Disable IPv6 on Linux


It may be necessary to disable IPv6 to troubleshoot/eliminate BASIS License Manager (BLM) problems on Linux.


Files modified: 

/etc/modprobe.conf - Kernel driver configuration file. 
/etc/sysconfig/network -Networking configuration file. 

1. Edit /etc/modprobe.conf: 
# vi /etc/modprobe.conf 

Append the following line: 

install ipv6 /bin/true 
Save and close the file. 

2. Edit /etc/sysconfig/network: 
# vi /etc/sysconfig/network 

Add or update the following lines: 

Save and close the file. 

3. Restart networking service 
# service network restart 
# rmmod ipv6 

3.a Alternatively, simple reboot the box: 
# reboot 

4. Verify IPv6 is disabled, enter: 
# lsmod | grep ipv6 
# /sbin/ifconfig

Last Modified: 06/08/2011 Product: License Manager Operating System: N/A

BASIS structures five components of their technology into the BBx Generations.

View BASIS LinkedIN Profile Visit our Twitter Feed Check out our Facebook Public Profile Click to View the BASIS youTube channel