How do I configure a default route for OSX or another BSD style machine?

Error message

Notice: Trying to get property of non-object in ldap_authentication_init() (line 223 of /var/www/xlr8/lpl/sites/all/modules/ldap/ldap_authentication/ldap_authentication.module).
You are currently on the subnet:
  • 150.135.108.0/22: Open a command shell and execute:
    route add net 192.168.64.0/24 <if_name>
    Where if_name is the name of your network interface. (See below for examples of interface names.
  • 128.196.64.0/24: Open a command shell and execute:
    route add net 150.135.108.0/22 <if_name>
    Where if_name is the name of your network interface. (See below for examples of interface names.
Interface name examples:
  • Linux: eth0, eth1, ..., ethn
  • Solaris: ge0, le0, ...

To find the names of the network devices on your Unix/Linux/BSD variant, try:
ifconfigifconfig OR ifconfig -aifconfig -a