frank54772 my topo traceroute output from op4 to op7 log of op3 log of op5 my traffic should go through openvpn,not static route,how to fix it
ordex let's say this is "unrelated" to OpenVPN. You scenario can be reformulated as if op3 and op5 have two ways to reach each other: * direct link (in your case this is the VPN) * via switch op3 decides which link to route traffic through based on its own routing table. In your case it is likely that the route via switch has a lower metric (higher prio) compared to the one over othe VPN link. Depending on your needs, you can either: 1) change the metric to invert the priority or 2) use policy routing to route only specific traffic over the VPN link. If you go with 1), make sure a static route towards the other VPN peer is installed (otherwise op3 would try to reach op5 via the tunnel and the VPN would break). If you have troubles understanding the description above, please paste your routing tables and I can help pointing out the issue.