A hub or switch will both work as far as the physical connecting of everything together. For the software, you'll need to make sure that the IP cameras support what you want to do. Most of the cameras I've seen just have a built in website that you go to in order to see a live feed. I don't think that type of camera would support recording the feed to disc.
If you don't already have a network in place, it will probably be simpler and cheaper to just buy a normal, non-IP, camera system.