Private Island Networks Inc.

On Windows 10, how do I assign a MAC address to a remote IP address?

Sep 25, 2020 asked by anonymous
share
subscribe to mailing list:

Question / Issue:

Hello, I'm trying to transmit packets from a Windows 10 machine to an embedded device that isn't able to perform ARP. Is there a way to configure a static ARP relationship?
X-ray Engineering Services

Responses:

Date: Sept. 25, 2020

Author: Mind Chasers

Comment:

Open a CMD shell with administration privileges. You can run "arp -a" to see the current ARP table. Make sure the desired IP address isn't already assigned to a different MAC address. Also, we have had problems adding a static ARP relationship on Windows 10 using "arp" (works great on Linux). Instead, you can use "netsh" In the example below, we're adding the following relationship to our "Ethernet" adapter: assign MAC Address 01-02-03-04-05-06 to IP Address 192.168.3.101. >netsh interface ipv4 add neighbors "Ethernet" "192.168.3.101" "01-02-03-04-05-06" Next we can run arp to make sure it stuck: > arp -a Internet Address Physical Address Type ... 192.168.3.101 01-02-03-04-05-06 static

Post your answer or comment:

your email address will be kept private
authenticate with a 3rd party for enhanced features, such as image upload
previous month
next month
Su
Mo
Tu
Wd
Th
Fr
Sa
loading