#!/usr/bin/zsh GATEWAY=130.235.83.152 for i in {65..68} ; do SUBNET="192.168.$i.0/24" route -n add -net "192.168.$i.0/24" 130.235.83.152 done