Donation Goal
Donate Now Goal amount for this year: 799 USD, Received: 100 USD (13%)
Please donate to help support this website. The funds will be used to purchase owned license of LiteSpeed Web Server Enterprise (2-CPU). It provides superior performance in terms of raw speed, scalability and anti-DDoS capabilities.

Choosing Which Connection to Use with Windows Routing Table Editor GUI

Posted By Raymond In Category: Computer

Mar
18
2010

About 10 years ago when most people are still using dial-up and broadband is only available in Klang valley, I was one of the lucky user that is staying in an area which is within the broadband coverage area. I remembered I was paying a lot monthly for using dial-up connection and was really happy when the broadband package is cheaper than what I paid, faster connection and I can use it 24 hours a day without limit. I had a question in mind which is if I have both dial up and broadband connected, would Windows use the bandwidth simultaneously or only use one of it? If Windows only uses one of it, which connection would it use and why?

Choose Connection to Use

I found out that it has something to do with the Windows Routing Table. It is possible to switch between the connections by changing the route and setting the lowest metric value for the default route. To do that, Windows comes with a command line route.exe utility which I would say it may not be easy to use for people who do not understand IP routing table.


Thanks to Nir Sofer, he has recently released a Network Route Utility for Windows called NetRouteView which is a GUI alternative to the standard route utility (Route.exe) of Windows operating system. It displays the list of all routes on your current network, including the destination, mask, gateway, interface IP address, metric value, type, protocol, age (in seconds), interface name, and the MAC address. NetRouteView also allows you to easily add new routes, as well as to remove or modify existing static routes.

Here is an example of the connections on my test computer. I have a wireless broadband (Celcom), WLAN connection (Wi-Fi) and a wired LAN, all 3 connected at the same time. How do we know which connection is being used when all 3 are connected?

Using NetRouteView, we would only need to look for the default route that has the lowest metric, which means that is the connection with the priority of being used. The routes with destination and mask 0.0.0.0 are the default routes so by clicking on the Destination column, it would sort and automatically place all 0.0.0.0 at the top for easy viewing. Next see which metric is the lowest. The interface IP would identify which connection is it.
Windows IP Routing Table GUI

Go to run by pressing WIN+R and type cmd to open the command prompt. Type ipconfig and it shows all the connection with the IP address. As you can see, the default route with metric 1 is my Celcom 3G wireless broadband, followed by metric 11 with the IP address 192.168.2.2 which is my wired LAN connection and finally metric 20 which is my wireless LAN (wi-fi). If I disconnect my wireless broadband, the next connection that will be automatically used is the wired LAN.
IPConfig Route

If you want all 3 connections to be connected and wants to use wireless lan, you can either double click on the route and change the metric to a lower number. Metric 1 is the lowest, so if there is already a connection with metric 1, the easiest way is to switch the metric values by pressing and holding the CTRL key while clicking the on the connections. Then you can either press F9 or right click and select “Switch Metric Values”.

If somehow you screwed up the routing tables, a reboot would automatically fix it because the changes that you made with NetRouteView is only temporary and not persistent. By the way, Cain & Able, a password recovery tool for Microsoft Operating Systems also has a GUI for editing the Routing Table called Route Table MAnager. It can be access from Tools menubar and select Route Table or you can use the hotkey Alt+R.
Cain & Able Route Table Manager

[ Download NetRouteView | Cain & Able ]


Related posts:
  • Detect Packet Errors in Your Network LAN Connection Status
  • Temporary fix for unstable Windows Live Messenger connection
  • How To Share Internet Connection in XP Without Wireless Router
  • Easily Turn Windows 7 Computer Into WiFi Hotspot to Share Wireless Internet Connection
  • Repair XP and Vista Internet Connection Problems with ICR
    • VIJAy

      thanks a lot for info… :)

    • http://jadwaltvku.blogspot.com akbarri

      great tutor ray! thx

    • http://www.raymond.cc/blog/archives/2010/03/18/choosing-which-connection-to-use-with-windows-routing-table-editor-gui/ Rahman

      Thanks alot from your site and for your information

      In peace abdulrahman

    • person

      How is this different/similar to Advanced Settings in network properties (Go Network connections, click the advanced menu, click advanced settings) where you can change the order that network adapters are used?

    • Sunil J

      Great info

    • http://www.raymond.cc/ Raymond

      @person: I honestly never discovered that part before so I did a test. The computer is connected to wired LAN, wireless LAN and a wireless broadband.

      Then i go to the Advanced Settings like the one you mentioned and it displays Wireless Network Connection as first, followed by Local Area Connection and finally Remote Access connections.

      I don’t know, but to me that Advanced Settings doesn’t seemed to be correct.

    • wantp

      no matter what, the method still same..

      thx raymond for the great info..

    • Tim

      thx for this info.
      I believe it will be very interesting to know whether we can combine two internet connection
      thx

    • Marshall

      Thx for this article Raymond !

      I have a question – is it possible to use more than 1 connection at the same time, for example a wire and a wireless lan, for downloading files from the internet ?
      Is it possible on Windows or any other os ?

    • pyrex666

      did you just connect all in one router? what should we use, an ordinary router or a load balancing router?

    • aBg_rOnGak

      Wah…very nice…no need to use route anymore…too cumbersome to write and check for missing params..

    • ben

      my kingdom for a way to assign specific *applications* to a specific nic. My browsing turns to a crawl whenever I’m using utorrent.

      For example, I’d like my chrome browser to always use the nic connected to a fast (wired) dsl connection. And for bandwidth hogging p2p, I’d like to assign utorrent to a wireless nic (i have a wireless network that connects to the internet via cable modem).

      Is this possible?

    • Dharmender Singh

      Thanks a lot for such a nice information. if possible, review the kerio winroute firewall as the routing table is also present there and we understand well

      Thanks again

    • http://ChoosingWhichConnectiontoUsewithWindowsRoutingTableEditorGUI haidar ali

      i need norton 2009 product key
      plz send my email id
      my email id is (haidarali7@gmail.com)

    • Arda Hakan

      Are there a way to access 10.x.x.x domain adress though a nic and for other domain adresses second nic?

    • person

      If you want to bind specific programs to a specific network card you need a program called Force Bind IP http://www.r1ch.net/stuff/forcebindip/ it can be a bit buggy though

    • http://www.troublefixers.com Rohit

      excellent utility ! very useful for multiple connections, like I have one iPhone tethering connection and one broadband, I usually keep only one plugged in because of not being sure which one will be used. I will not use both.
      Thanks fir the tip :)

    • BC

      Can I use both dial-up and broadband simultaneously for enhanced speed? Any idea, how to do this?

    • http://ucpro.my megablue

      Been searching for a windows routing table visualization tool. Very useful. Thank you.

    • Grr

      Many thanks for this & other article on “Bind Wondows…”

      True Genius in you…!!!!!!

    • rodgers kaka

      hi raymond, thanx alot 4 the good work you are doing
      i have wireless broadband but its bandwidth is capped up to 1GB per month, is there anyway i can manouver so that i download data in excess of 1GB per month with this modem.
      raymond pliz help.
      thanx alot

    Copyright © 2005-2012 - Raymond.CC Blog