AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
The ARP program displays and modifies the Internet-to-Physical-address translation tables located in the Internet module and used by the address resolution protocol ARP.

With no flags, the program displays the current ARP entry for host.

If you don't know the physical address of an interface, you can use the *InetInfo command to find it.

*ARP <host>
*ARP -a
*ARP -d <host>
*ARP -s <host> <phys_addr> [temp] [pub]
*ARP -f <filename>

'Host' parameter
an Internet host specified either by name (which must be present in the host name data base <InetDBase$Path>hosts) or by address (using the standard Internet dot notation).

'Phys_addr' paramater
the physical address of host given in Ethernet format (ie six hexadecimal bytes separated by colons).

'Filename' parameter
the full pathname of a file containing multiple entries to be set in the ARP table.

The -a flag makes the program display all the ARP entries currently in its table.

'-s' parameter
The -s flag makes the program create an ARP entry for the host called host with the physical address phys_addr.

* The entry will be permanent unless the word temp is given in the command.

* The entry will be `published' if the word pub is given. This system will then act as an ARP or Reverse ARP server, responding to requests for host's physical address even though the host address is not its own.

The -d flag makes the program delete an entry for host.

'-f' parameter
The -f flag causes the file filename to be read and multiple entries to be set in the ARP tables. Entries in the file should be of the form:

host phys_addr [temp] [pub]

[sh-index] Back to list of manuals