Teach you to bind IP and MAC addresses with the netsh command under Win7

  
 

The method of binding the IP and MAC addresses with the netsh command under Win7 is as follows: First, at the command prompt, run the following command:

netsh ii show in

In the first column, find the ldx number corresponding to the local connection. Assuming that the ldx number of the
computer
local connection is 16, then type the following command to bind the IP and MAC address in the CMD command prompt window:

netsh -c "i i" Add neighbors 16 "IP address" "MAC address"

<quo;IP address" and “MAC address” need to be replaced, then run the following command to see if it is bound:

arp -a

To unbind, run the following command:

netsh -c "i i" delete neighbors ldx

Ldx needs to be changed to the corresponding number.

Copyright © Windows knowledge All Rights Reserved