How to open multiple gateways for a Windows home network.  Connecting and setting up a VoIP gateway (SIP gateway) What does the main gateway mean in a local network

How to open multiple gateways for a Windows home network. Connecting and setting up a VoIP gateway (SIP gateway) What does the main gateway mean in a local network

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.

Sticker on the router

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.


Control Panel

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:

  1. Call this element through the “Control Panel” or the connection icon in the tray (right-click on it). In Windows 10, you need to go to “Settings”, then to “Network and Internet”. At the bottom you need to click “Network and Sharing Center”.
  2. Select your current internet connection.


  1. In the information window that opens, click on the button called “Information”.

  1. The "IPv4 Default Gateway" line contains the required information.

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.

Command line

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).

  1. Launch a command prompt with administrator privileges - run the “cmd” command through the search bar. In the "ten" click on "Start" with the left mouse button and select "Windows PowerShell (administrator).

  1. Execute “tracert ya.ru”, where the site address may be different, in this case ping and resource loading speed are not important.


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).

Network adapter power settings

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:

  1. RMB Start → Device Manager.
  2. Network adapters → RMB by adapter → Properties.
  3. Power management → Remove the “Allow the computer to turn off this device to save power” checkbox.
  4. Next, Control Panel → Power Options.
  5. Configure the power plan → Change advanced power settings.
  6. On the left, in the list: Wireless network adapter settings → Power saving mode → Maximum performance. Make sure this option is checked.
  7. Reboot the OS and see if the error appears again.

If the Internet is not available, proceed to the next step.

Configuring the gateway manually

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

Enabling FIPS Compliance may help resolve the error:

Program monitoring

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.

What is a gateway

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.

How to determine the default gateway

Hint on the router

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.

Network Sharing Center

  • In the system tray, you need to right-click on the Internet icon and select “Network Center”.
  • Find the "Connections" window. It displays your active connection. Click on it.
  • In the window that opens, click “Details”. “Default gateway IPv4” is your server. Please note that when connecting through a router, exactly its identifier will be displayed.

Command line

A surefire way to find out the IP address of a network server. To launch the command line, do one of the following:

  • Win+R - cmd.
  • Win+X - Command line (administrator).
  • Search in Windows - cmd.
  • Start - All Programs - System Tools - Command Prompt.
  • Start - search box - cmd.

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.

Conclusion

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.

Setting up the default gateway

Enabling RIP Listening

Adding Routes Manually for IPv4

Adding Routes Manually for IPv6

  1. Open a command prompt window. To do this, click the Start button. In the search field, enter Command line, and then from the list of results, select Command line.
  2. 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.

    • no: do not declare in route declarations
      (default)

      age: declare in route declarations
      with decreasing duration

      yes: advertise in route advertisements
      with unchangeable duration

    If the publish parameter value is
    age, the route declaration will contain a valid expiration time,
    remaining before deletion.

    If publish is set to yes, the route is never deleted
    regardless of the value of the validlifetime parameter, and each
    the route advertisement will contain the (same) specified valid duration. If the publish parameter is no or age, the route is deleted
    after the expiration of the allowed validity period.

    The valid duration of the route, expressed in days, hours, minutes and seconds (for example, 1d2h3m4s).
    The default value is infinite.

    preferredlifetime

    The duration of the route during which it is preferred.
    Defaults to valid validity time.

    May have the following meanings:

      active: changes are valid only until the next boot

      persistent: changes made are permanent (default)