The problem is that's only a switch so it does not have a DHCP server (to give computers IP address) nor does it support connecting to the modem and sharing the Internet connection amongst computers.
So the problem your having is that you're trying to get 2 IPs from your ISP and they definitely won't do that.
Depending on your modem, it may have a router mode which you could setup. Then you could plug the switch into the modem and both computers into the switch which should give you Internet access on both.
Thanks you, once again
HWC community comes through. So Router it is.
any suggestion what router i should be looking for or it does not really matter ?
Unless your running something with a ton of connections (like BitTorrent) or you need certain wireless features, then you'd need to get picky. Though if its just for pretty basic Internet use, anything will do you fine.
I'd go with D-Link or Linksys since they are the biggest companies IMO.
Guess it mainly just depends on how much you want to spend...