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

Network bonding active-backup mode with two switches

· 52CE 我爱测

This below is a sample of my network. I have two interfaces on one machine eth0: 192.168.150.2 and eth1: 192.168.150.3 and I want make my network redundant using mode=1 which is active-backup, so if one switch fails I want to sti…

问题原文

原帖链接 · ananetworking · CC BY-SA 4.0

This below is a sample of my network. I have two interfaces on one machine eth0: 192.168.150.2 and eth1: 192.168.150.3 and I want make my network redundant using mode=1 which is active-backup, so if one switch fails I want to still have traffic to both interfaces. The switch A is connected to ASA firewall which in this case is the gateway with IP: 192.168.175.3 . I'm not sure when configuring the bond0 interface what IP address should i set if the gateway has IP 192.168.175.3 .

            |                                     |
            |                                     |
      +-----+----+                          +-----+----+
      |          |             ISL          |          |
      | switch A +--------------------------+ switch B |
      |          |                          |          |
      +-----+----+                          +-----++---+
            |                                     |  
            |             +-------+               |
            +-------------+ host1 +---------------+
                     eth0 +-------+ eth1

已采纳解答

原帖链接 · Abu Zaid · CC BY-SA 4.0

When bonding, you will not assign IP address to individual eth0 or eth1 interfaces (slave interfaces), only to the bond0 (Master Interface). So assign 192.168.150.2 to the bond0 interface, and remove IP Address information from eth0 and eth1.

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

资料来源与适用范围

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

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

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