If you are seeing ‘Default gateway is not available‘ message during troubleshooting your internet connection, then the problem is associated with either incorrect IP address or ISP config settings. To solve this issue check out these workarounds first for simpler solutions and then go for the main solutions.
1. Restart your computer. After restarting check if you can connect to the internet or not.
2. If you are using an antivirus or firewall, disable it temporarily and try to connect to the internet again.
If any of these didn’t work, go for these fixes-
Fix-1 Reset IP-
Resetting IP on your computer will solve this issue.
1. Press Windows key+R to launch Run window on your computer.
2. Type “cmd” and then hit Ctrl+Shift+Enter to open Command Prompt window with administrative rights.
2. In Command Prompt window, type or copy-paste these commands one-by-one and then hit Enter after each of them to execute these commands sequentially on your computer.
NETSH INT IP RESET C:\RESETLOG.TXT netsh winsock reset ipconfig /flushdns
Close Command Prompt window.
Reboot your computer. After rebooting your computer and try to connect to the network again.
Fix-2 Disable and Enable network drive-
Disabling and re-enabling the network drive will surely work out for you.
1. First, press Windows Key+R to launch Run window.
2. Now, type “ncpa.cpl” and then hit Enter.
Network Connections window will be opened.
2. Right click on the network you are currently using and then click on “Disable“.
3. Now, wait for a while, and then again right click on the disabled network drive, and then click on the “Enable“.
This way you can the network drive will be reset on your computer.
Default Gateway problem should be fixed.
Fix-3 Set IPv4 settings manually-
Setting IPv4 settings manually can solve this issue.
1. Press Windows key+R to launch Run window.
2. Now, type “cmd” and then press Ctrl+Shift+Enter.
3.Now, click on “Yes” to grant access to the User Account Control (UAC).
Command Prompt window will be opened with Administrative rights.
4. In Command Prompt window, type “ipconfig” and then hit Enter.
All the internet connection settings will be detailed in the window.
5. Now, from the list of the connection settings look out for the adapter settings you are looking for ( for us, it is “WiFi” settings).
Note down the data of the adapter (IPv4 Address, Subnet Mask and Default Gateway).
Minimize Command Prompt window.
6. Again, press Windows Key+R, to launch Run, and type “ncpa.cpl” and hit Enter.
7. Now, right click on the network adapter you are using and then click on “Properties” to modify the properties.
8. Now, under the section ‘This connection uses the following items:‘ scroll down and then double click on “Internet Protocol Version 4 (TCP/IPv4)“.
9. In Internet Protocol Version 4 (TCP/IPv4) Properties window click on “Use the following IP address:” to select it.
10. Now, in Command Prompt window, whatever the data you have noted, put those data in the particular tabs ( like IP address, Subnet mask, Default gateway) .
11. Now, select “Use the following DNS server settings:” and input these following DNS servers settings-
Preferred DNS server: 126.96.36.199 Alternate DNS server: 188.8.131.52
12. Click on “OK” to save the change.
This will surely fix your issue.
Try to reconnect to internet again.
Fix-4 Set IPv4 settings manually-
If previous method didn’t work out, modify the DNS settings of IPv4 protocol manually to solve the issue.
1. Press Windows Key+R, to launch Run window .
2. Now, type “ncpa.cpl” and hit Enter to open Network Connections window.
3. Now, in the list of the adapters, right click on the network adapter you are using and then click on “Properties“.
4. Now, under the section ‘This connection uses the following items:‘ scroll down and then double click on “Internet Protocol Version 4 (TCP/IPv4)“.
5. In Internet Protocol Version 4 (TCP/IPv4) Properties window, click on “Use the following DNS server addresses:“.
6. Now, put these server addresses correctly-
Preferred DNS server: 184.108.40.206
Alternate DNS server: 220.127.116.11
7. Finally, click on “OK” and try to connect to internet again.
Close Control Panel window.
Try to connect to the internet and check if this works.
Fix-5 Reset Network-
Resetting the network on your computer may solve this issue.
1. Press Windows Key+I to open Settings window,
2. Now, click on “Network and Internet“.
3. On the left hand side, under Status, scroll down and click on “Network reset“.
4. Finally, click on “Reset now” to reset the internet connection.
5. Now, again click on “Yes” to finalize the reset.
Your computer will be restarted to finalize the resetting process.
After rebooting, you will be able to connect to internet.
Your problem will be solved.
Sambit is a Mechanical Engineer By qualification who loves to write about Windows 10 and solutions to weirdest possible problems.