我将配置三个NIC的绑定.我想定义哪个将首先使用,哪个NIC将在故障转移完成时用作第二个和第三个NIC.这可能吗?
谢谢
解决方法
绑定模式为主动备份模式,并指定首选接口,使用主关键字指定首选接口:
BONDING_OPTS="mode=1 miimon=100 primary=eth0"
因此,在此示例中,如果可用,则希望它始终为eth0.
primary
A string (eth0,eth2,etc) specifying which slave is the primary
device. The specified device will
always be the active slave while it is
available. Only when the primary is
off-line will alternate devices be
used. This is useful when one slave is
preferred over another,e.g.,when one
slave has higher throughput than
another. The primary option is only
valid for active-backup mode.
用于Linux绑定的The documentation实际上相当彻底.我强烈建议至少阅读更相关的部分.