0

I am using a real time operating system called Vxworks 5.5. The address resolution protocol is disabled and now I need to build up an ARP table manually to initiate IP to IP communication. The IP addresses and MAC addresses are locally administered hence ARP needs to be disabled.

How can I achieve this in VxWorks?

TristanK
  • 9,173
  • 2
  • 30
  • 39

1 Answers1

0

To manually build the arp table better use the arping tool.

You should run the arping <ip> on other host (on a laptop, for example) for every ip address to which your device will communicate.

When the list of ip addresses and corresponded mac addresses has been completed, you can configure the arp table in your device with execution of the arpAdd("IP","MAC",0x04(ATF_PERM)) commands.