Red Hat Certified Engineer/Technician RHCE/RHCT topics and questions

Advertisement


DNS query tools & Network tools (Ping & Traceroute)

Disable IPv6 in Red Hat Enterprise Linux 5

Postby debuser » Sat Jan 09, 2010 7:02 pm

By default, RHEL kernel comes with IPv6 enabled. Since many of us don't need it, it's pointless to recompile the kernel just to disable IPv6.

To disable IPv6 on RHEL 5 add the following lines in /etc/modprobe.conf:
Code: Select all
alias net-pf-10 off
alias ipv6 off


This will require a reboot.
debuser
 
Posts: 70
Joined: Thu Aug 06, 2009 9:48 am


Re: Disable IPv6 in Red Hat Enterprise Linux 5

Postby debuser » Sat Jan 09, 2010 7:04 pm

More info on the Linux ipv6 module:
Code: Select all
[root@rhel54 ~]# modinfo ipv6
filename:       /lib/modules/2.6.18-164.el5/kernel/net/ipv6/ipv6.ko
alias:          net-pf-10
license:        GPL
description:    IPv6 protocol stack for Linux
author:         Cast of dozens
srcversion:     5D50A95B111AE2FDBAE69B3
depends:        xfrm_nalgo
vermagic:       2.6.18-164.el5 SMP mod_unload 686 REGPARM 4KSTACKS gcc-4.1
parm:           disable:Disable IPv6 such that it is non-functional (int)
module_sig:     883f3504a8b7b7d18758d6145e112557509e204e4356832069beabcc042d7c7e614115c428a09d1dd7afb138727ae29f407762469f552ecec8b6f
debuser
 
Posts: 70
Joined: Thu Aug 06, 2009 9:48 am



Advertisement


Return to Red Hat Certified Engineer/Technician RHCE/RHCT

Similar topics


Who is online

Users browsing this forum: No registered users and 0 guests