Co robi ARP użycie. Konsola proc/net/arp ). ARP is used to translate protocol addresses to hardware.

Czy przydatne?

Polecenie arp

Wykonanie, użycie: TCP/IP command. Clear, add to, or dump the kernel's Address Resolution Protocol (ARP) cache (/proc/net/arp). ARP is used to translate protocol addresses to hardware interface addresses. Modifying your ARP cache can change which interfaces handle specific requests. ARP cache entries may be marked with the following flags: C (complete), M (permanent), and P (publish). While arp can create a proxy for a single system, subnet proxies are now handled by the arp kernel module, arp(7). See the "Linux 2.4 or later Advanced Routing HOWTO" for details

Opcje wykonania arp w konsoli

host option arguments may be given as either a hostname or an IP address. With the -D option, they may also be given as a hardware interface address (e.g., eth0, eth1).

-a [hosts] , --display [hosts]

Display entries for hosts or, if none are specified, all entries.

-d host [pub] , --delete host [pub]

Remove the specified host's entry. To delete a proxy entry, add the pub argument and specify the interface associated with the proxy using -i.

-D, --use-device

Use the hardware address associated with the specified interface. This may be used with -s when creating a proxy entry.

-f file, --file file

Read entries from file and add them.

-H type, --hw-type type, -t type

Search for type entries when examining the ARP cache. type is usually ether (Ethernet), which is the default, but may be ax25 (AX.25 packet radio), arcnet (ARCnet), pronet (PROnet), or netrom (NET/ROM).

-i interface, --device interface

Select an interface. If you are dumping the ARP cache, this option will cause the command to display only the entries using that interface. When setting entries, this will cause the interface to be associated with that entry. If you do not use this option when setting an entry, the kernel will guess.

-n, --numeric

Display host IP addresses instead of their domain names.

-s host hardware-address [netmask mask] [pub] , --set host hardware-address [pub]

Add a permanent entry for host at hardware-address. A hardware-address for type ether hardware is 6 hexadecimal bytes, colon-separated. The pub argument can be used to set the publish flag, creating a proxy entry.

-v, --verbose

Verbose mode.

Przykłady arp działanie w Słownik polecenie A

Przykład ARP użycie :
Jak użyć administration command. apmd handles events reported by the Advanced Power Management BIOS driver. The driver reports on battery level and requests to enter sleep or suspend mode. apmd will log any co znaczy.
Przykład ARP użycie :
Jak użyć files that are combined into a file archive . Used most commonly to create and update static library files, as used by the link editor (ld ). Compiler frontends often call ar automatically. Only one krzyżówka.
Przykład ARP użycie :
Jak użyć information about the ACPI (Advanced Configuration and Power Interface) system, based on the /proc/acpi file. Most kernels after 2.4 support ACPI hardware, and in both hardware and software, ACPI is co to jest.
Przykład ARP użycie :
Jak użyć Update the configure template file file , or configure.ac if no file is specified. This command is seldom invoked manually. It is usually called automatically from other autoconf tools słownik.
Przykład ARP użycie :
Jak użyć configuration script from m4 macros defined in template_file , if given, or in a configure.ac or configure.in file in the current working directory. The generated script is almost invariably called czym jest.