This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/Unix tool to send one ethernet packet?



We have a weird hardware setup where we "direct connect" an Intel NIC to the ethernet port of a Tiva 129.  They are not talking but I have link status lights from the Intel NIC.  Nothing happens when I ping the Tiva with "normal" setup. My Intel NIC is 10.3.0.191 and my Tiva is 10.3.0.192 with 255.255.255.0 netmask.  I get no response from the Tiva to an ARP request.

Just for fun I set the Tiva netmask to 0.0.0.0 and that causes the Tiva to crash and burn when the first ARP packet gets sent. This is a pretty good clue that nothing is happening until a packet comes through and the Tiva sees "something" in the way of data when that first packet comes in.

I have found all sorts of good tools on the Unix( QNX) side like netstat and tcpdump that have been very useful.


Is there a tool that will let you build an ethernet packet in Unix/Linux/QNX and then send that packet on a particular interface?  It would be helpful to be able to write a small test program to send a packet to the Tiva and watch what is happening. A Google search did not turn up any useful links.

I suspect a hardware issue, but who knows...