This may be caused by variety of reasons, https://support.microsoft.com/en-us/kb/970313

If default gateway is set to 0.0.0.0 (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 0.0.0.0and 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=0.0.0.0

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