Force netsh/arp binding multicast IP addres with specific MAC address

Posted by Olivier on Super User See other posts from Super User or by Olivier
Published on 2014-06-12T12:48:35Z Indexed on 2014/06/12 15:29 UTC
Read the original article Hit count: 516

Filed under:
|
|
|
|

I would like to setup an binding from an IP address to a MAC address using netsh. Goal is to bond an IP address which is a multicast address (224.224.x.y) to a given MAC address (which is NOT the calculated one from the multicast IP address : 01:00:5e:X:Y:Z

It used to work with Windows XP (was it a bug that used to be "perfect" for my needs?), but Windows 7/8/8.1 forces the MAC address to the calculated one instead of letting me put what I want! (http://nettools.aqwnet.com/ipmaccalc/ipmaccalc.php shows MAC address calculation for multicast IP address)

Thus I'm doing the following.

Listing existing mappings:

netsh.exe interface ip show neighbors "Ethernet"

Interface 12 : Ethernet

Internet address                              Physical address   Type
224.0.0.22                                    01-00-5e-XX-YY-ZZ  static

Then adding my interface mapping manually:

netsh.exe interface ip add neighbors "Ethernet" "224.xxx.yyy.zzz" "00-80-EE-UU-VV-WW"

Finally, listing again my mappings:

netsh.exe interface ip show neighbors "Ethernet"

Interface 12 : Ethernet

Internet address                              Physical address   Type
224.0.0.22                                    01-00-5e-XX-YY-ZZ  static
**224.xxx.yyy.zzz                               01-00-5e-UU-VV-WW  static**

As you can see, the MAC Address of the second entry (the one I just made) has been dynamically replaced by the calculated MAC Address corresponding to my IP Address...

Calculation is done as follow (and displayed in hexa): UU=(xxx-128) VV=yyy WW=zzz

But I don't want that behavior. My IP address and MAC address cannot be changed, and I must associate them accurately.

Does anybody know how to disable MAC address substitution/calculation in netsh?

Thanks, Olivier.

© Super User or respective owner

Related posts about Windows

Related posts about networking