RtssArp
RtssArp displays and modifies the IP-to-Physical address translation tables used by the address resolution protocol (ARP).
Usage
You must use one of the following commands when using RtssArp.
To add an entry:
Rtssrun RtssArp.rtss -s
inet_addr
eth_addr
interface
[-t
TTL]
To delete an entry:
Rtssrun RtssArp.rtss -d
inet_addr
interface
To display the ARP table:
Rtssrun RtssArp.rtss -a
NOTE: The RT-TCP/IP Stack will only add addresses to the ARP table that share the same subnet. RtssArp will return 1 if any error occurs while it is executing.
Options
Option | Description |
---|---|
-a |
Displays the current entries for the ARP table. |
-d |
Deletes the host specified by inet_addr. |
-s |
Adds the host and associates the AP Address inet_addr with the Physical Address eth_addr. The Physical Address is given as 6 hexadecimal bytes separated by hyphens or colons. The Unicast Address must be on the same Subnet as the interface. |
-t |
The time, in minutes, that an entry will live. The default is 0 which results in a permanent static entry. To set a timeout value of 0xFFFFFFFF, which is near infinity, set the value to -1. For example: Note: You can specify any number within the range of 1 and 4294967295. |
inet_addr |
Specifies an Internet Address. |
eth_addr |
Specifies a Physical Address. The Physical Address is given as 6 hexadecimal bytes separated by hyphens, |
interface |
The interface whose address translation table should be modified. |
Examples
Adding an entry:
Rtssrun RtssArp.rtss -s 192.168.21.2 11-22-33-44-55-66 RtE1000
Rtssrun RtssArp.rtss -s 192.168.21.2 11:22:33:44:55:66 RtE1000
Deleting an entry:
Rtssrun RtssArp.rtss -d 192.168.21.2 RtE1000
Displaying the ARP table:
Rtssrun RtssArp.rtss -a
Related topics: