This may be caused by variety of reasons,

If default gateway is set to (check with cmd > ipconfig /all) this needs to be removed by:

  1. Run cmd.exe as Administrator
  2. At command type this command:
    route delete hit enter
  3. Then type:
    ipconfig /releaseand hit enter, then type:
    ipconfig /renewand hit enter

For static assigned address:

netsh interface ip delete address [name=]InterfaceName [addr=] IPAddress gateway=

you have to enter the ip address as well, so you have to add the address back:

netsh interface ip add address [name=]InterfaceName [addr=] IPAddress