IPv6を無効化 on Fedora 8

LAN内でIPv4しか使っていない場合、IPv6を無効化したほうがシステムの負荷が軽くなる。

Webで紹介されている方法は、次の2通り

(1)無意味なドライバをロードさせて、アボートさせる方法

/etc/modprobe.conf

alias net-pf-10 off
alias ipv6 off

さらに、次の設定が必要な時もあるようだ

/etc/sysconfig/network

NETWORKING_IPV6=no

(2)モジュールの読み込みを阻止する方法

/etc/modprobe.conf

install ipv6 /sbin/modprobe -n -i ipv6

(2)の方法を試したところ、IPv6を停止できた。

ついでに、ip6tables デーモンの自動起動の無効化もやっておく必要がある

[root@localhost ~]# /sbin/chkconfig ip6tables off

(C) Copyright r271-635. クリエイティブ・コモンズ:表示・非営利・継承This page is published under Creative Commons BY-NC-SA license and others .