View Single Post
Old 06-12-2008, 22:20   #15
caph
cf.geek
 
Join Date: Jun 2007
Posts: 563
caph is a name known to allcaph is a name known to allcaph is a name known to allcaph is a name known to allcaph is a name known to allcaph is a name known to allcaph is a name known to allcaph is a name known to all
Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.

Quote:
Originally Posted by smoothcriminal View Post
Hi all ,

Iam a newbie..I am having a serious issue.

I have 1 LAPTOP, 1 COMPUTER and 1 MODEM.

wat i need :

I WANT INTERNET AND FILESHARING FROM COMPUTER IN MY LAPTOP.

wat i dont need :

I DONT NEED INTERNET ON COMPUTER

wat i have :

I HAVE 8PORT SWITCH(PS2208B) AND STRAIGHT AND CROSS CABLE.


CAN ANYONE PLEASE HELP ME TO MAKE THIS POSSIBLE......

attcahed image clearly shows my need..

Yes it's possible.

1. You need to set your computer to a static non-routable IP address e.g. 192.168.1.1. This will stop the modem from locking on to your computer.

2. You need to set your laptop to dynamic IP. This will cause the modem to lock on to your laptop and give it a valid internet address.

3. You need to add a static route on your laptop to your computer e.g. route -p add 192.168.1.1 mask 255.255.255.255 xxx.xxx.xxx.xxx (where xxx.xxx.xxx.xxx is your laptop's IP address). Unless you do this your laptop won't be able to talk with your computer.

Unfortunately, because your laptop can get a different IP address every time you boot it, you can't add a permanent route from your laptop to your computer, which means you'll have to re-add it every time you turn your laptop on (if you want to access your computer). As others have already said, you'll save yourself a lot of hassle by replacing the switch with a router then you can leave everything on dynamic IP and not have to enter any static routes.

As for your 8 flashing lights - something is seriously wrong with some hardware or some wiring. You need to narrow down what the problem is before you go further. Try connecting your laptop directly to the modem. Do you get on the internet? If you do then try connecting the laptop to the switch and connect the switch to the modem. Do you still get on the internet? If so then connect the computer to the switch. Can your laptop still get on the internet?
caph is offline   Reply With Quote