TCP/IP Arp コマンド
arp
- C:\Windows\system32\ARP.EXE /?
Output:
アドレス解決プロトコル (ARP) で使用される、IP アドレスから物理アドレスへの変換
テーブルを表示および変更します。
ARP -s inet_addr eth_addr [if_addr]
ARP -s inet_addr eth_addr [if_addr]
ARP -a [inet_addr] [-N if_addr] [-v]
-a 現在のプロトコル データを参照し、現在の ARP エントリを表示しま
す。inet_addr が指定されている場合は、指定されたコンピューター
のみの IP アドレスと物理アドレスが表示されます。2 つ以上のネット
ワーク インターフェイスが ARP を使用する場合は、各 ARP テーブル
のエントリが表示されます。
-g -a と同じです。
-v 現在の ARP エントリを詳細モードで表示します。すべての無効なエン
トリとループバック インターフェイスのエントリが表示されます。
inet_addr インターネット アドレスを指定します。
-N if_addr if_addr で指定されたネットワーク インターフェイスの ARP エントリ
を表示します。
-d inet_addr で指定されたホストを削除します。inet_addr にワイルド
カードを使用すると、すべてのホストを削除できます。
-s ホストを追加し、インターネット アドレス inet_addr を物理アドレス
eth_addr に関連付けます。物理アドレスは、ハイフンで区切られた 6
個の 16 進数バイトで指定します。このエントリは恒久的です。
eth_addr 物理アドレスを指定します。
if_addr 指定された場合は、アドレス変換テーブルを変更するインターフェイス
のインターネット アドレスを指定します。指定がない場合は、最初の
適用可能なインターフェイスが使用されます。
例 :
> arp -s 157.55.85.212 00-aa-00-62-c6-09 .... 静的エントリを追加します。
> arp -a .... テーブルを表示します。
Displays and modifies the IP-to-Physical address translation tables used by
address resolution protocol (ARP).
ARP -s inet_addr eth_addr [if_addr]
ARP -d inet_addr [if_addr]
ARP -a [inet_addr] [-N if_addr] [-v]
-a Displays current ARP entries by interrogating the current
protocol data. If inet_addr is specified, the IP and Physical
addresses for only the specified computer are displayed. If
more than one network interface uses ARP, entries for each ARP
table are displayed.
-g Same as -a.
-v Displays current ARP entries in verbose mode. All invalid
entries and entries on the loop-back interface will be shown.
inet_addr Specifies an internet address.
-N if_addr Displays the ARP entries for the network interface specified
by if_addr.
-d Deletes the host specified by inet_addr. inet_addr may be
wildcarded with * to delete all hosts.
-s Adds the host and associates the Internet address inet_addr
with the Physical address eth_addr. The Physical address is
given as 6 hexadecimal bytes separated by hyphens. The entry
is permanent.
eth_addr Specifies a physical address.
if_addr If present, this specifies the Internet address of the
interface whose address translation table should be modified.
If not present, the first applicable interface will be used.
Example:
> arp -s 157.55.85.212 00-aa-00-62-c6-09 .... Adds a static entry.
> arp -a .... Displays the arp table.
Return Code: 1
C:\Windows\system32\ARP.EXE
c:\>ver
Microsoft Windows [Version 10.0.19045.2075]
| File | Info |
|---|---|
| File Size | 26624bytes |
| Creation Time | 2019/12/07 18:09:34 |
| LastWrite Time | 2019/12/07 18:09:34 |
| ProductVersion | 10.0.19041.1889 |
| FileVersion | 10.0.19041.1889 (WinBuild.160101.0800) |
| Hash | Value |
|---|---|
| MD5 | 2af1b2c042b83437a4be82b19749fa98 |
| SHA1 | 9bb265d4582de87eba4e34081bd122c3395a232e |
| SHA224 | 4338c3a62ecfe8add344b7de822ef5e4c4001b6f23bba7147ec38e5a |
| SHA256 | 7b79171410482f410b7572c58edb7fd39326f7150c7c6882249b1cf9d7c970f0 |
| SHA384 | 64abfce7c0c6c03b4c896111bf3f1dc6fa086016e8761843ecdb7a5745ac127c46fe4e03452d6599481672cdc0f4f1b4 |
| SHA512 | b03a5c26331beabfbaedfdf31ac6d25c76c04b5aab3c5b669f06c7404fabbcb41d2720ea907f860bdf3df27ac16bc7363bec02093ddf203c308b2156c838e731 |