<< Back Home UK uk   Donate Donate

UaixRoute -- automatically updates Windows routing tables


Many ukrainian internet providers sell packages with unlimited uaix traffic, but paid per-megabyte or limited world traffic. If you can obtain cheaper world traffic, why pay more? However, it is pointless to route ukrainian traffic through such a special channel, and if there is much ukrainian traffic, the channel will be needlessly overloaded. Ideally ukrainian traffic should go through your regular internet provider's gateway, and the world traffic should go through your special channel. Such channels are often set up as virtual private networks (VPN).

The list of subnets in the ua-ix is available, i.e., at, and this list is sometimes updated.

For unix boxes scripts have been developed to update the routing tables with the information from ua-ix list. UaixRoute does the same job on Windows boxes. UaixRoute is not a script, it consumes little resources and does not need external packages. It updates the routing tables every 5 minutes. UaixRoute starts from the command line and runs in the background. UaixRoute needs administrative privileges to change the routing tables. If your special channel is a VPN, UaixRoute can automatically "redial" this VPN connection as needed. You must specify the connection's parameters, including the password, in the connection's properties. Don't forget to check the "remember password" checkbox.

Works under Windows 2003, XP, 2000, NT4-sp4. Expected to work with Vista.


Command line parameters:

UaixRoute [@<list url>] <ip-address of ua-ix gateway> <ip-address of world gateway> [<vpn-connection name>]

Starts UaixRoute as a background process. If you don't need to dial the VPN, don't specify it. By default UaixRoute uses the list of uaix subnets at the url above.

<list url> - address of HTTP resource with list of UA-IX networks. This list must be provided by your ISP. If your ISP doesn't provide such list, you may get it directly from UA-IX core router:

<ip-address of ua-ix gateway> - IP-address of the gateway inside VPN-tunnel. This is not the same IP-address, which you to specify VPN-server. You can get to know proper address either from you VPN-proviter tech-support, or by issueing the following command:


you will get something like this:


Tracing route to []
over a maximum of 30 hops:

  1    10 ms    10 ms    10 ms []
  2    10 ms    10 ms    10 ms []
  3    10 ms    10 ms    10 ms []
  4    40 ms    40 ms    40 ms
  5    50 ms    40 ms    40 ms

you need IP-address of the 1st router (marked with bold text). In given case it would be

<ip-address of world gateway> - IP-address of your ISP gateway or your local router. This is the same IP-address, which you enter in network card configuration. You can verify it by issueing the following command (don't forget to replace my.vpn.provider with address of your VPN-provider):

tracert my.vpn.provider

you need IP-address of the 1st router, like in previous check. But it would be different address.


UaixRoute OfficeVPN
UaixRoute @ OfficeVPN
UaixRoute @ NetassistVPN

If UaixRoute is already running, this command tells it to shut down. The shutdown will occur at the next update or redial, ar in 5 seconds timeout.

UaixRoute --exit

UaixRoute creates a log, uaixroute.log. By default, UaixRoute logs only errors and route table update messages. If you want to log maximum debug information, run UaixRoute with the --verbose flag. If you only want to log changes in the routing tables, use the --changes flag.


UaixRoute is freeware. Use at your own risk.
© atykhyy, 2007.


uaixroute_v1.rar/tgz (25.2 Kb/26.7 Kb)
  • Fixed some bugs in VPN-interface detection in some specific cases. E.g. when gateway IP does not belong to network, coresponding to client's IP and network mask.
  • Now --exit terminates session in 5 seconds and does not wait for end of VPN session.
  • Error messages are made more human-readable.

    uaixroute.rar/tgz (7.5 Kb/7.8 Kb)

    Please, send your comments and propositions here: FB or mail   Share

  • designed by Alter aka Alexander A. Telyatnikov powered by Apache+PHP under FBSD © 2002-2024