setting router on mac code example
Example: add routes to mac
sudo route -n add -net [ip-range-here:ie,192.168.2.0/24] [destination;e.g:10.0.2.234]
sudo route -n add -net [ip-range-here:ie,192.168.2.0/24] [destination;e.g:10.0.2.234]