locked
Does routing rule still work after the network interface is disconnected on Windows 7? RRS feed

  • Question

  • I've met a question. I found my laptop doesn't broadcast packet through my wireless interface. Using Wireshark to capture packet, there's no packet sent from wireless interface. And I found that if I disable my LAN interface, everything will be fine. I connected the LAN connection and WLAN connection to the router at the same time. Found that there are two rules with the same broadcast domain, but different interface, also different metric.

    Such as: 192.168.1.255 255.255.255.255 on-link 192.168.1.2 276

    192.168.1.255 255.255.255.255 on-link 192.168.1.4 281

    Just wondering whether the routing rules of LAN still work after the LAN interface is disconnected? If it's true, how can I find the routing rules?

    Friday, March 7, 2014 2:02 PM

Answers

  • Hi,

    Did you mean that the wireless connection doesn’t send any packets unless you disable the wired connection? As I know, once you connect  LAN and WLAN connection to the same network at the same time (e.g, 192.168.1.x), one is chosen, and the other will be ignored.

    When you have more than one default gateway defined (indicated by a network destination of 0.0.0.0), then the internet bound packets go out the interface with the lowest metric.

    Please refer to this link

    Windows Prefers Wired Connections

    http://blogs.technet.com/b/clint_huffman/archive/2009/04/19/windows-prefers-wired-connections.aspx


    Yolanda Zhu
    TechNet Community Support

    • Proposed as answer by ZigZag3143x Tuesday, March 11, 2014 3:09 AM
    • Marked as answer by AlphaBear Tuesday, March 11, 2014 8:09 AM
    Tuesday, March 11, 2014 2:36 AM

All replies

  • Hi,

    Did you mean that the wireless connection doesn’t send any packets unless you disable the wired connection? As I know, once you connect  LAN and WLAN connection to the same network at the same time (e.g, 192.168.1.x), one is chosen, and the other will be ignored.

    When you have more than one default gateway defined (indicated by a network destination of 0.0.0.0), then the internet bound packets go out the interface with the lowest metric.

    Please refer to this link

    Windows Prefers Wired Connections

    http://blogs.technet.com/b/clint_huffman/archive/2009/04/19/windows-prefers-wired-connections.aspx


    Yolanda Zhu
    TechNet Community Support

    • Proposed as answer by ZigZag3143x Tuesday, March 11, 2014 3:09 AM
    • Marked as answer by AlphaBear Tuesday, March 11, 2014 8:09 AM
    Tuesday, March 11, 2014 2:36 AM
  • Hi,

    Thanks for your reply. I found a command to show the route for all interfaces. "netsh interface ipv4 show route", this command shows the route, including disconnected interfaces. If there's only one outgoing interface, then everything goes well. Following your answer, I think I have more understanding for the routing table of Windows 7. 

    Appreciate for your reply.


    Tuesday, March 11, 2014 8:08 AM