I have developed a PCB using the W5500 IC and have encountered an issue when connecting to an external network. Below are the details:
Our PCB uses the W5500 IC.
It works fine in an internal network setup.
Connection structure:
β PC (TCP Client) - W5500 (TCP Server): Connection works correctly.
It does not work in the external network setup 1.
Connection structure:
β PC (TCP Client) - Wireless LAN (Client-router) - W5500 (TCP Server): Connection fails.
Wireless module: MOXA-AWK-1137C
Port forwarding is applied.
It works in the external network setup 2.
Connection structure:
β PC (TCP Client) - Wireless LAN (Client-router) - PC (TCP Server): Connection works correctly.
(Since this setup works, we believe the wireless LAN settings are correct.)
Additional Information:
W5500 settings:
IP: 192.167.100.133
Port: 502
Subnet: 255.255.255.0
Gateway: 192.167.100.9
DNS: 0.0.0.0
Wireless module settings:
WAN IP: 192.168.11.25
Subnet: 255.255.255.0
Gateway: 192.168.10.1
LAN IP: 192.167.100. 9
Subnet: 255.255.255.0
Could you please help us identify why the connection fails in the external network setup 1?
Thank you for your assistance.
-------------Some of the above contents ---------
4. It works in the external network setup 2.
Connection structure:
β PC (TCP Client) - Wireless LAN (Client-router) - PC (TCP Server): Connection works correctly.
Please refer to the attached document for details regarding PC TCP client settings and PC TCP server settings.
Thank you once again for your interest and feedback. Network connection.pdf (532.3 KB)
Kind regards,
You are trying to reach from 192.168.11.25 to 192.167.100.133.
At the same time you say that you assign same IP address to the client PC.
The fact that PC works but W5500 does not means thereβs a possibility for connectivity, but PC is much more clever in finding the ways for this connectivity if something is configured incorrectly. You must have some issue with zoning/addressing, or firewall.