RHEL6 双网卡bonding配置
1)RHEL6下不再有modprobe.conf这个文件
在/etc/modprobe.d/里建立bond0[root@server modprobe.d]# cat /etc/modprobe.d/bond0
alias bond0 bonding
options bond0 miimon=100 mode=42)交换机上接口打上LACP模式3)配置网卡/etc/sysconfig/network-scripts/ifcfg-ethX
我配置的模式是:
DEVICE=eth0
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
#HWADDR=84:2b:2b:59:43:ae
#NM_CONTROLLED=yes
#IPADDR=192.168.3.243
#NETMASK=255.255.255.0
#TYPE=Ethernet
#IPV6INIT=no4)配置bond0网卡
[root@server ~]# vim /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
USERCTL=no
BOOTPROTO=none
ONBOOT=yes
NETMASK=255.255.255.0
GATEWAY=192.168.3.254
IPADDR=192.168.3.247
#BROADCAST=192.168.3.255
#NETWORK=192.168.3.05)重启系统之后才能生效6)排错
RHEL6启动很快,进入系统的时候,网卡还没有起来,交换机上的灯还是黄色的。稍等一会,交换机的灯变成绿色,说明正常。但是此刻,在系统里仍然不能ping通其他机器。
/etc/init.d/network restart之后提示bond0 connection ativation failed:device not managed by networkmanager,交换机上网卡灯变黄解决方法是chkconfig NetworkManager off;/etc/init.d/NetworkManager stop;chkconfig network on;/etc/init.d/network restart
系统提示bond0 ok,稍等一会,交换机上网卡灯由黄色变绿色,此时机器正常,可以ping通其他机器Ubuntu 12.04 配置Ruby环境RHEL6.2在VirtualBox 4.1.8中图形安装和字符安装相关资讯 RHEL6
- 在 RHEL6 上安装 Java (02/05/2015 13:44:10)
- RHEL6文字界面安装Gnome桌面 (11/30/2013 08:54:03)
- RHCE认证之RHEL6进程管理、Cron任 (10/22/2013 11:45:06)
| - Red Hat Enterprise Linux 6.6 正 (10/15/2014 08:05:33)
- RedHat Enterprise Linux 6.X系统 (10/25/2013 08:42:03)
- Red Hat Enterprise Linux 6最新测 (10/15/2013 15:53:30)
|
本文评论 查看全部评论 (0)