The default or default gateway is hardware or software for interconnecting computer networks running on different protocols. For the average user, such networks are local or home and global - the Internet.
The hardware network gateway is a router, its task is to convert protocols between networks. The device receives data packets from a network operating using one protocol and translates them into packets corresponding to another. Let's look at how to find out the router's default gateway using all the methods available in the Windows environment.
A sticker on the router body will help you identify the default gateway (as a rule, it is applied to its lower part). It indicates the IP address of the router, which is the main gateway when connecting to a network cable. It is also the address for entering the device configuration web interface.
Video instructions are available here:
The necessary information is contained in the “Network Control Center...”. You can find out the default gateway of your router like this:
In Windows XP, you need to open the “Control Panel”, go to “Network Connections”, select “Local Area Connection” and click on the “Status” button.
Information is located in the “Support” tab.
You can find out the IP address of the gateway via the command line using several system applications that work in text mode (without graphical design).
The second utility that will help solve the problem is ipconfig. At the command prompt, run "ipconfig /all". The “Main Gateway” line contains the required numbers.
The problem can be solved in many ways in just one minute maximum. All methods are simple and understandable to any user.
When working with a laptop/computer that is connected via Wi-Fi, it happens that the Internet stops working (disappears periodically), although other portable devices receive Wi-Fi and there is no network failure. Windows diagnostics displays the message: “The default gateway is not available.” Windows 10, 8 and 7 have identical solutions to the problem. Let's consider options for eliminating the error.
Important! All of the above methods are relevant if the problem occurs with one device. If the Internet is not available for connection on several devices, there is a problem with the network equipment (router, provider).
Disabling the power saving feature for your network adapter will eliminate intermittent disconnections with the Internet. Accordingly, the error “the default gateway is not available” will disappear:
If the Internet is not available, proceed to the next step.
If the default gateway is not available, you can fix this manually through the settings:
Advice! To quickly open a list of network connections: press the key combination Win+R (Run) and enter the command ncpa.cpl.
The problem can be solved by registering the gateway manually:
The problem with errors of this kind may be hidden in the installation of a driver for the network adapter not from the manufacturer (Windows can install it on its own via).
Go to Device Manager:
Important! If the “Roll Back” button is active in the “Driver” tab, before uninstalling, try rolling back the driver to a previous version and check the Internet.
Enabling FIPS Compliance may help resolve the error:
The gateway may not be accessible due to programs or utilities that constantly use Internet traffic (Torrent, Steam, Origin, and other download programs). Turn off the “rocking” and see the result. If the interruptions stop, adjust the speed of receiving or uploading traffic (for example, set a limit on the speed of downloading files).
Also disable utilities that work with antiviruses (for example, updating databases). If you changed your antivirus or Windows firewall settings and then started having problems with the gateway, return the settings to their defaults.
Every computer user cannot imagine his life without home Internet. After all, all the necessary information is drawn from this worldwide source. Using the Internet, you can download programs, movies, listen to music, and even broadcast TV channels.
Very rarely do users think about the meaning of this parameter
Most subscribers set up the Internet once and don’t even think about it again. For some, everything is set up by experts, and while everything is working, no one thinks about such moments. Over time, something is forgotten, and when a situation arises that requires you to enter some settings, you experience difficulties in determining the connection parameters. For example, you installed Windows, but the router crashed or its settings were reset.
There are situations when you need to find out your default gateway. Let's look at what it is used for and how to define it.
This is a network device that converts signals from different networks operating in different ranges. The signal from the computer arrives to it via a local network, where one signal standard is used, where it is converted and redirected to the Internet, which operates in a different format. This function is performed by both the computer and the home router. When connecting directly without a router, the provider’s server plays its role.
The address is similar to an IP address - for example, 1.1.1.1. If you use a router, then the identifier matches its IP. For a direct connection, it is provided by the operator.
When using a router, the default gateway of your home network can be found directly on the device. The IP address for settings is indicated on the back or bottom surface, as well as inside the instructions. As we already mentioned, the IP address is the same as the gateway. Most often, this is 192.168.1.1 or 192.168.0.1.
But this method will not help if the sticker is missing, the instructions are lost, or you need to determine the provider’s server. In this case, we will use other options.
A surefire way to find out the IP address of a network server. To launch the command line, do one of the following:
Type or copy the information from here and then paste the ipconfig command. After a second, information about connections will be displayed. Find “Primary Gateway” - this is the data you are looking for. When connecting directly, this will be the operator’s server; when using a router, it will be a local address.
When you use a router, but need to find out the vendor settings, enter the tracert ya.ru command. The first result is the local address, and the second is the one provided by the ISP.
Now you know how to find out the default gateway of your connection. All actions will take no more than 5 minutes. If still nothing works out, call the provider’s support service, they will dictate the treasured numbers to you.
We invite you to share your comments on whether you were able to apply this information in practice. We will be glad to hear sensible suggestions.
Applicable to Windows 7
If you have multiple network adapters installed on your computer and each one is configured with a default gateway (a gateway that creates a default route in the IP routing table for all off-subnet destinations), data on the network may be routed to the wrong destinations if computer connected to disjoint networks, i.e., separate networks between which data exchange is directly impossible.
Even if multiple default gateways are configured, only one is used for all off-subnet destinations. An example would be a computer connected to both an intranet with multiple subnets and the Internet. If the default gateway is configured for both adapters, you can communicate with either computers on the Internet or on the intranet, but not at the same time.
To resolve this issue, follow these steps:
Configure the default gateway for the network adapter that is connected to the network with the most routes (usually the adapter that is connected to the Internet).
Do not configure a default gateway for other network adapters. Instead, use static routes or dynamic routing protocols to add the routes of other disjoint networks to the local IP routing table. If your route infrastructure uses RIP for IPv4, you can enable RIP listening in Windows, which allows the computer to learn other routes on the network by “listening” for RIP broadcasts and adding IPv4 routes to the routing table. If your routing infrastructure does not use RIP, RIP listening is not possible.
An alternative method is to use the route add -p command to manually add routes to the IPv4 routing table. For IPv6 the command should be used.
At the command prompt, enter netsh interface ipv6 add route
[
[<целое число>
] [<значение>
]
[<целое число>|infinite]
[<целое число>
]
[<значение>
].
The table below describes the command parameters netsh interface ipv6 add route.
Parameter |
Description |
---|---|
The address or subnet prefix for which the route is being added. |
|
Interface name or index. |
|
Gateway address if the prefix is not connected. |
|
siteprefixlength |
Prefix length for the site, if connected. |
Route metric. |
|
If the publish parameter value is If publish is set to yes, the route is never deleted |
|
The valid duration of the route, expressed in days, hours, minutes and seconds (for example, 1d2h3m4s). |
|
preferredlifetime |
The duration of the route during which it is preferred. |
May have the following meanings: active: changes are valid only until the next boot persistent: changes made are permanent (default) |