How to change the default gateway of a Mac OSX machine
$ route delete default
$ route add default 192.168.0.1


or

$ route change default -interface $INTF
$ route change 192.168.0.0/16 -interface $INTF