In this article, we are going to learn how to setup a LAN connection to connect between two different computers, both having Windows 7 Operating system – by Peer to Peer (P2P) Network. If one machine have 32 bit and another with 64 bit, it won’t be matter as its has been fully tested by me. To make a LAN connection between two computers, its recommended to use a crossover cable as come older Network Interface Cards (NIC) doesn’t support straight cable if two computers are directly connected through it.
What we need
- Two computers with Windows 7 operating system
- A crossover LAN cable
On computer 1
- Go to properties of My Computer (Win+Pause) > Advanced system settings > Computer Name tab.
- Press the Change button.
- Let’s name it WIN7-PC1, choose Member of to WORKGROUP and press OK and restart computer.
Computer Name and Workgroup on – Windows 7 PC1 - Go to Control Panel > Network and Sharing Center > Change Adapter Settings > open properties of the LAN adapter.
- Select Internet Protocol Version 4 (TCP/IPv4) > click on Properties > select Use the following IP address
- Set IP address: 192.168.0.1, Subnet mask: 255.255.255.0, Default gateway: blank, DNS: blank
LAN IP Configuration on – Windows 7 PC1 - Press OK.
On computer 2
- Go to properties of My Computer (Win+Pause) > Advanced system settings > Computer Name tab.
- Press the Change button.
- Let’s name it WIN7-PC2, choose Member of to WORKGROUP and press OK and restart computer.
Computer Name and Workgroup on – Windows 7 PC1 - Go to Control Panel > Network and Sharing Center > Change Adapter Settings > open properties of the LAN adapter.
- Select Internet Protocol Version 4 (TCP/IPv4) > click on Properties > select Use the following IP address.
- Set IP address: 192.168.0.2, Subnet mask: 255.255.255.0, Default gateway: blank, DNS: blank
LAN IP Configuration on – Windows 7 PC2 - Press OK.
HomeGroup & File and Printer sharing settings
HomeGroup Settings
- Open Control Panel > Network and Sharing Center >View your active networks > Note the network profile (below the network name).
Windows 7 – Network and Sharing Center - Open Control Panel > HomeGroup > Change advanced sharing settings… > Choose the network profile.
- Select Turn on/off network discovery as required.
- Select Turn on file and printer sharing.
- Select Turn on sharing so anyone with network access can read and write files in the public folders.
- Select Turn on/off password protected sharing as required.
Windows 7 – HomGroup Settings 2 Windows 7 – HomGroup Settings 1 - Press Save changes button.
File sharing
- Open properties of any folder or drive that we want to share > open Sharing tab.
- If sharing a folder, click on Share > type Everyone > click Add (Change permission level as required).
- Press share > done > close.
- If sharing a drive, open its properties > Security tab > Advanced > Changed Permission.
- Press Add button > type Everyone on Enter the object name to select > press OK.
- Now allow or deny permission as required. Check Allow on Full Control for 777 permission.
- Press OK > OK > go to Sharing tab > Advanced Sharing> Share this folder (change permissions as required) > OK > Close.
- The shared drive/folder will be visible to opposite computer’s Network.
Printer Sharing
- Open Start menu > Device and Printers > Select printer and right click > Printer properties.
- Open Sharing tab > check Share this printer > press OK.
- The shared printer will be visible to opposite computer’s Network.
Please check the parent article for more information on computer networking: http://w3epic.com/connect-win-xp-win-7-win-8-server-2008-ubuntu-with-each-others
Need help, just leave a comment – I’ll be back to you.
Thanks.