双网卡绑定技术
操作系统 Centos 5.2(Linux node01 2.6.18-92.el5PAE)
绑定的前提条件:芯片组型号相同,而且网卡应该具备自己独立的BIOS芯片(HP服务器支持)
需要更改的地方
/etc/sysconfig/network-scripts 具体文件如下:
[root@node01 network-scripts]# cat ifcfg-eth1
# Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet
DEVICE=eth1
NOBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
[root@node01 network-scripts]# cat ifcfg-eth0
# Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
SLAVE=yes
MASTER=bond0
[root@node01 network-scripts]# cat ifcfg-bond0
# Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet
DEVICE=bond0
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.1.216
GATEWAT=192.168.1.1
NETMASK=255.255.255.0
阅读(505) | 评论(0) | 转发(0) |