24 port gig switch is over kill the cube only have a 10base t Ethernet port not 100 or 1 gig u could get a 8 port 100 megs switch cheaper im sure but any switch will work I had 2 cubes on a switch dlink.
go on craigslist or a local eledtronics recycler - you can probably get a 24 or 48-port network switch for <$20
I got mine for $15 - 48 ports at 100meg, with 2 trunk ports that are 1gig connections for interlinking multiple switches to the router. dead-easy to use, its a simple plug/play router basically. (my understanding is that switch is NOT a router, so unless your modem is a modem+router, a router is still needed to handle the divvying up of ip addresses and DNS