Anyone has a clue?
ip route show table wan0 | grep -E "^default|prohibit"
default via 10.88.8.1 dev eth0
ip route show table wan1 | grep -E "^default|prohibit"
default via 10.64.64.64 dev ppp0
ip route del default table wan1
ip route add prohibit default table wan1
ip route flush cache
ip route del default table wan1
ip route add default via $(nvram get wan1_gateway) table wan1
ip route flush cache
What are the dual wan you have?
Why do you need the limited time for?
You should be able to simply alter the 'default' entry in the appropriate Dual-WAN routing table.
You can check the status of your Dual-WAN default routes, and you should get something like:
If you manually want to test if you can block use of say the secondary Dual-WAN (wan1), then issue the followingCode:ip route show table wan0 | grep -E "^default|prohibit" default via 10.88.8.1 dev eth0 ip route show table wan1 | grep -E "^default|prohibit" default via 10.64.64.64 dev ppp0
To remove the block from the secondary Dual-WAN (wan1), then issue the followingCode:ip route del default table wan1 ip route add prohibit default table wan1 ip route flush cache
If the above works, then use cru (cron) to apply/remove the block at the appropriate scheduled timesCode:ip route del default table wan1 ip route add default via $(nvram get wan1_gateway) table wan1 ip route flush cache
Just because I have both routers installed under the rooftop and it's not practical to get there every night regardless of how much I love my internet connection Disconnecting LAN1 cable would be more practical but still I'd need to get a ladder and jump on it to reach the AC86u.Why would you not just turn the power of the wan and the router will switch over.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!