It will depend on your cable modem provider. I use MediaOne resently bought by comcast. At first I used a firewall/proxy server setup, which was ok, done on a Pentium 133/64MB RAM.
A family member was getting cable modem service, so I recommendeda switch/router setup for less than $150. A friend of mine recommended Linksys, so I purchased it for them.
I tried it out at home, and liked it so much bought one for the home, much faster, not as secure as a firewall, but it does NAT and DHCP.
The WAN port also does DHCP (only had to tell the ISP the MAC address of the WAN port) and we are ready to go. There are other settings that can be used for web servers and such (NAT), but I don't use them, so I can't tell you how those work.
If your looking for a simple and inexpensive setup - I highly recommend it.
And you can configure the thing with a web browser, and I believe mine came with a free CD of turbo linux :*) Plus I have bragging rights to a switched network at home!