"Invalid Argument" Error in Route (101470)



The information in this article applies to:

  • Microsoft Windows NT Server 3.1
  • Microsoft Windows NT Workstation 3.1

This article was previously published under Q101470

SUMMARY

To use the route utility to define a route for an entire subnet to a specified gateway, specify a zero (0) for the portion of the IP address that pertains to the host.

For example, to route all packets destined for net 139.6 to the gateway at 139.3.0.1, use the following syntax:
   ROUTE ADD 139.6.0.0 139.3.0.1
If you do not specify the zeros in the host portion of the IP address, the route utility returns an "Invalid Argument" error.

Modification Type:MajorLast Reviewed:10/29/2003
Keywords:kbnetwork KB101470