A long time ago I found the switches in most routers and modems to be sub par. So my long term go to setup was to use a single port on my modem/router to a switched hub.

It would take a lot more words why this helps but in short, that's my preferred setup.