㈠ arp命令可以看到MAC地址吗
●“arp -a”:可以查看连到本机的计算机的的MAC地址,即“Physical Address”列的,如“00-0f-f7-01-cf-9a”
●“ipconfig /all”:可以查看到本机的MAC地址,即“Physical Address”行的,如“00-0f-f7-01-cf-9a”
㈡ arp锻戒护镐庝箞杩愯岋纻
鐩存帴杩愯宑md锛岃繍琛宎rp -d * 锛宎rp -s浼氩嚭鐜颁笅闱㈢殑阌栾鎻愮ず锛
ARP 椤瑰垹闄ゅけ璐: 璇锋眰镄勬搷浣滈渶瑕佹彁鍗囥
ARP 椤规坊锷犲け璐: 𨰾掔粷璁块梾銆傛垨鎻愮ず锛欰RP 椤规坊锷犲け璐: 璇锋眰镄勬搷浣滈渶瑕佹彁鍗囥
锛堣嫳鏂囩増鎻愮ず锛歍he ARP entry addition failed: Access is denied. 锛
濡备綍瑙e喅锻锛
杩愯宎rp -d * 闇瑕佺敤绠$悊锻樿韩浠借繍琛岋纴杩涘叆windows\system32鏂囦欢澶规垒鍒瘫md.exe锛屽彸阌钬滀互绠$悊锻樿韩浠借繍琛屸濓纴杩欐牱镓揿紑cmd绋嫔簭灏辫兘杩愯宎rp -d锻戒护浜嗐备絾鏄杩欐牱杩樻槸涓嶈兘杩愯宎rp -s 杩涜岄润镐乵ac缁戝畾锛屽ぇ姒傛槸win7绂佺敤浜呜繖涓锻戒护锛岄渶瑕佺敤netsh锻戒护銆
鍏蜂綋锅氭硶鏄锛
1銆佸厛杩愯岋细netsh i i show in 镓惧埌姝e湪浣跨敤镄勭绣鍗idx鍙
2銆佺劧钖庤繍琛岋细netsh -c i i add neighbors 11 192.168.1.1 00-21-27-bc-89-48 灏卞彲浠ヨ繘琛岀粦瀹氢简锛岃繖閲11鏄痠dx鍙枫
鍦╓in7鍜孷ista涓婄敤ARP -D骞朵笉鑳藉畬鍏ㄧ殑鍒犻櫎缁戝畾
蹇呴’浣跨敤
netsh -c "i i" delete neighbors IDX (IDX鏀逛负鐩稿簲镄勬暟瀛)
镓嶅彲鍒犻櫎MAC鍦板潃缁戝畾
鍦╲ista涓涔熶细浜х敓钖屾牱镄勯敊璇锛
C:\Users\sink>arp -a
鎺ュ彛: 10.200.52.186 --- 0xa
Internet 鍦板潃 鐗╃悊鍦板潃 绫诲瀷
10.200.53.254 00-04-38-87-f2-0c 锷ㄦ
10.200.53.255 ff-ff-ff-ff-ff-ff 闱欐
C:\Users\sink>arp -s 10.200.53.254 00-04-38-87-f2-0c
ARP 椤规坊锷犲け璐: 5
C:\Users\sink>netsh i i show in
Idx Met MTU 鐘舵 钖岖О
--- --- ----- ----------- -------------------
1 50 4294967295 connected Loopback Pseudo-Interface 1
10 20 1500 connected 链鍦拌繛鎺
C:\Users\sink>netsh -c "i i" add neighbors 10 "10.200.53.254" "00-04-38-87-f2-0c"
C:\Users\sink>arp -a
鎺ュ彛: 10.200.52.186 --- 0xa
Internet 鍦板潃 鐗╃悊鍦板潃 绫诲瀷
10.200.53.60 00-16-d4-f5-b7-2e 锷ㄦ
10.200.53.254 00-04-38-87-f2-0c 闱欐
10.200.53.255 ff-ff-ff-ff-ff-ff 闱欐
瑙e喅锷炴硶
0. 浣跨敤 arp -a 锻戒护 镆ョ湅缃戝叧镄凪AC缃戝崱鐗╃悊鍦板潃
1. 浣跨敤 netsh i i show in 锻戒护 镆ョ湅 链鍦拌繛鎺ョ殑 idx缂栧彿
2.浣跨敤 netsh -c "i i" add neighbors 链鍦拌繛鎺ョ殑idx "缃戝叧IP" "缃戝叧mac钬 锻戒护缁戝畾
3.浣跨敤 arp -a 镆ョ湅缁撴灉
㈢ 如何用ARP命令绑定IP和MAC
1.首先我们打开电脑桌面,在开始菜单中,点击运行,或者你可以按下WIN+R,然后打开。
㈣ 如何用ARP命令查询网络MAC地址
网络是IP地址,MAC地址是网卡的“身份证”,那个是在网络的最底层,物理层才有的。用ipconfig /all就能看到MAC, physical address那一项就是,ARP命令可以绑定IP和MAC。