我将配置三个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实际上相当彻底.我强烈建议至少阅读更相关的部分.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。