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.

PROCESSOR-SDK-AM65X: Connect to Ethernet on the same subnet.

Part Number: PROCESSOR-SDK-AM65X

Developed using PROCESSOR-SDK-RTOS-AM65X ver07.03.00.09.
NDK is using NDK 3.80.00.19.

I want ethernet ports eth0 and eth2 (ICSSG0 and ICSSG1) to communicate on the same subnet.
For example, I want to set eth0 to 192.168.1.100/24 and eth2 to 192.168.1.200/24. However, with this setting, communication could not be established.
I have confirmed that communication is possible with different subnets.

\ndk_3_80_00_19\packages\ti\ndk\stack\bind\bind.c
BindNew() function

   /* Search for duplicate bindings */
   if( (pbtmp = (BIND *)BindFindByHost(0, IPHost) ) ||
       ((IPNet!=0xffffffff) && (pbtmp = (BIND *)BindFindByNet(0, IPNet))) )
   {
       /* Duplicate bindings allowed on PPP links */
       if( type != HTYPE_PPP && IFGetType(pbtmp->hIF) != HTYPE_PPP )
       {
           DbgPrintf(DBG_WARN,"BindNew: Duplicate bindings ignored");
           return(0);
       }
   }

By debugging the above part to pass through not only HTYPE_PPP but also HTYPE_ETH, you can now set IP addresses on the same subnet.
However, when I pinged eth0 and eth2 from the same IP address, I found that when I sent a ping to eth0, I got a response from eth0, and when I sent to eth2, I got a response from eth0.

I think it's probably a routing issue, but is there a setting or method to communicate on the same subnet?

Thank you.