Is there a way to save the actual network configuration in OpenWrt?

Hello, I'm working on OpenWrt. I made a many network changes. I create a bond interface, modified its parameters, set many arp addresses statically, defined a static ip route and so on... is there any way to save this actual network state? I would like to make all permanent, so that when I restart the device, the settings still remain. Is this possible? For example, If I restart the device, the bond interface is down.

If you made the changes via UCI or Luci, then the changes are saved in /etc/config/ .
If you ran arbitrary commands like ip add... then you need to run them in a startup script, like /etc/rc.local. However it is much advised to use the UCI/Luci, as it is easier to control them using the services.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.