红联Linux门户
Linux帮助

How to disable ipv6 in Fedora 9

发布时间:2008-06-14 00:31:21来源:红联作者:Combustion
root@clabsquid modprobe.d]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:12:3F:33:A8:57
inet addr:10.180.0.111 Bcast:10.180.1.255 Mask:255.255.254.0
inet6 addr: fe80::212:3fff:fe33:a857/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2673 errors:0 dropped:0 overruns:0 frame:0
TX packets:800 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:468673 (457.6 KiB) TX bytes:110019 (107.4 KiB)
Interrupt:16
[root@clabsquid modprobe.d]# lsmod | grep ipv6
ipv6 221660 22

Completely disable the ipv6 module
add the following line in blacklist file
vi /etc/modprobe.d/blacklist
install ipv6 /bin/true

reboot

[root@clabsquid modprobe.d]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:12:3F:33:A8:57
inet addr:10.180.0.111 Bcast:10.180.1.255 Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4378 errors:0 dropped:0 overruns:0 frame:0
TX packets:187 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:893563 (872.6 KiB) TX bytes:28810 (28.1 KiB)
Interrupt:16

[root@clabsquid modprobe.d]# lsmod |grep ipv6
[root@clabsquid modprobe.d]#
文章评论

共有 0 条评论