I use a laptop, which has two physical network interfaces: wireless (IF 11 as printed by route) & Ethernet (IF 12). I have two routers R1 & R2, but only the first one does have an internet connection. My goal is to route all traffic via R1, but route all requests on a subnet, controlled by R2 (e.g. 192.168.2.x
) through R2.
Windows prefers cable connection over WiFi by default, so I changed the metric for the wireless adapter to be lower then the metric of IF 12.
Is there a way do block the OS from creating the default 0.0.0.0
route for the ethernet adapter?