- 论坛徽章:
- 0
|
Teaming
3.2. Linux
3.2.1. Broadcom 网卡
1. 先正确安装Broadcom 网卡
2. 在光盘中间linux目录下找到安装程序,复制到 redhad 下
3. 执行命令
rpm -i basplnx-{version}.src.{arch}.rpm
4. 编译驱动(8.0以上用rpmbuild命令)
% cd /usr/src/{redhat or packages}
% rpm -bb SPECS/basplnx.spec or rpmbuild -bb SPECS/basplnx.spec
5.安装新的RPM包
% rpm -i RPMS/i386/basplnx-{version}.{arch}.rpm
5. 加载驱动,完成安装
% insmod basp
6. 配置之前请确认/etc/sysconfig/network-scripts目录下每个网卡都有如下属性,文件为ifcfg-eth(*)
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
7.拷贝例子配置文件"/etc/basp/samples" 目录到 "/etc/basp" 目录
修改配置文件确定teaming 类型
TEAM_ID: this number uniquely identifies a team
TEAM_TYPE: 0 = SLB, 1 = Generic Trunking/GEC/FEC, 2 = 802.3ad
TEAM_NAME: ascii name of the team
TEAM_PAx_NAME: ascii name of the physical interface x, where x can be 0 to 7
TEAM_PAx_ROLE: role of the physical interface x 0 = Primary, 1 = Hot-standby.This field must be 0 for Generic Trunking/GEC/FEC team.
TEAM_VAx_NAME: ascii name of the virtual interface x, where x can be 0 to 63
TEAM_VAx_VLAN: 802.1Q VLAN ID of the virtual interface x.For untagged virtual interface, i.e., without VLAN enable, set it to 0. The valid VLAN ID can be 0 to 4094.
TEAM_VAx_IP: IP address of the virtual interface x. The format should be aa.bb.cc.dd.
TEAM_VAx_NETMASK: Subnet mask of the virtual interface x. The format should mm.nn.oo.pp
8.启动teaming 程序
% /etc/init.d/basp start |
|