以下是我們?cè)贛icrosoft Windows 2000中輸入ARP命令返回的結(jié)果:
C:\>arp
Displays and modifies the IP-to-Physical address translation tables used
by address resolution protocol (ARP).
//顯示和修改由地址解析協(xié)議使用的IP物理地址表
ARP -s inet_addr eth_addr [if_addr]
ARP -d inet_addr [if_addr]
ARP -a [inet_addr] [-N if_addr]
-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.
//顯示詢問(wèn)當(dāng)前協(xié)議數(shù)據(jù)的ARP當(dāng)前入口,如果指定了//inet_addr,則只顯示指定計(jì)算機(jī)的IP地址和物理地址;如//果有不只一個(gè)網(wǎng)卡使用ARP,則顯示每一個(gè)網(wǎng)卡的ARP列//表。
-g Same as -a. //類似于-a
inet_addr Specifies an internet address.
//指定一個(gè)Internet地址
-N if_addr Displays the ARP entries for the network interface specified
by if_addr.
//顯示由if_addr指定的網(wǎng)卡的ARP入口
-d Deletes the host specified by inet_addr. inet_addr may be
wildcarded with * to delete all hosts.
//刪除由inet_addr指定的主機(jī),如果inet_addr是通配符*,則刪
//除所有主機(jī)
-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.
//增加主機(jī),并把Internet地址inet_addr和物理地址eth_addr
//進(jìn)行關(guān)聯(lián),物理地址是6個(gè)以連字符號(hào)“-”隔開(kāi)的16進(jìn)制
//位,這個(gè)入口是永久的
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.
//如果出現(xiàn),則代表網(wǎng)卡的Internet地址,該地址的地址轉(zhuǎn)換表
//將要修改。如果不出現(xiàn),則使用第一個(gè)可用的接口
Example:
> arp -s 157.55.85.212 00-aa-00-62-c6-09 .... Adds a static entry.
//增加一個(gè)靜態(tài)入口
> arp -a .... Displays the arp table.
//顯示ARP表
C:\>arp
Displays and modifies the IP-to-Physical address translation tables used
by address resolution protocol (ARP).
//顯示和修改由地址解析協(xié)議使用的IP物理地址表
ARP -s inet_addr eth_addr [if_addr]
ARP -d inet_addr [if_addr]
ARP -a [inet_addr] [-N if_addr]
-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.
//顯示詢問(wèn)當(dāng)前協(xié)議數(shù)據(jù)的ARP當(dāng)前入口,如果指定了//inet_addr,則只顯示指定計(jì)算機(jī)的IP地址和物理地址;如//果有不只一個(gè)網(wǎng)卡使用ARP,則顯示每一個(gè)網(wǎng)卡的ARP列//表。
-g Same as -a. //類似于-a
inet_addr Specifies an internet address.
//指定一個(gè)Internet地址
-N if_addr Displays the ARP entries for the network interface specified
by if_addr.
//顯示由if_addr指定的網(wǎng)卡的ARP入口
-d Deletes the host specified by inet_addr. inet_addr may be
wildcarded with * to delete all hosts.
//刪除由inet_addr指定的主機(jī),如果inet_addr是通配符*,則刪
//除所有主機(jī)
-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.
//增加主機(jī),并把Internet地址inet_addr和物理地址eth_addr
//進(jìn)行關(guān)聯(lián),物理地址是6個(gè)以連字符號(hào)“-”隔開(kāi)的16進(jìn)制
//位,這個(gè)入口是永久的
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.
//如果出現(xiàn),則代表網(wǎng)卡的Internet地址,該地址的地址轉(zhuǎn)換表
//將要修改。如果不出現(xiàn),則使用第一個(gè)可用的接口
Example:
> arp -s 157.55.85.212 00-aa-00-62-c6-09 .... Adds a static entry.
//增加一個(gè)靜態(tài)入口
> arp -a .... Displays the arp table.
//顯示ARP表

