Skip to main content

How To Connect Two Computers Using LAN Cable

If you have two computers and you want that each computer can communicate to another for data sharing, printer sharing, internet sharing, Intranet Application, 2 players game, etc, you can do using UTP / LAN Cable if in  each  computer has an ethernet card (LAN / NIC Card)

Computer to computer connection

At the moment, almost every computer has an Ethernet Card (NIC Card / LAN card).



Ethernet on Desktop PC

Laptop Ethernet port 


To connect a computer to another directly through Ethernet/LAN Card, we need a LAN Cable (UTP Cable)  with Cross-over configuration.

To Built a Cross-over LAN Cable, see the post  Cross-over UTP Configuration 



After you have a cross-over LAN cable, connect each connector of the LAN Cable to the computer.

Computer A                                              Computer B



Setting The IP Address

To be able to communicate between two computers, we need to set the TCP/IP in each computer.
The figure samples  below are For Ms Windows (Windows 7)

• Go to right down side of your windows, click the network logo, then click Open Network and Sharing Center



• Click Local area Connection


• Click Properties

• Choose Internet Protocol Version 4 (TCP/IPv4)
• Click Properties


• Choose Use the following IP address
• Set / write the IP address, for example:  192.168.0.1  
and subnet mask : 255.255.255.0
• Click OK
Ip address for Computer A

Do the same procedure for computer B, but use different IP address, for example 192.168.0.2

IP Address for Computer B


To check the connection, we can use ping command, 
Before doing the ping command, turn off the Windows Firewall first in both of computers (go to Control Panel--> Windows Firewall--> Turn off Windows Firewall)

To do the Ping Command :
• Go to Command Prompt (press Windows logo + R , then write CMD , then hit Enter)

• After Command prompt appear ( in computer A) write the ping command :
ping 192.168.0.2  then press Enter key
there must be reply from Computer B (192.168.0.2)


• Also,  do ping from Computer B to computer A 
ping 192.168.0.1  then press Enter key
must  be reply from Computer A (192.168.0.1).




Other Posts:
• How To Check ATX Power supply with Easy
• How To Convert Outlook Notes to become Text Files 

Popular posts from this blog

How to Enable Hyper Terminal In Windows 7

Hyperterminal Windows 7. Windows 7 Hyperterminal. Hyper terminal is used for data communication via serial port com or TCP/IP Winsock. Unfortunately on Windows 7, Windows 8 and Windows 10 we can't see anymore, even though many of us who still need it, and it is not the solution if we have to go back to Windows XP. The solution :

Vaio stuck on loading screen after upgrading to Windows 10

My Sony Vaio laptop model : VPCCA16FB with originally using Windows 7 operating system, then now I already upgraded it to Windows 10. All drivers are already installed for each device, everything is OK with this Windows 10 OS. The only problem is:  when I switch the laptop on or restarting it, after vaio logo appears then it stuck with blank screen and it takes about 2 minutes. After that, then it continues to loading Windows. After I googling about the problem, I am not only the one, other people also have the similar problem with their laptops. The cause is in the Ultra Low Power State (ULPS) system. ULPS is a feature or mode in hardware (graphics card) designed to save power by reducing energy consumption to very low levels. Now the problem is solved. If you have the same or similar problem, maybe this below step will help you too.

How to deny access to a drive in Windows 10

How to disable access to drives in Windows.  One of ways to  make disable access to drives in Windows (all Windows, Windows 10, Windows 8, Windows 7, also Windows server.. ), you can use Group policy editor . Below are  the steps: 1. Press Windows + R  (to open Run command ), write gpedit.msc at Run column, then hit Enter or click OK.