Dual port ethernet switch interfacing in STM32H743
Hi Team,
We are using STM32H743 microcontroller (as a server) interfaced with LAN9353/KSZ8863 with two ethernet ports, one port connected to PC (as 1st client) and another port connected to embedded board(as 2nd client). Till now we are able to check PING command response with both the ports simultaneously.
But when we try to connect with server, the client which is connected at port1 only connects with server, client on port2 is not connecting to server.
We are not getting why the client on port2 is not able to connect, is this because of some IP routing or something else?
We are using LwIP network stack for TCP/IP communication. For both the ports we have created two separate network interfaces with same/different IP addresses.
Does LwIP supports two network interfaces simultaneously? Or do STM32 have any example on dual port ethernet switch?
We would like to know your guidance on the above points.
Thank you.
