Priotizing LAN doesn't work

Basalat

Commendable
Dec 30, 2016
15
0
1,510
So I've tried prioritizing my LAN over my Wireless... It just doesn't work. I've also tried messing around with the Interface metric. it doesn't work either.. help!
 


It's not routing... I want to use my LAN while I have both Wireless and LAN connected. My PC won't prioritize LAN.
 
The default for most machines is to use the ethernet if both ethernet and wireless are connected. You are correct the metric should be what determines which is preferred.

Use the route print command and see if the changes you make actually are effective. Sometime you must stop and restart the interface for it to take affect. Your other option is to use the ROUTE DELETE command and remove the 0.0.0.0 route for the wireless interface. Unfortunately dhcp sometime puts it back so set your dhcp timeout really high on your router
 


I'm assuming you mean the netstat -rn command (sorry I'm a noob). Changes don't take place there tho.
 


Is there a command which I can use to directly make changes in the command prompt?
 


ok... so if i remove my wireless route will it disable it completely? Like what if i want to connect back to it?
 

If you are playing with the metric, you are messing with routing.

What exactly are you trying to do? some sort of Dynamic Prioritization, or you simply want to go out ethernet when both NICs (ethernet + WIFI) are enabled?
 


I'll be streaming and when I do I'll be using my Wireless for streaming and my LAN for gaming (Because Wifi is super-fast but limited). I can configure OBS to use my Wifi to stream but I cannot make the game use LAN because there is no in-game option and Wifi has priority over LAN for some reaseon. I've tried using the interface metric, it doesn't work for me for some reason.
 
I have not played with the metrics in the routing table, but I have a feeling Microsoft never implemented it the proper way.

what you can do is, such as, if you know your gaming server is at x.y.w.z. Modify routing table to tell it:

"if you are talking to x.y.w.z go through door a.b.c.d" where a.b.c.d=the interface your ethernet NIC is hooked up to.

So if ISP GATEWAY(IP1) ----> SWITCH -----> (IP2)YOUR PC ETHERNET.

Translates to: DESTINATION X.Y.W.Z GATEWAY IP1.

Now this assumes ethernet and WIFI are on different subnets (IMPORTANT). I personally haven't mess with it when both are on the same subnet.

Do a ROUTE PRINT to see how this table looks like.
 


Yeah both internet are from different ISPs. So I have to use this command? DESTINATION X.Y.W.Z GATEWAY IP1
 

Once you have done the modification, that's what the new entry on the table should look like. The commands and steps to get there, I will leave it to you to figure out.