We have a wiznet 5300 ethernet serial-to-modbus network device, and it does not have any DHCP support code inside. I can ping it with a direct cable connection from PC. I can ping it through my switch A. There can be multiple devices in the same switch A belonging to a network, say 192.168.1.x. My arp table is fine till this point. If I connect this switch A to another switch B belonging to an existing large network with lot of devices, all hell breaks loose. wiznet5300 replies for the first ping, and then it times out. Sometimes, it doesn't even reply for the first ping. If I see the arp table, I can see that the MAC of wiznet5300 is replaced with something else, and the gateway I entered in wiznet5300 is also present with the same MAC, even though that gateway IP is not a valid IP or existing valid device in te network! If I change the gateway in wiznet5300 to 0.0.0.0, it doesn't help. If I replace my 5300 device with similar thirdparty device which uses realtek network chip, with same IP and MAC, that device works fine, and pings well. If I replace wiznet5300 device with a laptop, then the laptop replies for the ping correctly. ie: everything work fine except wiznet5300 device. But, If I remove the cable connection between this switch A and the other network, then the problem disappears! That network has devices (PCS, Printers..) with multiple network addresses, 192.168.1.x and 2.xs (or even more network addresses) connected using 3 or 4 switches, to my knowledge. No IP clash or MAC clash when I insert wiznet5300 into that network, since I can replace wiznet5300 with another third party device with same MAC/IP as mentioned before, then it pings fine. If I do not use switch A, and just plug 5300 device into switch B network, the result is same. Some times, if 5300 initiates a connection to a specific PC in switch B, then from that machine, 5300 can be pinged. Broadcasts from 5300 can also be received in all PCs connected in switch B. I have tried clearing arp table before pinging, specially when I see the arp table being filled with wrong MAC value of 5300 ie: MAC that does not belong to 5300.
In short, wiznet5300 doesn't ping correctly in some network, with unknown /many devices !! . But my 5300 device works correctly with 3 or 4 devices in switch A, and can communicate with external pc through a gateway (router connected to switch a) to and fro. What could be wrong? Can trace this issue with wireshark?
This device has been connected to other networks, and it works fine. What could be there in the network mentioned above that can make this device behave this way?
In short, wiznet5300 doesn't ping correctly in some network, with unknown /many devices !! . But my 5300 device works correctly with 3 or 4 devices in switch A, and can communicate with external pc through a gateway (router connected to switch a) to and fro. What could be wrong? Can trace this issue with wireshark?
This device has been connected to other networks, and it works fine. What could be there in the network mentioned above that can make this device behave this way?