I have the following setup
CCR1072(R1) —> CRS317(S1) —> CCR1036(R2)
R1 Port1 (VLAN100)
R1 Port2 (VLAN200)
Bonding1-VLAN100+VLAN200
R2 Port1 (VLAN100)
R2 Port2 (VLAN200)
Bonding1-VLAN100+VLAN200
S1 Port1-4 (Allowed VLAN 100)
S1 Port5-8 (Allowed VLAN 200)
When I connect R1 Port1 to R2 Port1 and R1 Port2 to R2 Port2 directly the bonding works (can ping).
Ping stops if I introduce switch in the middle as following
S1 Port1 to R1 Port1 and S1 Port2 to R2 Port1
S1 Port5 to R2 Port1 and S1 Port6 to R2 Port2
Hope I was able to explain well.
I don’t think you can have bonding via switch. (Thats just my personal feeling - one of bonding types is literary named “link agregation control protocol” so I assume it is about aggregating “link layer” (L1) . Once you introduce switch, communication it is no longer “link layer”.)
Wouldn’t it be better to do bonding from R1 to S1 and then separate bonding from S1 to R2? As far as I know, CRS3xx supports hw-acceleration with bonding
Another way might be using EOIP tunnels instead of vlans. Vlan is not really a tunnel, merely L2 separation of traffic. This would, however, add some overhead (42 bytes per frame)