Metric change interface windows 7 not absolute??
Hi, Im am trying to set/change metric in windows 7 (64-bits) of an interface to an absolute value with the route command. Window is not taking the absolute values over i set! I want to change the metrics because i am using a LAN and WLAN adapter with both internet acces. With simple scripting i want to tell, to which adapter the internettraffic must be routed. the following scripts is what i used to switch between the 2 adapters (run with admin-privaliges): Route_LAN.BAT: route delete 0.0.0.0 // delete current entries for both adapters route add 0.0.0.0 mask 0.0.0.0 192.168.11.254 metric 200 if 12 //12 is lan adapter route add 0.0.0.0 mask 0.0.0.0 10.1.0.250 metric 1 if 11 //11 is wlan adapter Route_WLAN.BAT route delete 0.0.0.0 route add 0.0.0.0 mask 0.0.0.0 10.1.0.250 metric 200 if 11 route add 0.0.0.0 mask 0.0.0.0 192.168.11.254 metric 1 if 12 The scripts are working and they do where they are created for. BUT when i look ,after i executed the scripts at the metric with >ROUTE PRINT they are not the values i set it to. After examining, it seems that metric settings with the ROUTE command are added to the original metric setting (set it to a manual value), that are set in the in advanced properties of the interface settings. This is different from windows XP, Why????
December 17th, 2010 4:05am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics