Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have an older program that I use a lot and in order to work properly it has to connect to a time sever (199.211.133.139), 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 199.211.133.239 to another time server such as 174.36.71.205? Windows 7 OS.

Thanks

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

2 Answers 2

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 199.211.133.239 174.36.71.205 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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.