0

I'm creating as virtual network on my PC using netsh wlan commands and it's working great. However, at this point a need came to me to force a particular IP to a MAC address. Ofcourse it will be an IP that is allowed. All I need is to force a connecting device (with a static MAC) to have the same IP every time they connect to my virtual network.

Is this doable?

Lucas
  • 191
  • 1
  • 1
  • 8
  • IP addresses are usually assigned by DHCP, or set statically on the device itself. You would need to reserve the IP for that mac on a dhcp server if one is running, otherwise you could just set the IP address for that device to static. – Alex McKenzie Oct 31 '14 at 21:22
  • I would preffer (if possible) to assign the IP on the host, rather than try to force it by the connecting device. So that's my question, if I can do it with microsoft's netsh wlan terminology (sorry not a particular expert of the networking). – Lucas Oct 31 '14 at 22:53
  • Usage netsh interface ip add neighbors "Network card name here" "Gateway.IP.goes.here" "MAC-address-of-gateway-with-dash-here" from http://superuser.com/questions/101293/windows-7-the-arp-entry-addition-failed-access-is-denied –  Jan 06 '16 at 17:09

0 Answers0