So I have a uniqe configuration and need some help optimizing it. First off I am using my neighbors internet connection across the street. I am using a dedicated PC that connects via Wi-Fi to their router. I then configured a bridge to the local LAN port which is wired directly to my openwrt routers internet port and this is how I provide internet to my home network. Everything works fine however the connection can be a bit slow sometimes so I just added the configuration to allow my cellular phone to provide internet access as well, its 5G and MUCH faster than what I am getting from across the street. My question is this: How do I make the original connection the default connection so when I am not at home with my cell phone there is still internet but when I get home I want to connect my cell phone to the router and have it be the main source of internet connectivity? Right now I have just applied the cell phone connection and it works but only if the original connection is up.
Any help tweaking this would be greatly appreciated!
Maybe this is what you are looking for?
OK, I think I accomplished what I wanted. Under static IP routes, I made 2 routes and for the phone route, I assigned a lower metric so that when the phone is plugged in, traffic is routed through it (the faster connection), and when I unplug the phone the traffic then routes through the slower connection. I didn't install mwan3 because I am not interested in load balancing.
Thanks for the help though!
Actually after looking at it, I had disabled one route to be able to use the other. So still unsolved.
You don't need static routes. Assign a metric to the "regular" wan
interface. In this way, when your phone connects to the router and the corresponding interface becomes active, the routing table will be automatically updated and Internet access through the phone will be used with priority.