Disabling IPv6

Issues related to configuring your network
Post Reply
dbesade
Posts: 2
Joined: 2005/04/05 00:21:17
Contact:

Disabling IPv6

Post by dbesade » 2005/04/05 00:23:47

Hey how do you disable IPv6 in Centos 4 x85_64? The Kernel Module takes up like 280MB of RAM, and I don't need or use IPv6 and would rather disable it.

-Dave

karlkatzke
Posts: 9
Joined: 2005/02/19 01:33:59
Contact:

Disabling IPv6

Post by karlkatzke » 2005/04/07 06:09:47

I don't think IPV6 is taking up that much RAM by itself... check what others have said on the forums about linux memory usage and how it does not work the same way as windows memory usage, and why you don't necessarily want to 'reduce' or 'free up' memory.

But to answer your question, you'd have to recompile the kernel.

jlee
Posts: 1
Joined: 2005/04/12 00:33:56

Re: Disabling IPv6

Post by jlee » 2005/04/12 00:38:35

I'm assuming you meant KB not MB. The easiest way to disable IPv6 is:

[root@charon centos]# echo "alias net-pf-10 off" >> /etc/modprobe.conf

then reboot. You can tell it worked by verifying that ipv6 is not listed with an lsmod.

Jay

dbesade
Posts: 2
Joined: 2005/04/05 00:21:17
Contact:

Re: Disabling IPv6

Post by dbesade » 2005/04/22 03:11:42

[quote]
jlee wrote:
I'm assuming you meant KB not MB. The easiest way to disable IPv6 is:

[root@charon centos]# echo "alias net-pf-10 off" >> /etc/modprobe.conf

then reboot. You can tell it worked by verifying that ipv6 is not listed with an lsmod.

Jay[/quote]

Jay,

Thanks worked like a charm. I am trying to streamline the box as I don't feel the need to run services I won't use, such as IPv6. The more memory I have "free" and not tied up with kernel modules I don't use the better.

While yes Linux has advanced memory management. I am a FreeBSD guy, however FBSD won't run on my Xeon yet as the motherboard and chipset are too new and aren't supported. However I feel FBSD has a much better memory management scheme than Linux which comes from its strong and obvious BSD heritage.

Thanks again for the help. Now is there a way to install and use IPFW (IP Firewall) on Linux? If so I am set, if not, well time to learn IP Tables :-D.

-Dave

Post Reply