大网数据广告活动
服务器运维问答

Does bonding 3 1G NICs into one make a 3G NIC?

· 52CE 我爱测

For example, I have 3 NICs (1GB) and make a bonded NIC. Do I get a 3GB NIC? Should I connect these 3 NICs into 1 switch? If one NIC dies, do I still have the network between server and switch alive? Or should I connect each NIC t…

问题原文

原帖链接 · Sato · CC BY-SA 3.0

For example, I have 3 NICs (1GB) and make a bonded NIC. Do I get a 3GB NIC?

Should I connect these 3 NICs into 1 switch? If one NIC dies, do I still have the network between server and switch alive?

Or should I connect each NIC to 3 different switches? So if one NIC or one switch dies, I still have the network alive?

Which mode should I use?

社区高分解答

原帖链接 · Zoredache · CC BY-SA 3.0

For example, I have 3 NICs(1GB) and make a bond NIC, Do I get a 3GB NIC?

No. You don't. The specific details depend on the hash mode, but typical hash modes distribute individual connections to each member. Even with a round-robin mode only possible between two directly connected Linux systems you will not get the full 3GB, probably more like 2GB.

Should I connect

No idea. We can't make a decision for you. You need to decide if you need fault tolerance or better performance. You need to figure out if your switches allow you to have a link aggregation group that spans switches, this is a pretty high end feature, that usually requires a stack setup.

If you have no idea what you should be doing, perhaps start with a switch-independent mode for fault tolerance only and connect it to multiple switches. This is a really simple setup and would require no config on your switches, but it wouldn't really give you much of a performance boost.

Past that, just try some modes and run some performance tests that reflect your typical load and usage of this system in various configurations. Pick the best one based on your results.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-03-23)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。