CentOS5でipv6をオフにする方法                   

CentOS 5でIPv6を無効にする方法について説明しましょう。

1. /etc/modprobe.confファイルを変更して、次の行を追加します。alias net-pf-10 off alias ipv6 off < Br>

2. /etc /sysconfig /networkファイルを修正し、NETWORKING_IPV6″の動作を修正します。NETWORKING_IPV6 = no

その後、Centosシステムを再起動します。

簡単な方法もあります。echo< install ipv6 /bin /true"> /etc/modprobe.d/disable-ipv6

バージョン5.4では、次のコマンドに変更する必要があります。 「options ipv6 disable = 1」をエコーし​​ます。> /etc/modprobe.d/disable-ipv6

Copyright © Windowsの知識 All Rights Reserved