Hello,
Could you provide more details about what is it that you want to achieve?
Regarding the commands, you are using, the first three related to network configuration are not necessary, as well as uci commit network.
Though in addition, at the end of your script you could add:
- /etc/init.d/network restart
Also, for each interface, reset current connections by adding the following options:
- uci set mwan3.<interface>.flush_conntrack='connected'
- uci add_list mwan3.<interface>.flush_conntrack='disconnected'
Replace <interface> with mob1s1a1, mob2s1a1 and svi806.
Alternatively, the default rule can be deleted using the following command:
- while uci -q delete mwan3.default_rule; do :; done
However, be aware that without the default rule, load balancing might not work, and all the traffic will be forwarded through the interface with the highest metric at the time.
Best regards,