日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

关于arp.exe的一点应用

發(fā)布時間:2025/3/15 编程问答 31 豆豆
生活随笔 收集整理的這篇文章主要介紹了 关于arp.exe的一点应用 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

使用ARP命令是在MS-DOS提示符下運(yùn)行的,在運(yùn)行里輸入:CMD,便進(jìn)入DOS提示符下:

arp.exe?是一個管理網(wǎng)卡底層物理地址的程序,每個網(wǎng)卡都有一個全球唯一的物理地址
,上網(wǎng)時,動態(tài)的IP地址就是根據(jù)這個物理地址影射的。
在同一個局域網(wǎng)段內(nèi)有兩個物理地址相同的網(wǎng)絡(luò)適配器,不論如何配置都會造成IP地址
沖突。
arp?-a,顯示arp的影射;
arp?-s?IP地址?物理地址,增加一個arp影射,如arp?-s?192.168.1.1?00-aa-00-00-c2
-99;
arp?-d?IP地址?物理地址,del掉一個arp影射。
用法:當(dāng)IP地址沖突時,使用此命令可以把沖突的IP地址屏蔽掉!
詳細(xì)用法:
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]
??-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.
??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.
??-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.

總結(jié)

以上是生活随笔為你收集整理的关于arp.exe的一点应用的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。