"Invalid Argument" Error in Route

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.

Lastnosti

ID članka: 101470 – Zadnji pregled: 31. okt. 2006 – Revizija: 1

Povratne informacije