Cable companies sometimes do not check how many IP's each house is using, so anomylies like the above works fine. If you set your computers to DHCP and use a hub, with the modem plugged into the uplink port, you can use many computers using their own connection through DHCP, even though you haven't paid for another IP.
At least this is how it works in my town