MacOS – OS X Yosemite – TCP/IP issues when using manual IP

macos

I seem to be having a weird issue on OS X Yosemite (10.10.5) – When I have my wifi connection set to DHCP, everything works fine. But, when I switch to manual IP (even with the exact same IP config that I get from DHCP), routing to internet sites fails. I can ping local computers, but, pinging other sites results in "No route to host". I would appreciate any ideas on how to fix this. Thanks

Edit:
The routes that I have after setting a manual ip are

Routing tables

Internet:
Destination        Gateway            Flags        Refs      Use   Netif Expire
default            192.168.2.144      UGScI           1        0     en1
127                127.0.0.1          UCS             0        0     lo0
127.0.0.1          127.0.0.1          UH              8     2206     lo0
169.254            link#5             UCS             0        0     en1
192.168.2          link#5             UCS             7        0     en1
192.168.2.1        a0:63:91:2:9e:b0   UHLWI           0       88     en1   1195
192.168.2.3        74:d4:35:94:ef:54  UHLWIi          5      302     en1   1140
192.168.2.9        9c:20:7b:c8:9d:f7  UHLWIi          1        0     en1   1188
192.168.2.14       64:27:37:e7:24:51  UHLWI           0        9     en1   1141
192.168.2.100      28:c6:8e:5f:de:82  UHLWI           0       84     en1   1140
192.168.2.140      0:11:32:b:b9:11    UHLWI           0       14     en1   1140
192.168.2.144/32   link#5             UCS             1        0     en1
192.168.2.144      link#5             UHLWIir         2        0     en1
192.168.2.250/32   link#5             UCS             0        0     en1
192.168.2.255      ff:ff:ff:ff:ff:ff  UHLWbI          0       24     en1

Best Answer

Looks like I am affected by the issue posted here. The proposed solution of adding a new default route works. If anybody else, has a better solution, where I don't have to do that everytime - when I switch between DHCP and Manual - I would love to try it. Thanks

Solution posted there is to add a default route to the router IP

sudo route add default 192.168.x.x