Cable Forum

Cable Forum (https://www.cableforum.uk/board/index.php)
-   Networking (https://www.cableforum.uk/board/forumdisplay.php?f=87)
-   -   Connecting 1 laptop 1 computer 1 modem with a Switch. (https://www.cableforum.uk/board/showthread.php?t=33642605)

smoothcriminal 05-12-2008 18:04

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..

Raistlin 05-12-2008 18:09

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.

MovedGoalPosts 05-12-2008 18:11

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.

Raistlin 05-12-2008 18:22

Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
 
Quote:

Originally Posted by Rob (Post 34690388)
You really need to replace the switch with a router.

:dunce: I really need to read posts more carefully :D

Kymmy 05-12-2008 18:30

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 :(

smoothcriminal 05-12-2008 21:38

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

LSainsbury 05-12-2008 21:45

Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
 
Quote:

Originally Posted by smoothcriminal (Post 34690590)

I DONT NEED INTERNET IN TWO SYSTEMS.

Don't understand why...both PC's may be able to use the internet - so just don't use IE on the PC / laptop that you don't want to use the net on...

And please stop using CAPS! :rolleyes:

smoothcriminal 06-12-2008 04:42

Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
 
is there any one to help me ?????

popper 06-12-2008 05:56

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.

smoothcriminal 06-12-2008 08:28

Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
 
but how to connect internet ??

Kymmy 06-12-2008 09:05

Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
 
Quote:

Originally Posted by smoothcriminal (Post 34690590)
Thanks all......

PLEASE UNDERSTAND

I DONT NEED INTERNET IN TWO SYSTEMS.

i NEED INTERNET AND FILE SHARING IN LAPTOP ONLY...

Correct and the way I specified is the ONLY way to do it and that relies on the ability to put in two IP's onto the laptop as you do NOT have 2 network cards... But as the modem relies on DHCP it just can not be done...

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...

LSainsbury 06-12-2008 09:13

Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
 
I smell bad ham again.... :rolleyes:

Graham M 06-12-2008 09:45

Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
 
We seem to be getting a lot of visitors from Asia lately...

LSainsbury 06-12-2008 09:56

Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
 
Quote:

Originally Posted by Graham M (Post 34690765)
We seem to be getting a lot of visitors from Asia lately...

Amazing that they have the time really...

caph 06-12-2008 22:20

Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
 
Quote:

Originally Posted by smoothcriminal (Post 34690382)
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 07-12-2008 11:24

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.

smoothcriminal 07-12-2008 17:00

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 ??

Raistlin 07-12-2008 17:04

Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
 
Laptop > PC = Crossover

Modem > Laptop = Straight Through

Graham M 07-12-2008 17:28

Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
 
I wonder where you can buy such amazing cables... :shocking:

Raistlin 07-12-2008 17:29

Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
 
Quote:

Originally Posted by Graham M (Post 34691747)
I wonder where you can buy such amazing cables... :shocking:

:confused:

smoothcriminal 07-12-2008 17:33

Re: Connetcing 1 laptop 1 computer 1 modem with a Switch.
 
Quote:

Originally Posted by Graham M (Post 34691747)
I wonder where you can buy such amazing cables... :shocking:

wat amazing in this ??? go to shop and buy the cable.. if u want in more length buy cable, socket and then tell the guy which type of crimping u need..wats the big deal ??

Graham M 07-12-2008 17:43

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 :)

smoothcriminal 07-12-2008 18:39

Re: Connecting 1 laptop 1 computer 1 modem with a Switch.
 
Quote:

Originally Posted by Graham M (Post 34691766)
Don't worry about me, I know very well where you can buy these cables I was just being silly :)

Dude.. u took my breath away !!!

Kymmy 07-12-2008 18:41

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?

caph 15-12-2008 13:05

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.

smoothcriminal 20-12-2008 09:40

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..

caph 25-12-2008 16:32

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