Other Parts Discussed in Thread: SYSBIOS
Hi,
Let me talk about EtherNet/IP of PSDK for AM335x and test case of EtherNet/IP Interoperability certification exam.
It is a test to confirm that the transmission result of ping between devices where the subnet
is inconsistent does not return.
However, The response of ping is "getting back" in my customer situation .
■Test Condition
----------------
IP of Adapter
----------------
IP address:192.168.0.10
Subnet :255.255.255.0
----------------
IP of PC
----------------
IP address:192.168.1.1
Subnet :255.255.0.0
When sending a ping from the test PC to the adapter, the test PC as seen from the adapter does not
regard it as a device on the same subnet (192.168.0) and should not return a ping response.
But It get returned ping.
We set these configurations.
---------------------------------------------
CI_IPNET NA;
int ret;
bzero(&NA, sizeof(NA));
NA.IPAddr = htonl( IP address "192.168.0.10" );
NA.IPMask = htonl( Subnetmask "255.255.255.0" );
strcpy( NA.Domain, domain );
NA.NetType = 0;
ret = CfgAddEntry(
0, // Handle to configuration
CFGTAG_IPNET, // tag
1, // Item
CFG_ADDMODE_UNIQUE, // Mode
sizeof(CI_IPNET), // Size
(UINT8 *)&NA, // Pointer to entry data
0 ); // Pointer to where to write handle of new
configuration entry
if( ret < 0 ) {
return EIP_APP_NG;
}
---------------------------------------------
Could you give me some advice ?
Best Regards
Hiroyasu