Make simple 3 port ethernet switch/Hub
The simplest and cheapest way is to go buy one. The off-the-shelf hardware is so inexpensive these days that there's really no way you're going to create a custom solution that saves either money or effort. Both Amazon and Newegg list several Ethernet switches for less than $20.