[CentOS] Disabling IPv6 in CentOS 4.7

Stephen Harris lists at spuddy.org
Mon Jun 8 23:33:34 UTC 2009


On Tue, Jun 09, 2009 at 06:48:28AM +0800, Hann-huei Chiou wrote:
> On Sun, Jun 07, 2009 at 09:50:11PM -0400, Stephen Harris wrote:
> > I thought I'd done that standard stuff
> >   /etc/modprobe.conf:
> >     alias net-pf-10 off
> >     alias ipv6 off
> >   /etc/sysconfig/network:
> >     NETWORKING_IPV6=no

> Just put these in your /etc/modprobe.conf to disable IPv6:
> 
> blacklist net-pf-10
> blacklist ipv6
> install ipv6 /bin/true

Hmm, well Filipe's answer also worked (openib package for InfiniBand was
causing ipv6 to load as a dependency).  

I guess your answer works by forcably failing any attempt to load it,
even as a dependency.

Thanks to you both.

-- 

rgds
Stephen



More information about the CentOS mailing list