1,760
edits
Changes
→Shell Script for adding custom routes on your gateway to other's VLSs
if [ "$X" -ne "$y" ]
then
nmcli con modify ens192 +ipv4.routes "192.168.${y}.0 172.20.${y}.1 100"
echo "Adding route to 192.168.${y}.0 network."
fi