RHEL5下配置网卡绑定
来源:互联网 发布:大数据学院 编辑:程序博客网 时间:2024/06/06 14:22
1,/etc/sysconfig/network-scripts目录下生成如下三个文件
vi ifcfg-bond1
DEVICE=bond1
BOOTPROTO=static
IPADDR=10.4.124.*
NETMASK=255.255.255.224
GATEWAY=10.4.124.*
ONBOOT=YES
TYPE=Ethernet
USERCTL=no
BONDING_OPTS="miimon=100 mode=1"
vi ifcfg-eth4
DEVICE=eth4
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
MASTER=bond1
SLAVE=yes
vi ifcfg-eth5
DEVICE=eth5
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
MASTER=bond1
SLAVE=yes
2,修改modprobe.conf文件按,添加一行
vi /etc/modprobe.conf
alias bond1 bonding
3,重启网络
vi ifcfg-bond1
DEVICE=bond1
BOOTPROTO=static
IPADDR=10.4.124.*
NETMASK=255.255.255.224
GATEWAY=10.4.124.*
ONBOOT=YES
TYPE=Ethernet
USERCTL=no
BONDING_OPTS="miimon=100 mode=1"
vi ifcfg-eth4
DEVICE=eth4
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
MASTER=bond1
SLAVE=yes
vi ifcfg-eth5
DEVICE=eth5
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
MASTER=bond1
SLAVE=yes
2,修改modprobe.conf文件按,添加一行
vi /etc/modprobe.conf
alias bond1 bonding
3,重启网络
service network restart
4,查看网络的状态
dtydb2 ~]$ cat /proc/net/bonding/bond2
Ethernet Channel Bonding Driver: v3.4.0 (October 7, 2008)
Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: eth0
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: eth0
MII Status: up
Link Failure Count: 0
Permanent HW addr: 5c:f3:fc:da:71:5c
Slave Interface: eth1
MII Status: up
Link Failure Count: 0
Permanent HW addr: 5c:f3:fc:da:71:5e
- RHEL5下配置网卡绑定
- RHEL5双网卡绑定
- RHEL5网卡绑定
- rh436 - 网卡重命名/网卡绑定(rhel5.5)
- RHEL5.6 多网卡bond 绑定
- RHEL5下配置vncserver
- RHEL5下配置vncserver
- RHEL5下安装Rtl8169网卡驱动
- rhel5/centos5下R8168网卡的安装
- 网卡绑定配置
- bond网卡绑定配置
- RHEL5.5双网卡绑定
- RHEL5下vnc的配置
- 虚拟网卡配置与多网卡绑定
- linux双网卡绑定配置
- Linux网卡配置与绑定
- Linux网卡配置与绑定
- win2012R2配置双网卡绑定
- Qt Eembedded Linux移植要点
- 使用nohup让程序永远后台运行
- Android文件操作
- 用nmap获取ip和mac地址
- android的系统属性设置和应用
- RHEL5下配置网卡绑定
- BCD INT 转换
- Django 模板语言
- Template模式
- java通过dom4j创建xml文件
- 深入理解javascript闭包
- 让cygwin忽略dos回车符
- qq游戏中的bug
- 图像处理基础(五)_图像像素中通道概念解析