[root@master ~]# lsmod |grep ipv6 ipv6 258273 15 ip6t_REJECT xfrm_nalgo 13765 1 ipv6 两个步骤即可完成: 1. echo "alias net-pf-10 off" >> /etc/modprobe.conf 2. /etc/sysconfig/network中: NETWORKING_ipv6=no 3. reboot 然后用lsmod |grep ipv6进行检查,发现没有任何东西了。ifconfig里也没有inet6 addr 本文来自ChinaUnix博客,如果查看原文请点:http://b...
by nianzong - Linux文档专区 - 2009-05-26 14:57:46 阅读(708) 回复(0)
Release Found: Red Hat Enterprise Linux 4 and later Red Hat Enterprise Linux 4 and 5 enable Internet Protocol Version 6 (ipv6) by default. However, in certain situations, some users may find it desirable to disable ipv6 support. Disabling ipv6 Support Red Hat Enterprise Linux 4 If the following line exists in the /etc/modprobe.conf file, remove it: alias net-pf-10 ipv6 Add the following line to ...
这两天装系统,用的是rhel5,装完之后,发现ifconfig还能看到ipv6的地址,在/etc/sysconfig/network中将NETWORK_ipv6设置为no也不好使,将/etc/sysconfig/network-scripts中所有与ipv6相关的脚本删除,还不行。而且rmmod时有引用,不能卸载。 后来在网上看到一个 解决办法 ,就是在modprobe.conf中设置一下,不加载ipv6模块: echo "alias net-pf-10 off" >> /etc/modprobe.conf 试了一下,果然奏效。看来红帽的企业版也就那样...
rhel5之禁用ipv6模块 禁用前如下所示: [root@server5 ~]# ip -6 addr list 1: lo: mtu 16436 inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 1500 qlen 1000 inet6 fe80::20c:29ff:fe58:9849/64 scope link valid_lft forever preferred_lft forever [root@server5 ~]# ip addr list 1: lo: mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 0...
在modprobe.conf中设置一下,不加载ipv6模块: echo "alias net-pf-10 off" >> /etc/modprobe.conf 重启生效! 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/42563/showart_473977.html
Debian 503版本。 查看你当前系统运行的程序.看看他们的端口号.在下面这个你可以看到有一个tcp6这个就是ipv6开启的.在默认下是打开着.但是现在在我们国家或是基他国家还很少有用到ipv6.所以没有用到我们就可以把它关闭.这样也多一份安全.以下是基于debian5.02操作. ptubuntu:/home/ptubuntu# netstat -antl CODE: Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address For...