How to have multiple Bridges on same bond0

Latest response

Hello,

Host and VMs are RHEL 8.

I need to run some VMs on one host which has IP address from same subnet for all interfaces. I know I need a bridge for each VM thru each interface to work properly. But that gives no redundancy and fault-tolerance.

To achieve rr/ft I can do a bond of 4 eth intfcs and then have "4 virtual intfc" defined on top of it (How???). So that those virtual NICs can then be assigned to their bridge (and the br assigned to VM).

I do not have any VLAN IDs assigned to switch.

all 4 NICs have IP from same DHCP server within same subnet: 192.168.1.xx
(IPs are static, to be assigned inside VMs)

desire to have load balancing and redundancy (balance-alb):

phy.Nic1---|           |---bond0.if1---br1---vm1(enp1s0 = 192.168.1.xx)
phy.Nic2---|           |---bond0.if2---br2---vm2(enp1s0 = 192.168.1.xy)
           |---bond0---|
phy.Nic3---|           |---bond0.if3---br3---vm3(enp1s0 = 192.168.1.yx)
phy.Nic4---|           |---bond0.if4---br4---vm4(enp1s0 = 192.168.1.yy)

But How do I create bond0.if1, bond0.if2 etc. WITHOUT a VLAN defined in my switch ? How Will it work?

This is on RHEL 8.

Responses