AmigaOS 4.0 - About OS4 - Commands
|
||||||||
|
||||||||
|
ADDNETROUTE is used to add message routing paths for the network.
The QUIET option, if specified, will suppress error or progress reports. Also, if the program encounters an error it will flag this as failure code 5 which can be looked at using the 'if warn' shell script command. If this option is not in effect, failure codes will be more severe and all sorts of progress information will be displayed. The DST or DESTINATION <destination> option, if specified, supplies the destination address of a route (or in other words, where the route to be added leads to). This must be an IP address or a symbolic name. Some routes may require you to specify a gateway address through which the route has to pass. Depending upon the address you specify, the protocol stack will attempt to figure out whether the destination is supposed to be a host or a network. The HOSTDST or HOSTDESTINATION <host destination> option, if specified, is the same as the 'DST or DESTINATION' parameter, except that the destination is assumed to be a host (rather than a network). The NETDST or NETDESTINATION <net destination> option, if specified, is the same as the 'DST or DESTINATION' parameter, except that the destination is assumed to be a network (rather than a host). The VIA or GATEWAY <gateway> option, if specified, complements the route destination address; it indicates the address to which a message should be sent for it to be passed to the destination. This must be an IP address or a symbolic name The DEFAULT or DEFAULTGATEWAY <default gateway> option, if specified, selects the default gateway address (which must be specified as an IP address or a symbolic host name) all messages are sent to which don't have any particular other routes associated with them. Another, perhaps less misleading name for 'default gateway address' is 'default route'.
Notes: Only one of the ' DST or DESTINATION ', ' HOSTDST or HOSTDESTINATION ' or 'NETDST or NETDESTINATION ' parameters will be used; choose only one. Example 1: Example 2:
Disclaimer: Amiga Auckland have prepared the above information for the use of its members based on our experiences and as such is subject to revision at any time. Amiga Auckland cannot guarantee any of the information and cannot be held accountable for any issues that may result from using it. |