IP Route Table Arguments
Use these arguments for updating a row in a IP Route table (for further information, see Use an IP Route Table to Route TCP/IP Packets to Another TCP/IP Host):
- Row (Byte)—Specify the row number within the table (1 to n).
- DestinationIPAddress (Long)—Specify the required destination IP address. This address is used in conjunction with the Subnet Mask to identify the required node on a remote subnet. For a table giving information on which IP address to add for each route type, see Use an IP Route Table to Route TCP/IP Packets to Another TCP/IP Host.
Example:
For the Destination IP address 192.168.1.97, you might use the hex value C0A80161.
- DestinationSubnetMask (Long)—Specify the Subnet mask that is required in conjunction with the IP address to identify the required node on a remote subnet.
- DestinationPort (Byte)—Use this argument to specify the SCADAPack E outstation Port via which the IP packet is to be forwarded (re-transmitted):
- 0—Port 0
- 1—Port 1
- 2—Port 2
- 3—Port 3
- 4—Port 4
- 5—Ethernet Port 1
- 6—Ethernet Port 2
- 7—Ethernet Port 3
- 9—Hayes Modem Pool.
- GatewayIP (Long)—Specify the IP address of the host that provides the ‘gateway’ to the target host. Specify 0.0.0.0 for non-Gateway routes.
Example:
For the Gateway IP address 192.168.1.97, you might use the hex value C0A80161.
- Metric (Long)—Specify a number (1 to n) that determines the route priority when multiple paths exist for interconnecting IP hosts. The higher the number, the lower the priority. Specify zero to apply the default metric value for the particular type of route.