Online Learning Academy - LearnAcad.com

... Sharing Knowledge

  • Increase font size
  • Default font size
  • Decrease font size
Home

How to Disable IPv6 Networking?

E-mail Print PDF

Question: Our policy and network configuration does not requires IPv6 support in RHEL / CentOS / Fedora Linux. How do I prevent the kernel module from loading at boot time and disable IPv6 networking?
You can easily prevent the kernel module from loading by updating the following two files:

1. /etc/modprobe.conf - Kernel driver configuration file.
2. /etc/sysconfig/network - RHEL / CentOS networking configuration file.

 

/etc/modprobe.conf

Edit /etc/modprobe.conf, enter:

vi /etc/modprobe.conf
# vi /etc/modprobe.conf

Append the following line:

install ipv6
/bin/true

Save and close the file.

/etc/sysconfig/network

Edit /etc/sysconfig/network, enter:

# vi /etc/sysconfig/network

Update / add as follows:

NETWORKING_IPV6=no
IPV6INIT=
no

Save and close the file. Restart networking service

# service network restart
# rmmod ipv6

Alternatively, simple reboot the box:

# reboot

Verify IPv6 is disabled, enter:

# lsmod | grep ipv6
# /sbin/ifconfig

Last Updated on Thursday, 10 June 2010 06:02  

Muhammad Shaukat

Our valuable member Shaukat has been with us since Tuesday, 01 June 2010.

Show Other Articles Of This Author

Add comment


Security code
Refresh

Follow us on Twitter

Main Menu

Linux

Islam

Windows

Interview Questions

Database

Internet

Cisco

Entertainment

Networking

Graduate Courses

Psychology

Feed Burner

Subscribe to Welcome to Online Learning Academy by Email

Enter your email address:

Delivered by FeedBurner


Google Groups
Subscribe to LearnAcad
Email:
Visit this group

Login Form

JoomImages for JoomGallery

There are no images available in the gallery.

JoomCategories for JoomGallery

No categories found