免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2633 | 回复: 2
打印 上一主题 下一主题

Linux bonding and Cisco Etherchannel [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-08-14 11:32 |只看该作者 |倒序浏览
I see one example from README.BONDING.txt and it belonging to
1) High Availability on a single switch or host -load balancing
Example 2: host to switch at twice the speed
Host A with Two Gigabit Lan card (eth0, eth1) connected to one Cisco 2960G switch by two Gigabit network cable.
On host A:
# modprobe bonding miimon=100
# ifconfig bond0 addr
# ifenslave bond0 eth0 eth1
On the switch:
# set up a trunk on port 1 and port 2

I setup a linux teaming and cisco etherchannel by the above refereces, but switch and linux cannot ping each other, please help.
#########################################

My Network environment
1) RedHat Linux Enterprise Server 4 update3 with two Integrated dual Gigabit Ethernet (Broadcom NetXtreme II) - Configure Bonding
** Cannot start Arcserve Backup service -bab due to setup bonding at /etc/modprobe.conf - alias bond0 bonding
- bonding mode = 4 miimon=100 downdelay=200 updelay=200
2) added the following contain at /etc/rc.d/rc.local
/sbin/modprobe bonding mode=4 miimon=100 downdelay=200 updelay=200
/sbin/ip link set dev bond0 addr 00x87:ax:5x
/sbin/ip addr add xxx.xxx.xxx.x/24 brd + dev bond0
/sbin/ip link set dev bond0 up
/sbin/ifenslave bond0 eth0 eth1
/sbin/route add -net 0.0.0.0 netmask 0.0.0.0 gw xxx.xxx.xxx.x
/etc/init.d/bab start
# /opt/CA/BrightStorARCserve/bin/startgui

3) This Linux server connected to one Cisco 2960G 24Port
the following is contain and configuration process
#vlan 2
#name bonding
#int gi 0/3
#switchport mode access
#switchport access vlan2
#int gi 0/4
#switchport mode access
#switchport access vlan2
#int range gi 0/3-4
#channel-group 1 mode active

4) Linux Server and Cisco calayst switch is running the same protocol 802.3ad.
5) Result: Linux Server cannot access to Internet and Cisco calayst
Cisco calayst cannot ping to Server.

论坛徽章:
0
2 [报告]
发表于 2007-08-14 16:42 |只看该作者
channel-group 1 是在vlan2里的吗

这个和Example 2里的
On the switch:
# set up a trunk on port 1 and port 2

矛盾吗?

论坛徽章:
0
3 [报告]
发表于 2007-08-14 17:02 |只看该作者
我记得有个配置
(config)#int g4/1
(config-if)#....
(config-if)#switchport mode trunk
(config-if)#....
(config-if)#channel-group 1 mode on
(config-if)#....

((config)#int g4/2
(config-if)#....
(config-if)#switchport mode trunk
(config-if)#....
(config-if)#channel-group 1 mode on
(config-if)#....


(config)#int port-channel1
(config-if)#......
(config-if)#switchport mode trunk
(config-if)# ......

详细的记不清了,就写了关于trunk设置的这几句话,大概就这意思吧
这几个端口的封装那句话没写上,应该用isl?

没这么做过,E文也相当烂,抛砖引玉了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP