Save your network configuration in a bash script
require iproute2 package, by default is installed on most distros. executing this script will create a network.save file and save your network configuration and states. network.save is a bash script you can use it later. don't forget execute permission for network.save
chmod +x save_my_network.py
./save_my_network.py #executing this script will create a network.save