免费注册 查看新帖 |

Chinaunix

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

Solaris下修改网卡MTU [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-10-08 21:07 |只看该作者 |倒序浏览
这几天一直在装Sun Cluster,两台SuFire V890,双机通过PCI扩展的千兆网卡连接到一个普通交换机互联,安装过程中碰到下面的错误,
Sep 20 20:27:50 clusterhost1 cl_runtime: NOTICE: clcomm: Path clusterhost1:ce1 - clusterhost2:ce1 being cleaned up
Sep 20 20:27:50 clusterhost1 cl_runtime: NOTICE: clcomm: Path clusterhost1:ce1 - clusterhost2:ce1 being drained
Sep 20 20:27:50 clusterhost1 cl_runtime: NOTICE: clcomm: Path clusterhost1:ce1 - clusterhost2:ce1 being constructed
Sep 20 20:27:50 clusterhost1 cl_runtime: NOTICE: clcomm: Path clusterhost1:ce1 - clusterhost2:ce1 being initiated
Sep 20 20:27:50 clusterhost1 cl_runtime: NOTICE: clcomm: Path clusterhost1:ce1 - clusterhost2:ce1 online
Sep 20 20:29:59 clusterhost1 cl_runtime: NOTICE: clcomm: Path clusterhost1:ce0 - clusterhost2:ce0 being cleaned up
Sep 20 20:29:59 clusterhost1 cl_runtime: NOTICE: clcomm: Path clusterhost1:ce0 - clusterhost2:ce0 being drained
Sep 20 20:29:59 clusterhost1 cl_runtime: NOTICE: clcomm: Path clusterhost1:ce0 - clusterhost2:ce0 being constructed
Sep 20 20:29:59 clusterhost1 cl_runtime: NOTICE: clcomm: Path clusterhost1:ce0 - clusterhost2:ce0 being initiated
Sep 20 20:29:59 clusterhost1 cl_runtime: NOTICE: clcomm: Path clusterhost1:ce0 - clusterhost2:ce0 online
Sep 20 20:32:09 clusterhost1 cl_runtime: NOTICE: clcomm: Path clusterhost1:ce1 - clusterhost2:ce1 being cleaned up
Sep 20 20:32:09 clusterhost1 cl_runtime: NOTICE: clcomm: Path clusterhost1:ce1 - clusterhost2:ce1 being drained
Sep 20 20:32:09 clusterhost1 cl_runtime: NOTICE: clcomm: Path clusterhost1:ce1 - clusterhost2:ce1 being constructed
Sep 20 20:32:09 clusterhost1 cl_runtime: NOTICE: clcomm: Path clusterhost1:ce1 - clusterhost2:ce1 being initiated
Sep 20 20:32:09 clusterhost1 cl_runtime: NOTICE: clcomm: Path clusterhost1:ce1 - clusterhost2:ce1 online
看上去是双机互联的网卡不停重启,百思不得其解,不经意间发现这两个千兆口的MTU都是9194,ce1: flags=1008843 mtu 9194 index 4
    inet 172.16.1.1 netmask ffffff80 broadcast 172.16.1.127
    ether 0:3:ba:d9:f0:7f
ce0: flags=1008843 mtu 9194 index 5
    inet 172.16.0.129 netmask ffffff80 broadcast 172.16.0.255
    ether 0:3:ba:d9:f0:7e
由于我是通过一个普通的交换机把这些千兆口连起来的,MTU最大只能支持到1500,问题应该就出在这里,想办法将这两块网卡的MTU降到1500,命令也很简单,
ifconfig ce0 mtu 1500
ifconfig ce1 mtu 1500
改完之后,原来的错误提示消失,sun cluster的安装继续进行。特别说一句,网上有朋友想用上面的命令把一块普通网卡mtu修改成大于1500失败,应该是网卡驱动本身不支持mtu大于1500。


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/48940/showart_396909.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP