|You can't do it with a modem and switch. You need a router.|
You could use ICS [internet connection sharing - google it for the how tos] if your server has two nics. One nic goes to the modem and one goes to the switch and with ics you can share the internet thru the server
Answers are only as good as the information you provide.
How to properly post a question:
Sorry no tech support via PM's