For Windows XP
1. Open Command Prompt2. At the command prompt, type:
arp -s ip_address mac_addressExample:
arp -s 192.168.2.1 00-34-A3-7D-66-FF3. In order to delete the static arp entry, type:
arp -d ip_addressExample:
arp -d 192.168.2.1
For Windows 7, Windows 8
1. Open Command Prompt2. At the command prompt, type:
netsh -c "interface ipv4" set neighbors "connection_name" "ip_address" "mac_address"Example:
netsh -c "interface ipv4" set neighbors "Wi-fi" "192.168.1.1" "00-A3-F7-C0-AE-32"3. In order to delete the static arp entry, type:
netsh interface ipv4 delete neighbor "connection_name" "ip_address" "mac_address"Example:
netsh interface ipv4 delete neighbor "Wi-fi" "192.168.1.1" "00-A3-F7-C0-AE-32"When you restart the computer, if the arp entry is still displayed, go to this link for more information.
For Linux
1. Open Terminal2. At the terminal prompt, type:
sudo arp -s ip_address mac_addressExample:
sudo arp -s 10.0.0.2 00:0C:29:C0:94:BF3. In order to delete the static arp entry, type:
sudo arp -d ip_addressExample:
sudo arp -d 10.0.1.0
No comments:
Post a Comment