There's no particular reason that you need a hub. But if you do attach them directly, then you'll need a crossover cable and your NIC will have to support 10Mbps.