I have 2 nics, one wired and one wireless. The LAN I am on is heavily subnetted so I need to have a default gateway set on it. The wireless nic connects to an internet only hotspot. What I need to do is set up my routing table so that wan traffic only uses the wireless hotspot and lan traffic (AD authentication, RDP, etc.) all gets routed over the nic connected to the LAN. This has turned out to be much harder than I thought.
Here is what I have tried so far. when I looked at the route tables for 0.0.0.0 it shows two default routes, one for each nic. The LAN nic is set at a cost of 20, and the wireless is set at a cost of 25. I added a static route for all traffic going to 172.0.0.0 to use the lan nic with a metric of 10. Then I lowered the metric on the wireless default route to 15. I was hoping this would take care of the problem but it didn’t. Interet traffic was definately going over the wireless card, but lan traffic wasn’t going anywhere (I think it was attempting to use wireless), and my system bacame unstable to the point where I couldn’t even execute a route print command without freezing the workstation. I’ve also tried just lowering the metric of the wireless adapter to 15 with no other changes and the exact same thing happens. Does anyone know what I’m doing wrong? This is driving me crazy!