add route 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]