Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home » Windows

8 Ways to Fix Default Gateway is Not Available on Windows

Abhishek SilwalBy Abhishek SilwalJuly 13, 2023
default gateway is not available

Whenever we encounter any internet connection issues, the first thing we try is to run the Internet Connection or Network Adapter troubleshooter. Oftentimes, the troubleshooter successfully resolves the issue, but sometimes it can’t. 

If you see the message “The default gateway is not available” with the “Not Fixed” status on the troubleshooter, it indicates that the network adapter on your computer could not find the IP address of the router (default gateway). Or it could not use the default gateway address saved on your system to connect to the router.

It can happen due to incorrect TCP/IP settings on your system or some issues with the router or your network drivers preventing any connection. Some third-party security software can also block connection to the router depending on their firewall settings.

Table of Contents

  • Restart the Router
  • Reset Network Settings
  • Check Firewall Settings on Your Antivirus
  • Check Power Management Settings
  • Update or Reinstall Network Driver
  • Set Static IP Address
  • Reset the Router
  • Contact Your ISP

Restart the Router

If the internet doesn’t work on any device while connecting to the same router, or your computer shows the above error only with this router’s network, restarting the router is the first thing you should do. It will take care of any temporary issues with this device and refreshes it so it can initiate a fresh connection with your computer.

  1. Press the on/off button on the router if it has such a button.
  2. Remove the power supply from the router.
    power-off-and-unplug-router
  3. Wait for 20 seconds and replug the power cable.
  4. Then, press the on/off button if necessary.

Reset Network Settings

Sometimes, the DHCP server may not issue the proper IP settings to your device. Or there may be other issues with your network settings that are preventing your computer from communicating with the router.

In such cases, you need to reset all the network settings to set the default network configuration on your computer. Doing so will also make the DHCP reissue the IP settings.

  1. Open Run.
  2. Type cmd and press Ctrl + Shift + Enter to open the Elevated Command Prompt.
  3. Type the following commands and press Enter after each:
    • ipconfig /flushdns
    • ipconfig /release
    • ipconfig /renew
      ipconfig-flushdns-release-renew
    • netsh winsock reset
    • netsh int ip reset
    • netsh advfirewall reset (Keep in mind that it will also reset all the firewall rules you ever set up manually)
      netsh-winsock-reset-int-ip-reset-advfirewall-reset
  4. Restart your computer.

Check Firewall Settings on Your Antivirus

If you use any third-party antivirus or firewall application, it is possible that some firewall settings on the app are blocking the connection with the router. You can temporarily disable the security software and see if the internet works now. 

If yes, you need to go through the application’s settings and look for any inconsistencies. You can also reset the settings and see if it helps. 

If you can’t find exactly what setting is causing the issue, it’s better to disable or uninstall the antivirus application altogether. Windows already comes with very nice security software, Windows Security or Windows Defender. So third-party ones are not exactly necessary.

Check Power Management Settings

Windows comes with power management settings that suspend power on your Ethernet or Wi-Fi adapter when it’s idle or your computer is in power-saving mode. Usually, the network connection should become active as soon as you try using it. But the adapter may not come out of the sleep state in some situations.

You may be able to resolve this issue by disconnecting and reconnecting the network connection or the Ethernet cable in some cases. However, if you don’t need to preserve every little bit of power possible on your computer, you can disable the power conservation settings altogether to prevent such issues.

  1. Open Run.
  2. Type devmgmt.msc and press Enter to open the Device Manager.
  3. Expand Network adapters and look for your network device. Wi-Fi devices should show WLAN or Wireless or something similar whereas Ethernet devices may show Family Controllers.
  4. Right-click on the device and select Properties.
    network-adapters-properties
  5. Go to the Power Management tab.
  6. Uncheck Allow the computer to turn off this device to save power and click OK.
    network-adapter-ethernet-allow-the-computer-to-turn-off-this-device-to-save-power
  7. Then, open Run again.
  8. Type powercfg.cpl and press Enter to open Power Options.
  9. Go to Change Plan Settings next to the current power plan and select Change Advanced Power Settings.
    change-advanced-power-settings-power-options
  10. Expand Wireless Adapter Settings and then Power Saving Mode.
  11. Set Setting or On Battery and Plugged In to Maximum Performance.
    wireless-adapter-settings-power-saving-mode-maximum-performance
  12. Click OK and then restart your computer.

Update or Reinstall Network Driver

This issue can also occur due to incompatibility between the network adapter and the current network driver. You can try updating the driver to a compatible one from within your computer in such cases.

  1. Open the Device Manager (devmgmt.msc on Run).
  2. Expand Network Adapters and look for your network device.
  3. Right-click on it and select Update driver.
  4. Go to Browse my computer for drivers and then Let me pick from a list of available drivers on my computer.
    update-driver-let-me-pick-from-a-list-of-available-drivers-on-my-computer
  5. Select another driver from the list and then click Next.
  6. If all the drivers on the list don’t work or the list only contains one driver,
    • Uncheck Show compatible hardware.
    • Select the device manufacturer from the left pane.
    • Try choosing another similar driver on the right pane and click Next. For instance, if the previous one was Broadcom 802.11g, try switching it to Broadcom 802.11n.
      update-driver-uncheck-show-compatible-hardware-next

You can also try downloading and installing the network driver from your motherboard or your laptop’s official website.

If updating the driver does not work, some other driver issues may be causing the error. You need to reinstall the driver to take care of any such errors.

  1. Open the Device Manager.
  2. Expand Network adapters and look for your network device. 
  3. Right-click on it and select Uninstall device > Uninstall.
    device-manager-uninstall-ethernet-device
  4. Then, right-click on the computer name at the top of the device list and choose Scan for hardware changes. The network device that you uninstalled should show up.
    device-manager-scan-for-hardware-changes-computer-name

Set Static IP Address

If your computer did not have the proper IP settings and resetting the network settings did not help, you need to manually set the IP and DNS address on your system.

  1. First, you need to check the current IP settings.
    • Open Run.
    • Type cmd and press Enter to open Command Prompt.
    • Type ipconfig /all and press Enter.
    • Under your current network (Ethernet or Wi-Fi), check the values of the Default Gateway and DHCP Server address. Also, note if the Default Gateway has a different value than the one that is on your router sticker or if it is not consistent with the DHCP address.
      ipv4-address-default-gateway-different-than-dhcp-server
    • If the Default Gateway you saw on the ipconfig /all command is not the same as the address you see on the routers’s sticker, or you can’t use it on a web browser to access the router portal, it is incorrect.
      In such cases, you need to get or note the correct address. If the router does not come with a sticker containing the IP, you can find this information on official sources.
  2. Then, open Run again.
  3. Type ncpa.cpl and press Enter to open Network Connections.
  4. Right-click on your network (Wi-Fi or Ethernet) and select Properties.
    network-connections-network-adapter-ethernet-properties
  5. Double-click on Internet Protocol Version 4 (TCP/IPv4).
    ethernet-properties-internet-protocol-version-4-tcp-ipv4
  6. Click Use the following IP address.
  7. Use the correct Gateway address of the router (after confirming with the sticker or official sources) on the Default Gateway fields.
  8. Enter the same first three numbers of the Default Gateway on the IP address field as well.
  9. Then, set the third number to be anything between 1 and 255. I recommend using a random number somewhere in the middle to the latter half.
    It represents the host address of the device. All the devices connected to the network have different IP addresses, with the same network address (usually the first three numbers on Class C Address) and different host addresses. So, it needs to be a number that is not already used.
  10. Click on the Subnet mask field, it should automatically fill itself.
  11. Set the Preferred and Alternate DNS server to any reliable public DNS server, like,
    • Google: 8.8.8.8 and 8.8.4.4
    • Cloudflare: 1.1.1.1 and 1.0.0.1
      internet-protocol-version-4-use-following-ip-and-dns-server-address-cloudflare
  12. Click OK > OK.
  13. If the internet still doesn’t work, the router may already have allocated the host address to some other device. So, you will need to keep changing the last number of the IP address until you get to an unused value, in which case the internet should work.

Reset the Router

If you were able to determine that the problem is not with your computer, but the router and the above methods did not help, you should perform a hard reset on the router. 

Unlike a restart, this process refreshes the router back to the factory state with the default configuration. So it will take care of most issues with the router. However, keep in mind that you will need to configure the router again from its portal to set it up.

The router should have a small reset pinhole near the ports. You need to use a pin to press and hold the button inside the hole for a few seconds to perform the reset.

router-reset-button

Contact Your ISP

If you were not able to resolve the issue using the above methods, your only option now is to contact the ISP and seek their help. They will either provide you with some directions that you can follow or send a technician to look at the issue in your location.

Very rarely, the router may need a Firmware update. However, most routers that experience this issue with outdated firmware are provided by the ISP themselves. So, it’s better to contact your ISP anyway instead of performing the firmware update yourself. It is a delicate process and you run the risk of bricking the router.

fix
Abhishek Silwal
  • LinkedIn

Abhishek Silwal is an Electronics Engineer and a technical writer at TechNewsToday. He specializes in troubleshooting a wide range of computer-related issues. His educational background in Electronics Engineering has given him a solid foundation in understanding of computers. He is also proficient in several programming languages and has worked on various robotics projects. Even in his early days, he used to tinker with various computer components, both hardware, and software, to satiate his curiosity. This experience has given him a breadth of experience that goes beyond his educational qualification. Abhishek has been writing articles on dealing with varieties of technical issues and performing specific tasks, especially on a Windows machine. He strives to create comprehensive guides on fixing many system and hardware issues and help others solve their problems. You can contact him at abhisheksilwal@technewtoday.com

Related Posts

how to turn off hardware acceleration

How to Turn Off Hardware Acceleration

September 27, 2023
what happens if you turn off your computer during an update

What Happens if You Turn Off Your Computer During an Update?

September 18, 2023
How to Disable Integrated Graphics

How to Disable Integrated Graphics?

September 16, 2023
System Restore Stuck

How To Fix Windows Stuck on System Restore

September 16, 2023
startup-repair-couldn't-repair-your-pc

How To Fix “Startup Repair Couldn’t Repair Your PC”

September 13, 2023
how to free up ram

How to Free Up Memory

August 4, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
how to turn off hardware acceleration

How to Turn Off Hardware Acceleration

September 27, 2023
motherboard chipset

Understanding Motherboard Chipset and Its Importance

September 20, 2023
Naval-Warfare-Games

Best Naval Warfare Games

September 18, 2023
You may also like
printer-not-printing

How to Fix a Printer That’s Not Printing

September 26, 2023
Share Location With Friends and Family

Share Location With Friends and Family (iPhone and Android)

September 18, 2023
how-to-print-without-a-printer

How to Print Without a Printer

September 18, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday, editor@technewstoday.com | Tech Central Pvt. Ltd.

Type above and press Enter to search. Press Esc to cancel.