Map IP Address on MAC Address with NI XNET for Automotive Ethernet

Updated Jun 13, 2024

Environment

Software

  • LabVIEW

Driver

  • NI-XNET

The MAC address is a unique identifier assigned to network interfaces for communication on the physical network segment.

IPv4, uses the ARP (Address Resolution Protocol) to map IPv4 addresses to MAC addresses. When a device wants to communicate with another device on the same local network, it needs to know the MAC address associated with the target's IPv4 address. ARP is used to find this MAC address.

NDP (Neighbor Discovery Protocol) is the protocol used for IPv6 to perform functions similar to ARP in IPv4, but with additional capabilities.

The LabVIEW XNET example NI-XNET Stack Simple TCP.lvproj includes the ip stack config - single interface.vi which allows you to assign an ARP table, to map the ipv4 address on to the MAC address.

 

image.png

 

Currently IPv6 is not supported with NPD tables, the official release of the feature will be included in the Q4 2024 release of the XNET driver.

Next Steps

The official release of the feature will be included in the Q4 2024 release of the XNET driver.