Hi to all! I have an router connected to internet (ether1) and back-up connection 3g usb modem. default route distance on ppp-out1 interface is 2. On static default route added for ether1 "check gateway=ping". I have 3 OVPN client interfaces. All works fine, if gateway is unreachable, ppp-out1 default route become active, and all traffic is routed through it. OSPF recalculates paths all is very good. BUT, when ether1 gateway becomes reachable, it's default gateway is active, all established connections still goes through ppp-out1. OVPN has established connections out of ppp-out1 and all traffic goes out ppp-out1.
How can I kill this connections, after first gateway is reachable?