停止ipv6
来源:互联网 发布:mac 移动硬盘 编辑:程序博客网 时间:2024/04/29 05:43
在CentOS默认的状态下,ipv6是被启用的状态。因为我们不使用ipv6,所以,停止ipv6,以最大限度保证安全和快速。
首先再次确认一下ipv6功能是不是被启动的状态。
----------------------------------------------------------------------------------------------------------------------------------------------------
ifconfig -a ← 列出全部网络接口信息
sit0 Link encap:IPv6-in-IPv4 ← 确认ipv6是被启动的状态
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
停止ipv6
vi /etc/modprobe.conf ← 修改相应配置文件,添加如下行到文尾:
alias net-pf-10 off
alias ipv6 off
shutdown -r now ← 重新启动系统,使设置生效
----------------------------------------------------------------------------------------------------------------------------------------------------
- 停止ipv6
- Linux服务优化-停止打印与ipv6
- IPV6
- IPv6
- IPV6
- IPv6
- IPV6
- IPv6
- IPV6
- ipv6
- ipv6
- ipv6
- IPv6
- IPv6
- IPv6
- ipv6
- ipv6
- IPv6
- wxPython 开发资料
- 停止打印服务
- Memcache和MsSQL交互流程图
- 微软亚洲技术中心面试题
- 用户态远程调试
- 停止ipv6
- linux 中的struct resource
- DXperience 9.1.3
- DBHelper
- PHP.ini中与上传文件相关的设置
- 转载:写得蛮好的linux学习笔记
- mod_rewrite规则
- Windows mobile 开发入门 环境配置
- 建立管理员组内一般用户