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

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

Computing Categories: