I am having a laptop with ethernet and wireless connectivity. I want to connect to different networks one with wire and the other with wireless while the two networks are having two different gateways. Please suggest the reply other than disabling one network
You can only have one default gateway on your Windows machine. The first connection w/ a default gateway under Network Connections->Advanced->Advanced Settings->Connections (which you can reorder if necessary) is used (assuming it’s enabled).
Your PC will still use each network connection as appropriate assuming each is using a different network (e.g., 192.168.1.x and 192.168.2.x). That’s not a problem. But you can’t FORCE it to use multiple default gateways because that’s an inherent contradiction. It’s not a default if Windows still has to make a choice!
NOTE: If by chance the network connections are on the SAME network (e.g., 192.168.1.x), Windows will only use the first connection under Network Connections->Advanced->Advanced Settings->Connections and completely ignore the other!