Much better and does the job?
That has to go to the hub with a built-in router.  Easier management plus packet chipset designed for doing just that.  Sure a linux box will do it as well, but so will any operating system.  In any case a "software router" will always get it's a$$ kicked by any piece of network equipment.
Oh, don't forget much more features.
spidey