两台服务器网卡工做方式不一样,网络异常

公司有台服务器,svn更新代码的时候直接卡死。最后发现是两台服务器网卡的全双工/半双工方式不一样致使。linux

root@pts/2 #  mii-tool eth0
eth0: negotiated 100baseTx-FD, link ok

另外一台:
root@pts/0 #  mii-tool  bond0   
bond0: 10 Mbit, half duplex, link ok

修改:bash

root@pts/2 # ethtool -s eth0 speed 10 duplex half

root@pts/2 #  mii-tool eth0                        
eth0: negotiated 10baseT-HD, link ok


命令参考:服务器

http://www.cyberciti.biz/faq/linux-change-the-speed-and-duplex-settings-of-an-ethernet-card/ide

相关文章
相关标签/搜索