Gateway 0.0.0.0 is set when retrieving IP configuration from DHCP
When switching to WiFi, your computer gets 0.0.0.0 as the main gateway (along with the real one).
Workaround
Remove the route and renew IP configuration by running the following commands
route delete 0.0.0.0
Then get another IP address from the DHCP server
ipconfig /release
ipconfig /renew
Source
https://www.shayanderson.com/microsoft-windows/windows-7-fix-0-0-0-0-default-gateway-issue.htm
Was this post helpful?
Let us know if you liked the post. That’s the only way we can improve.