Ignoring the most specific route?

Marian Hercek 236 Reputation points

Server has two interfaces ( with netmask and with netmask
If I ping a client from the server, packets go through default route (


Route to host is the most specific and therefor it should be top priority.
Also route's metric is lower than default's route.


Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
8,275 questions
No comments
{count} votes

Accepted answer
  1. Marian Hercek 236 Reputation points

    Well, it's quite interesting how Windows works...

    The problem was at host level (running ESXi) where a Port Group was missing correct VLAN ID.

    So Windows was able to ping gateway but not able to pass packets through the gateway.
    Maybe Windows is able to detect that situation hence it was trying to push packets via different gateway.

    No comments

1 additional answer

Sort by: Most helpful
  1. Sunny Qi 10,656 Reputation points


    Thanks for posting here.

    Normally, if the specific route entry to a host was added and the metric was smaller than the default, then the route to this host should be go through the specific route.

    Please try to delete the specific route entry and then add this entry again to see if the issue was resolved. If the issue is still existed, please help to provide screenshot of the error message for us further troubleshooting.

    I have tested in my lab and here is the result for your reference.

    A server with 2 NICs:
    NIC A:
    NIC B:

    Route print result of this server:


    Then ping host, the gateway responded


    Add a specific route entry of host to go through gateway


    Then ping, the gateway responded


    Hope my answer will help you!

    ---Please Accept as answer if the reply is helpful---

    Best Regards,

    No comments