Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an older program that I use a lot and in order to work properly it has to connect to a time sever (, for some reason, I am no longer to ping this time server and the program doesn't run. Can I add to the Route table to redirect to another time server such as Windows 7 OS.


share|improve this question
No idea how to do this in Windows. In Linux, you could use an iptables DNAT rule to change the destination address. – Steven Monday Jun 16 '12 at 19:50

This cannot be done with routing tables. These tables are mainly used to determine what node the packet should be sent to next. If these tables are set up correctly, the packet will eventually end up at a machine specified by the destination address field, which remains unchanged, even though the information may have passed a dozen routers on its way.

The destination address can be rewritten. In Linux operating systems, this is usually done using iptables, but to my knowledge, Windows has no such feature. You could bypass DNS using the hosts file, but this does not work if an IP address is specified instead of a hostname. However, your router might be capable of redirecting traffic based on destination IP.

share|improve this answer

If you're looking to add a route to the Windows 7 routing table, use the "route" command. Make sure to use the "-p" switch for the changes to stay after a reboot.

As to whether or not this will solve your problem, I'm not sure.

share|improve this answer
Thanks. I've been trying the route command, but I've never used it, so having some issue getting the format correct. Can you assist in this? I've tried route add and get OK as a response, but when I do Route Print it seems I set the gateway by doing that. – Jason Jun 16 '12 at 20:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .