Ads 468x60px

Pages

顯示具有 arp 標籤的文章。 顯示所有文章
顯示具有 arp 標籤的文章。 顯示所有文章

6/21/2017

手動刪除/新增 arp 資訊


Windows 環境下修改/清除 arp 資訊多是使用 arp 開頭的指令
但是最近要設定一筆靜態 arp 資訊時,一直出現沒有存取被拒的訊息
感謝 google 大神,有找到別人分享的
可以利用 netsh 進行設定
指令如下:


刪除
netsh interface ip delete neighbors "網路卡名稱" "要刪除的 ARP 對應的 IP"

新增
netsh interface ip add neighbors "網路卡名稱" "設定的IP" "要設定的 IP 的 Mac Address"

不過 netsh 好像也會走入歷史...
微軟大概是慢慢要把這些指令,都改成用 Powershell 處體吧


Ref: https://superuser.com/questions/101293/windows-7-the-arp-entry-addition-failed-access-is-denied

11/19/2015

VMware Move it or Copy it

VMware 環境有搬移 VM 時
第一次開啟搬移後的  VM 都會詢問 Move it or Copy it
大部分情況下都可以使用居多
但若搬移的設備有對外提供服務
而搬移後的環境和原本相同,只是在不同主機的話
建議都還是用 Copy it 就好
兩者主要差別如下:

Move it: 更改 MAC Address
Copy it: 不會更改 MAC Address

所以用 Move it 因為有更動 MAC address 的關係
有可能造成 switch 上的 arp table 被咬住
而導致搬移後的 VM 對外連線或者不同 vlan 之間的連線出狀況
這種狀況發生的時候,清除 switch 上的 arp table 就可以解決了