![]() |
Connecting 1 laptop 1 computer 1 modem with a Switch.
1 Attachment(s)
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.. |
Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
Ok, lovely - we're going to need more information though.
First :welcome: Next, the setup in your diagram should (in theory) work provided that the machines are configured correctly. Exactly what 'serious issue' are you having. |
Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
That isn't going to be easy to do.
The switch is just a junction box. All signals in get passed to all other connections. The modem however only wants to see one connection, i.e. a single computer, or a router. Connecting the switch to both computer and laptop at some point is going to mess things up. The modem will only issue a single IP address to the laptop or computer, not both. You'd have to issue fixed IP's to at least one, along with gateway and other IP info. You really need to replace the switch with a router. |
Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
Quote:
|
Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
Can only be done IF you have a fixed IP on the modem, that way you can set the network card on the laptop to not only work with the modem but also a secondary IP (the gateway and DNS is set to whatever the modem wants...
(i.e.: PC = 192.168.0.1/255.255.255.0 Laptop=192.168.0.2/255.255.255.0 and VM FIXED IP, SUBNET, GATEWAY and DNS ) If you;re on a residential IP then you can;t do it because if you change the IP to whatever the modem is issuing it'll timeout and reissue the same IP to someone else on the UBR after 7 days ---------- Post added at 18:30 ---------- Previous post was at 18:25 ---------- Pity windows can't allocate a dynamic IP AND be told to use a secondary IP, instead you have to do it all manually :( |
Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
Thanks all......
PLEASE UNDERSTAND I DONT NEED INTERNET IN TWO SYSTEMS. i NEED INTERNET AND FILE SHARING IN LAPTOP ONLY... I made the connection....and when i connected all the 3 cables to switch.. ALL THE EIGHT LED's STARTED TO BLINK. i used laptop --computer ---------> straight crimpped cable modem---hub------> cross crimpped cable hub---laptop -------> straight crimpped cable PLEASE HELP |
Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
Quote:
And please stop using CAPS! :rolleyes: |
Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
is there any one to help me ?????
|
Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
remove the switch, get yourself a second USB2 Ethernet adaptor or use the one supplyed with your VM BB connection if they gave you one (that dark blue USB to ethernet adaptor) and plug it into the laptop, and connect that directly to the destop PC with your crossover ethernet cable.
set that second ethernet to a fixed IP of say 192.168.0.2 and set your desktop PC's ethernet card as 192.168.0.3 netmasks of 225.225.225.0 set file sharing on both, and your done, but using the networking wizard (assuming your running windows)will be easyer for your setting up the Ip addresses and you will have auto web browsing on the desktop PC while the laptops powered on and connected even if you dont need/want it. |
Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
but how to connect internet ??
|
Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
Quote:
Either buy another network card (usb/pcmcia) for the laptop and then issue one to the modem and the other to the PC/switch...or go buy a router...or accept that with your current hardware you can not do it... If you do use two network cards then you ONLY set the IP and SUBNET on the local 192.168.x.x card and not DNS or GATEWAY, that will allow you then to connect via the internet via the dns/gateway set up by the modem on the other card... |
Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
I smell bad ham again.... :rolleyes:
|
Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
We seem to be getting a lot of visitors from Asia lately...
|
Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
Quote:
|
Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
Quote:
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? |
Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
I missed a bit. Step 1. should read:-
1. You need to set your computer to a static non-routable IP address e.g. 192.168.1.1. with a mask of 255.255.255.0 and a default gateway of 192.168.1.1. This will stop the modem from locking on to your computer. The default gateway will allow you computer to talk back to your laptop even though it is on a different subnet. Also step 3 was wrong, the "-p" should NOT be there (it sets a permanent route which you can't do). So it should read:- 3. You need to add a static route on your laptop to your computer e.g. route 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. I had flu. That's my excuse and I'm sticking to it :-) For the 8 flashing lights, it's probably worth trying different cables directly between your modem and your laptop to see if the problem stays with one of your cables. |
Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
now i got into one more confusion...
For connecting Laptop to PC what type of cable we use ??? crossover or straight through ??? and for connecting modem to laptop ...which one ??? and instaed of using hub if i buy one external ethernet adaptor will it solve my issue ?? |
Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
Laptop > PC = Crossover
Modem > Laptop = Straight Through |
Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
I wonder where you can buy such amazing cables... :shocking:
|
Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
Quote:
|
Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
Quote:
|
Re: Connecting 1 laptop 1 computer 1 modem with a Switch.
Don't worry about me, I know very well where you can buy these cables I was just being silly :)
|
Re: Connecting 1 laptop 1 computer 1 modem with a Switch.
Quote:
|
Re: Connecting 1 laptop 1 computer 1 modem with a Switch.
Just one question, which ISP are you on as any instruction found here is only right assuming that you're on Virgiin Media cable?
|
Re: Connecting 1 laptop 1 computer 1 modem with a Switch.
Finally got round to trying out my suggestions using routes and default gateways. It doesn't work. TCIP/IP refuses to broadcast for a mac address when the IP is off its own network, even if you tell it to via the default gateway or routing table.
Therefore Kymmy's suggestions are still your best bet. |
Re: Connecting 1 laptop 1 computer 1 modem with a Switch.
Hi all....
I made the KYMMY...i bought one USB LAN and connected. now wors fine... now wats the new issue is : i can take shared folders of Laptop in my PC. but cant take shared folders of pc in Laptop. I tried to ping PC in PC itself but its not working. But iam able to take remote desktop connection of pc in my Laptop. plz help.. |
Re: Connecting 1 laptop 1 computer 1 modem with a Switch.
Sounds like a simple case of enabling sharing on your PC. If you have XP then run through this on the PC:-
http://www.practicallynetworked.com/...ilesharing.htm |
All times are GMT +1. The time now is 23:35. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum