0

I have a computer and its Motherboard has two LAN Ports like in this image:

enter image description here

I have two other computers that I would like to connect to this computer.
How should i do this?

0

3 Answers 3

2

If the Internet connection is not important, all you need is a pair of crossover UTP cable. Then, connect server with the client PC's, and configure IP's on every host. Simplest way, is to go with something like

  • 10.0.0.1 for server
  • 10.0.0.2 for PC1
  • 10.0.0.3 for PC2

For such network, mask is not very important, but you must use max. 29 bit mask (255.255.255.248). This mask MUST be the same on every host (both server and clients). You don't need to set up default gateway nor DNS servers.

And done.

7
  • thanks for helping but server has two Ethernet port i should assign 10.0.0.1 for both of them? Sep 17, 2011 at 20:29
  • 1
    Damn, right. Each interface must have its own IP address, so on server i.e. eth0 - 10.0.0.1, eth1 - 10.0.0.2
    – mcmajk3l
    Sep 17, 2011 at 20:34
  • is important to use crossOver cable? Sep 17, 2011 at 20:39
  • 2
    It depends on cards installed on your device. If they support auto mdi(x), it's not necessary to use crossover. If not, simple, straight-through cable won't even work. Best way to check this, is to connect two of these computers with a straight-through cable. When LED's won't even blink - you need crossover. ;)
    – mcmajk3l
    Sep 17, 2011 at 20:44
  • 1
    I'd recommend using a hub or switch, if you want each computer to be able to talk to the other. Sep 17, 2011 at 21:02
5

If you want this computer connected to the internet then you will have to connect all three up to a switch, if the server, or other device on the networkm is acting as a DHCP then they will pick up addresses from that, if not you will have to assign them.

You could also mess about connecting the LAN ports of the 3 PC's with ethernet cables (Might have to be crossover cables depending on the NIC's available) Set the IP addresses into a correct range and they should all be able to communicate with each other.

8
  • Easiest is the router/switch, which you can pick up from a store. Or get one used from Craigslist for practically nothing.
    – Keltari
    Sep 17, 2011 at 19:43
  • No. internet is not important. Sep 17, 2011 at 19:47
  • I want just connect thise clients to this server and i request you for say step by step Sep 17, 2011 at 19:48
  • 3
    For step-by-step, we're gonna need to know the Operating Systems on the server and the two other computers Sep 17, 2011 at 19:53
  • i want know about networking steps. Sep 17, 2011 at 20:08
0

You do not need to set interfaces to correct addresses unless you are using a Server Operating System which has default IP addressing TURNED OFF. By default, workstation operating systems - Linux, OSX, Windows, have default IP addressing TURNED ON. (and it's been that way for many years now). EVEN IF THERE IS NO DHCP MODEM/ROUTER, workstations by default will all choose interoperable IP addresses and subnet.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .