Windows 8 ignores more specific route

Posted by Lander on Super User See other posts from Super User or by Lander
Published on 2012-11-25T20:05:48Z Indexed on 2013/07/03 11:08 UTC
Read the original article Hit count: 334

Filed under:
|

OS: Windows 8

I have a cabled NIC (connected to router with ip 192.168.1.0) and a WIFI NIC (connected to a router with ip 192.168.1.1) . I want all traffic to go through the cabled NIC, except the 192.168.1.0/8 range should use the wifi-nic.

This was working fine in Windows 7, without any manual configuration. In Windows 8 however, it's not.

My routing table:

  ===========================================================================
Interface List
 14...f2 7b cb 13 e7 f0 ......Microsoft Wi-Fi Direct Virtual Adapter
 13...b8 ac 6f 54 d2 5c ......Realtek PCIe FE Family Controller
 12...f0 7b cb 13 e7 f0 ......Dell Wireless 1397 WLAN Mini-Card
  1...........................Software Loopback Interface 1
 15...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
 16...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      192.168.1.1    192.168.1.198     30
          0.0.0.0          0.0.0.0      192.168.0.1    192.168.0.233     20
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
      192.168.0.0    255.255.255.0         On-link     192.168.0.233    276
    192.168.0.233  255.255.255.255         On-link     192.168.0.233    276
    192.168.0.255  255.255.255.255         On-link     192.168.0.233    276
      192.168.1.0    255.255.255.0      192.168.1.1    192.168.1.198     31
    192.168.1.198  255.255.255.255         On-link     192.168.1.198    286
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
        224.0.0.0        240.0.0.0         On-link     192.168.0.233    276
        224.0.0.0        240.0.0.0         On-link     192.168.1.198    286
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
  255.255.255.255  255.255.255.255         On-link     192.168.0.233    276
  255.255.255.255  255.255.255.255         On-link     192.168.1.198    286
===========================================================================
Persistent Routes:
  None

I added the rule for 192.168.1.0. I would think Windows should use this rule for the IP 192.168.1.1 because it's more specific than the default-route.

However it's not:

C:\Windows\system32>tracert 192.168.1.1

Tracing route to 192.168.1.1 over a maximum of 30 hops

  1    58 ms     4 ms     4 ms  192.168.0.1
  2    68 ms    12 ms    11 ms  ^C

So... What do I do wrong? And how can I make Windows use the wireless NIC for 192.168.1.0/8

© Super User or respective owner

Related posts about windows-8

Related posts about routing