免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3874 | 回复: 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 \r\n1) High Availability on a single switch or host -load balancing \r\nExample 2: host to switch at twice the speed \r\nHost A with Two Gigabit Lan card (eth0, eth1) connected to one Cisco 2960G switch by two Gigabit network cable. \r\nOn host A: \r\n# modprobe bonding miimon=100 \r\n# ifconfig bond0 addr \r\n# ifenslave bond0 eth0 eth1 \r\nOn the switch: \r\n# set up a trunk on port 1 and port 2 \r\n\r\nI setup a linux teaming and cisco etherchannel by the above refereces, but switch and linux cannot ping each other, please help. \r\n######################################### \r\n\r\nMy Network environment \r\n1) RedHat Linux Enterprise Server 4 update3 with two Integrated dual Gigabit Ethernet (Broadcom NetXtreme II) - Configure Bonding \r\n** Cannot start Arcserve Backup service -bab due to setup bonding at /etc/modprobe.conf - alias bond0 bonding \r\n- bonding mode = 4 miimon=100 downdelay=200 updelay=200 \r\n2) added the following contain at /etc/rc.d/rc.local \r\n/sbin/modprobe bonding mode=4 miimon=100 downdelay=200 updelay=200 \r\n/sbin/ip link set dev bond0 addr 00x87:ax:5x \r\n/sbin/ip addr add xxx.xxx.xxx.x/24 brd + dev bond0 \r\n/sbin/ip link set dev bond0 up \r\n/sbin/ifenslave bond0 eth0 eth1 \r\n/sbin/route add -net 0.0.0.0 netmask 0.0.0.0 gw xxx.xxx.xxx.x \r\n/etc/init.d/bab start \r\n# /opt/CA/BrightStorARCserve/bin/startgui \r\n\r\n3) This Linux server connected to one Cisco 2960G 24Port \r\nthe following is contain and configuration process \r\n#vlan 2 \r\n#name bonding \r\n#int gi 0/3 \r\n#switchport mode access \r\n#switchport access vlan2 \r\n#int gi 0/4 \r\n#switchport mode access \r\n#switchport access vlan2 \r\n#int range gi 0/3-4 \r\n#channel-group 1 mode active \r\n\r\n4) Linux Server and Cisco calayst switch is running the same protocol 802.3ad. \r\n5) Result: Linux Server cannot access to Internet and Cisco calayst \r\nCisco calayst cannot ping to Server.

论坛徽章:
0
2 [报告]
发表于 2007-08-14 16:42 |只看该作者
channel-group 1 是在vlan2里的吗\r\n\r\n这个和Example 2里的\r\nOn the switch: \r\n# set up a trunk on port 1 and port 2 \r\n\r\n矛盾吗?

论坛徽章:
0
3 [报告]
发表于 2007-08-14 17:02 |只看该作者
我记得有个配置\r\n(config)#int g4/1\r\n(config-if)#....\r\n(config-if)#switchport mode trunk\r\n(config-if)#....\r\n(config-if)#channel-group 1 mode on\r\n(config-if)#....\r\n\r\n((config)#int g4/2\r\n(config-if)#....\r\n(config-if)#switchport mode trunk\r\n(config-if)#....\r\n(config-if)#channel-group 1 mode on\r\n(config-if)#....\r\n\r\n\r\n(config)#int port-channel1\r\n(config-if)#......\r\n(config-if)#switchport mode trunk\r\n(config-if)# ......\r\n\r\n详细的记不清了,就写了关于trunk设置的这几句话,大概就这意思吧\r\n这几个端口的封装那句话没写上,应该用isl?\r\n\r\n没这么做过,E文也相当烂,抛砖引玉了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP