Sunday, July 21, 2013

How to connect two PCs by LAN (Ethernet) for Internet

Most of people don't know how to connect two PCs by LAN. So today i decided to create article on how to connect two PCs by LAN. There are many ways to connect two PC's, but connecting them together by LAN is the easiest and most cost effective way. Plus, you can use this method for any number of PC ofcourse if you have... For this ,What you need:


  1.  2 PCs with Ethernet Cards or Onboard Ethernet

  2. Most new motherboards come with onboard Ethernet,
    you can check this out in
    My Computer > Properties > Hardware > Device Manager > Network Adapter.

  3. A Crossover Ethernet cable.

  4. The normal Ethernet cables won’t work, you must have a cross crimped Ethernet cable which can be used to transmit data in both directions.

  5. A Ethernet Hub

  6. A Ethernet hub is needed if you plan to connect more than two PCs. If you want to connect just two PCs, you can do it directly without a hub.

How to do it:
First of all Connect the crossover Ethernet cable to the LAN (RJ45) ports of both the PCs.

PC - 1:
  • Go to My Computer > Properties > Computer Name.
  • Change the Computer Name to A and Workgroup name to ABC and click OK to save changes.
  • Go to Control Panel > Network Connections.
  • Right click on your LAN connection and select Properties.
  • Select Internet Protocol (TCP/IP) > Properties.
  • Enter these values: IP Address - 192.168.0.1 and Subnet Mask - 255.255.255.0
  • Leave the other fields blank and click OK to save changes.
  • Go to My Computer > Properties > Computer Name.
  • Change the Computer Name to B and Workgroup name to ABC and click OK to save changes.
  • Go to Control Panel > Network Connections.
  • Right click on your LAN connection and select Properties.
  • Select Internet Protocol (TCP/IP) > Properties.
  • Enter these values: IP Address - 192.168.0.2 and Subnet Mask - 255.255.255.0
  • Leave the other fields blank and click OK to save changes.
After the connections and settings have been saved, both the PCs should be connected by LAN. You may need to restart both the PCs.

You can check if the connection is working by pinging one PC from the other.
For PC-1, Start > Run > CMD > ping 192.168.0.2
For PC-2, Start > Run > CMD > ping 192.168.0.1
You can view the PC's in My Network Places.

Also You can now use this LAN connection to play multiplayer games or share files.

You can also map a drive on another PC to a local drive by using My Computer > Tools > Map Network Drive > Select Drive Letter and network path of the shared folder on the other PC.