Select the connection to use through the routing table

Three connections: wireless broadband (3G), Wi-Fi connection and a wired LAN, all connected at the same time. How to know which connection is currently being used

Network management - About 10 years ago, when most people still use dial-up connections and broadband connections (ADSL) are only available in some advanced countries. However, at a dizzying pace, so far in our country, users have up to three network connectivity options , these are: these two options and the 3G broadband (wireless broadband) option. . The question is whether it is possible to have both dial up, broadband (ADSL) and wireless broadband connections at the same time, will Windows use all three bandwidths simultaneously or just use one? If Windows only uses one, which connection will be used and why?

Picture 1 of Select the connection to use through the routing table

We have discovered that we can do that with the Windows Routing Table. You can switch between connections by changing the route and setting the lowest metric value for the default route. To do this, Windows has a command line utility called route.exe, which is a utility that is not easy to use for most people, especially those who don't understand IP routing tables.

Recently released a network routing utility for Windows called NetRouteView, this is really a good GUI option for the standard routing utility (Route.exe) of the Windows operating system. It displays a list of all routes on your current network, including the Destination, mask, gateway, IP interface address, value metric, type, protocol, time (in seconds), interface name and address. MAC only. NetRouteView also allows you to easily add new routes, as well as remove or change existing static routes.

Using NetRouteView, we only need to search for the default route with the lowest metric, the lowest metric here means that the preferred connection is being used. The routes with the destination and mask 0.0.0.0 are the default routes so by clicking on the Destination column, the program will sort and automatically place the entire range of 0.0.0.0 at the top of the column. Next see which metric is the lowest. The IP interface (IP interface) will distinguish which connection it is.

Picture 2 of Select the connection to use through the routing table

Run by pressing WIN + R and typing cmd to open the command prompt. Type ipconfig , and you'll see all the IP addresses connected. As you can see, the default route with a metric of 1 is the 3G connection, followed by the 11 metric with the IP address of 192.168.2.2, which is the wired LAN connection and finally the 20 metric, wireless LAN connection. (WIFI). If I cancel the 3G broadband connection, the next connection will automatically be used as a wired LAN.

Picture 3 of Select the connection to use through the routing table

If you want all three to be connected and want to use wireless LAN, you can double click on the route and change the metric so that it has a lower value. Metric 1 is the lowest, so if there is a connection with Metric equal to 1, the simplest way to convert metric values ​​is to press and hold the CTRL key while clicking on the connections. Then press F9 or right click and select ' Switch Metric Values '.

If for some reason you have adjusted the routing table, perform a reboot to 'fix' this problem because the changes you make to NetRouteView are temporary and not permanent. Cain & Able, a password recovery tool for Microsoft operating systems, also has a GUI for editing routing tables called Route Table Manager. You can launch the program from the Tools menu and select Route Table or you can use the shortcut Alt + R.

Picture 4 of Select the connection to use through the routing table

Download NetRouteView and Cain & Able

Update 26 May 2019
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile