On Windows 7 I have been using the command
route add to add routing entries with a gateway. I now want to add a routing entry with no gateway, where the route is directly reachable.
Windows 7 calls such routes "on-link". I have tried creating on-link routes using the
route add command and omitting the
gateway entry, but that hasn't worked.
How can I create an on-link route in Windows 7?