@3Dave Almost - higher-end switches are programmable too, so you can set up things like virtual subnets. A router routes stuff from one network to another, wheras a switch switches it within the same network. A hub is, as you say, a dumb device that just rebroadcasts everything