Interfaces - Assignment
So you have a static route that point thru the WG tunnel?Most likely that's the problem, if WG is not yet up the route tries to point towards a GW into something that is not yet existing or up, than you may hit this problem.A static route can not be put into a route table if the egress interface is not existing (or down). How is your GW configured onto which you point the static route? Does it use tracking (dping)?Regards,S.
When we stick to the base concept of routing and routes itself.A route will be put into uRIB (unicast routing table) only in case the destination where its pointing to is reachable. E.g we have that specific destination in the route table and we are able to do recursive lookup.Example:Source A wants to go to destination M1st lookup:Destination M is reachable using static route over Gateway B2nd lookup:Destination B is reachable over C2nd lookup:Destination C is reachable over XYZetc.This is happening until the router in this case OPNsense will not hit such a recursive lookup that will point it to an Egress Interface.So my question now is, when you dont have the route present in the route table. Does OPNsense know where is the GW of that static route? Do you have it in ARP & Router table?Regards,S.