954,315 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

I Want to know how to Host in Lan

Here is my problem i have 2 Pcs, 1 is the host to internet the other is client connected by gateway so can anyone tell me if there is anyway i can host online on the client pc it looks something like this: [Client(pc2)]->[Host(pc1)]-[adsl] :rolleyes:

louay
Newbie Poster
1 post since Nov 2004
Reputation Points: 10
Solved Threads: 0
 

While your question is somewhat vague as to what you man by 'hosting' (website?)
I would just pick up a 4 port hub and then jack each machine into the hub
then out to the net.
|----------------LAN SIDE---------------------|----WAN SIDE|
[machine a] -> [eth0/nic] -> [4port hub] -> [DSLmodem] -> [net]
[machine b] -> [eth0/nic] ----^

as far as resources go..

Windows only.
if youre hosting a website from 'machine a' (gateway)
in your current configuration and want to share out hard drive resources or file
system(s) from machine b through it all they have to be is in the same
workgroup and each has to have a mappable shared drive. then you can map
a drive from b to a and then utilize the resources on 'machine b.'

linux is different, unix is as well. differing OSs can make this far more
complicated than this needs to be.

Cain
Posting Whiz in Training
298 posts since Aug 2004
Reputation Points: 18
Solved Threads: 2
 

Also,

check the specs on the DSL modem. You may need to get a router instead of a hub.

Catnip
Newbie Poster
18 posts since Nov 2004
Reputation Points: 10
Solved Threads: 0
 
I would just pick up a 4 port hub and then jack each machine into the hub then out to the net....

Catnip is right:

When using a hub or switch (instead of a router) for that sort of configuration, you need to check with your Internet service provider first.

If the ISP only allocates 1 IP to your account, uses the MAC address of the connected computer as part of your account/connection validation, or uses any other methods which would disallow concurrent logons from multiple computers, a hub or switch won't do the trick. Many ISP do have limit like this, and the choices in that scenario are either to see if the ISP allows you to purchase additional IP addresses, or to use a router instead of a hub.

A) Broadband routers use NAT (Network Address Translation) to allow multiple computers to share a single connection (without your ISP knowing that you have more than one machine connected). Hubs cannot do this.

B) Broadband routers can be configured (via port-forwarding) to allow computers on the LAN (your internal network) to act as Web, FTP, game, etc. servers to the outside world, while still providing some measures of security for those machines. Hubs cannot do this either.

DMR
Wombat At Large
Team Colleague
7,229 posts since Dec 2003
Reputation Points: 221
Solved Threads: 370
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You