Knowledge Base

"Invalid Argument" Error in Route

Article ID: 101470

Article Last Modified on 10/31/2006


APPLIES TO


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.

Additional query words: prodnt AS TCPIP Subnet ntas

Keywords: kbnetwork KB101470