Switch Implementation

I would like to know if it is possible to use any chip as a switch?.

I have been working with w7500 chip.

What I need to do is something like 2 PCB almost the same technologically with 2 serial ports each and my problem is that I need to create a PCB one side with an ethernet port to the server and the other side I need to have something that works as a switch with the possible ports it could has.

Do you have a design reference or something developed before?.

Sorry, I don’t know much about making switch hub and also, we don’t support the design reference about it.

RJ45 is Ethernet and serial port is uart port, is it right? I don’t understand that.

But if the middle PCB is 2-port Serial to Ethernet, I recommend WIZ752SR-125.