linux系统如何清除bond信息
来源:互联网 发布:如何修改电脑网络通道 编辑:程序博客网 时间:2024/05/22 03:23
当设置了bond后,如何才能删除掉这些配置信息呢?
大致的步骤如下:以centos5.5为基础,双网卡组bond0
1、ifconfig bond0 down
2、编辑bond的配置信息(不同的操作系统,不同的组建方式位置不同)
vi modprobe.conf(注释掉下面两行的内容)
#alias bond0 bonding(注释掉)
#options bond0 miimon=100 mode=6(注释掉)
3、vi /etc/rc.d/rc.local(有的操作系统上会配置这些,有的不用配置以下信息也能组bond)
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
#ifenslave bond0 eth0 eth1 (如果有注释掉,如果没有,跳过此步骤)
然后重启服务器
lsmod 查看bond是否存在,如果存在执行rmmod,再重启一次就可以了。(当然这一步我重来没做过)
- linux系统如何清除bond信息
- linux系统清除redis信息
- Linux如何清除系统cache
- Linux如何清除系统cache
- 如何在Linux下清除系统日志
- 如何清除WINCE系统中的蓝牙配对信息
- linux如何查看系统信息
- linux如何查看系统信息
- linux如何查看系统信息
- linux如何查看系统信息
- linux如何查看系统信息
- linux如何查看系统信息
- linux如何查看系统信息
- linux如何查看系统信息
- linux如何查看系统信息
- linux如何查看系统信息
- linux如何查看系统信息
- linux如何查看系统信息
- Android依据名字通过反射获取在drawable中的图片
- HDU4572(找规律)
- 利用HTML5画出一个坦克的形状
- wifi详解(二)
- 与机房收费系统图的初步情结
- linux系统如何清除bond信息
- 区分Galaxy GT-I9300中通话记录和短信记录
- wifi详解(三)
- poj 1256 深搜全排列 Anagram
- 浅析BMP位图文件结构(含Demo)
- GDI+学习及代码总结之------区域
- JS中的prototype
- 10g下使用参数skewonly收集直方图的缺陷
- java.lang.IllegalStateException异常解决办法 .