Connect two Computers in LAN



To create a LAN network using a crossover cable, we just need a crossover (Cross crimped RJ45 / CAT5) cable and a LAN (Ethernet) card in both computers. Most computer motherboards have
onboard ethernet these days. We refer to the 2 computers as P1 and P2.

For P1
[1] Just right-click “My Computer” and click Properties.

[2] Select the “Computer Name” tab and click the “Change” button.

[3] Change the computer name to whatever you want, here I name it P1. Change the workgroup to WG. (The workgroup name should be the same in both computers)

[4] Click OK.

Now, to configure the TCP/IP
connection settings,

[1] Goto “Control Panel” >> “Network connections”

[2] Right-click on your LAN connection and click “Properties”.
In the “General” tab, select “Internet Protocol (TCP/IP)”. Click the “Properties” button.

[3] Set the Values
IP Address – 192.168.0.1
Subnet Mask – 255.255.255.0
Default Gateway – 192.168.0.2

4. Click OK and you are done for P1

For P2
[1] Just right-click “My Computer” and click Properties.

[2] Select the “Computer Name” tab and click the “Change” button.

[3] Change the computer name to P2. Change the workgroup to WG. (The workgroup name should be the same in both computers)

[4] Click OK.

Now, to configure the TCP/IP connection settings,

[1] Goto “Control Panel” >> “Network connections”

[2] Right-click on your LAN connection and click “Properties”.
In the “General” tab, select “Internet
Protocol (TCP/IP)”. Click the “Properties” button.

[3] Set the Values
IP Address – 192.168.0.2
Subnet Mask – 255.255.255.0
Default Gateway – 192.168.0.1

[4] Click OK and you are done for P2 as well.

Now the computers will have detected each other. If they don’t, just restart both the computers.


COMMENT AND SHARE !!

Comments

Post a Comment

Popular posts from this blog

Understanding and Avoiding Race Conditions in Java

The Interplay of Money and Risk

For Java