I am unable to set vpn bonding to work as it should.
I have two remote sites, with two WANs each.
I have established two LAN-to-LAN VPNs betweetn
VPN0: SiteA:WAN1 < -> SiteB:WAN1
VPN1: SiteA:WAN2 < -> SiteB:WAN2
VPNs are connecting OK.
now i have created a BOND0 with two aggregated VPNs on each side.
then i have created a bridge between ETH0 (local net) and BOND0 on each side.
Now i am able to ping hosts between two sites with no problem.
But when one WAN fails something very strange happens. For about 30s everyfhing continues to work.
BOND0 interface detects that one of VPNs is disconnected and BOND interface says:
Link UP — VPN00:Down VPN01:Up.
But after about 30 seconds connectivity is lost between sites, and BOND0 interface status changes to:
Link UP — VPN00:Up VPN01:Up
Now BOND0 says that both VPNs are up, but the VPN0 itself is still down!!
When i manually disable VPN00 inferface by unchecking the “UP” box it starts to work again after a while.
What is happening and how to set it up correctly ???
I have tried it in Zeroshell 1.0 and 2.0 and it is working the same way.