Windows 7: Route single IP over different interface (wlan)
Well I am doing exactly the same and Windows 8 insists in using the "LAN" gateway... instead of the "WLAN" gateway.
So, not sure is Windows is "capricious" :) or not; but I guess this command should be straight forward to use.
Tried several combinations, like not using the specific IF for WLAN or setting a lower METRIC or using a MASK for ...108.142.0. Always the same result; it apparently gets ignored.
route ADD 93.108.142.151 10.30.94.1 IF 13
(where 10.30.94.1 if the WLAN gateway)
After the command is given a route print and a tracert
returns
Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 10.30.60.1 10.30.61.140 20 0.0.0.0 0.0.0.0 10.30.94.1 10.30.94.25 25 93.108.142.151 255.255.255.255 10.30.94.1 10.30.94.25 21
C:\Windows\system32>tracert 93.108.142.154 1 2 ms 1 ms 1 ms 10.30.60.1 2 1 ms 1 ms 1 ms 192.168.191.55 3 10 ms 8 ms 8 ms 192.168.79.97