How To Connect Two Computers On A Network (2024)

HomeNetworking

ByAnup Thapa

How To Connect Two Computers On A Network (1)

Connecting two computers has a number of benefits, the main one being the ability to share and modify resources across both systems.

In the past, you’d typically use crossover cables to connect two computers, but this usually isn’t required anymore. In fact, thanks to technologies such as WiFi, Bluetooth, Hotspots, etc., wireless is the new meta.

In this article, we’ve detailed the steps to connect two computers on a network with these and more technologies. So, depending on which method you prefer, you can check the appropriate sections accordingly.

Ways to Connect Two Computers

The most common method is to connect two computers over a local network. However, other methods like VPNs or Bluetooth may be better options depending on your circ*mstances.

Connect Over Local Network

Getting two computers to communicate is very simple if they’re connected to the same Wi-Fi. In this case, you can skip ahead to the File Sharing section further in the article. However, if Wi-Fi isn’t an option, some preliminary steps are required to get the two machines on the same local network. The next two sections will deal with this.

Ethernet

The first method is to connect the two with an Ethernet cable and assign a static IP to the machines. Here are the steps to do so on Windows:

  1. Press Win + R, type ncpa.cpl, and press Enter.
  2. Right-click the Ethernet connection and select Properties.
  3. Select Internet Protocol Version 4 (TCP/IPv4) and click on Properties.
    How To Connect Two Computers On A Network (2)
  4. Select the Use the following IP Address option and assign the IP manually.

Here’s how you can set a static IP on Mac:

  1. Click on the Apple logo and select System Preferences > Network.
  2. Select your network from the left pane and click on Advanced.
  3. Select Configure IPv4 Manually, assign your IP address, and press OK.
    How To Connect Two Computers On A Network (3)

WANET

The second method is to create a wireless ad-hoc network (WANET) which allows you to wirelessly form a local network without a router. Here are the steps to do so on Windows:

  1. Press Win + R, type powershell, and press CTRL + Shift + Enter.
  2. Type netsh wlan show drivers and press Enter.
  3. Check that the Hosted Network Support section shows YES. If it doesn’t, you may need to update your network drivers.
    How To Connect Two Computers On A Network (4)
  4. Next, type netsh wlan set hostednetwork mode=allow ssid=name key=password.
  5. Replace name and password with your preferred values and press Enter.
  6. Finally, type netsh wlan start hostednetwork and press Enter.
    How To Connect Two Computers On A Network (5)
  7. You should be able to connect to the network from the other device now as if you were connecting to any other Wi-Fi.

Here’s how you can do the same on Mac:

  1. Click on the Apple menu and select System Preferences > Network.
  2. Select WiFi from the left pane and click on Advanced.
  3. Enable the Show legacy networks and options checkbox and press Ok > Apply.
    How To Connect Two Computers On A Network (6)
  4. Next, click on the WiFi icon from the menu bar and select Create network.
  5. Name the network, select a channel, and press Create.
  6. Your Mac’s network will now be accessible to other devices.

File Sharing Permissions

The most common reason for connecting two computers is to access, modify, and share resources between the two systems. There are two parts to this; the first is enabling file sharing on the two systems, and the second is actually sharing the files.

Assuming you’ve followed the steps listed above to connect the two computers, here’s how you can do this onWindows machines:

  1. Press Win + R, type control, and press Enter.
  2. Go to Network & Internet > Network and Sharing Center > Change advanced sharing settings.
    How To Connect Two Computers On A Network (7)
  3. Expand your current network profile.
  4. Enable the Network Discovery and File Sharing options and save the changes.
    How To Connect Two Computers On A Network (8)
  5. Right-click the folder or drive you’re trying to share and select Properties.
  6. Go to the Sharing tab and click on Advanced Sharing.
  7. Enable the Share this folder option and press OK.
    How To Connect Two Computers On A Network (9)
  8. The folder’s network path should be displayed in the Sharing tab now. You can use this path to map the folder as a network drive on the second PC, or you can simply access it via File Explorer > Network.

Here’s how you can share files from Windows to Mac:

  1. Follow the steps from the section above to share the folder from Windows.
  2. Type ipconfig in a Command Prompt window and note the Ethernet adapter’s IPv4 address.
    How To Connect Two Computers On A Network (10)
  3. On the Mac, select Go > Connect to server.
  4. Enter smb://IP and replace IP with the value fromStep 2.
    How To Connect Two Computers On A Network (11)
  5. Press Connect, enter the Windows account’s login credentials, and press Connect again.
  6. After you select the volume to mount, you’ll be able to access it via the Finder.

Finally, here’s how you can transfer files from Mac to Windows instead:

  1. Click on the Apple menu and selectSystem Preferences > Sharing.
  2. Enablethe File Sharing tickbox, note the Mac’s IP, and click onOptions.
    How To Connect Two Computers On A Network (12)
  3. Select theShare files and folders using SMBoption.
  4. Select the account you’ll use to log in from the Windows PC, enter the password, and press Done.
    How To Connect Two Computers On A Network (13)
  5. Under Shared Folders, press the Add (+) button.
  6. Browse and select the folders to share and press Add.
  7. On the Windows system, go to File Explorer > Network. You’ll be able to connect to the Mac from here.

Bluetooth

Assuming both computers support Bluetooth and range isn’t an issue, Bluetooth is a very convenient way to connect two computers. Here’s how you can send and receive files via Bluetooth on Windows:

  1. Press Win + I and select Bluetooth & devices.
  2. Press Add device +, select the other computer and follow the on-screen instructions to pair the computers.
    How To Connect Two Computers On A Network (14)
  3. After they’re paired, go to Bluetooth & devices > Devices and click onSend or receive files via Bluetooth.
    How To Connect Two Computers On A Network (15)
  4. Click Send files on one computer, and Receive files on the next.

Here’s how you can do the same on Mac:

  1. Click on the Apple menu and select System Preferences > Bluetooth.
  2. Select the other computer and press Connect > Accept.
    How To Connect Two Computers On A Network (16)
  3. After they’re paired, go to System Preferences > Sharing and enable Bluetooth Sharing. You can configure the options as you prefer.
    How To Connect Two Computers On A Network (17)
  4. Press Shift + Command + U and open Bluetooth File Exchange.
  5. Select File > Send File, pick a file, and click Send.
    How To Connect Two Computers On A Network (18)
  6. Select the other computer from the list and press Send again.

VPN

In the context of remote work, VPNs are commonly used to access resources on a private network remotely. Here’s how you can set up a VPN on Windows:

  1. Press Win + I and select Network & Internet.
  2. Select VPN > Add VPN and input the connection details.
    How To Connect Two Computers On A Network (19)
  3. Name the connection as you prefer, enter the address of the VPN server you’re trying to access, input your login details, and press Save.
    How To Connect Two Computers On A Network (20)
  4. After the VPN is listed under VPN connections, press Connect.

Here’s how you can do the same on Mac:

  1. Click on the Apple menu and select System Preferences > Network.
  2. Click on Add > VPN and select the VPN type.
    How To Connect Two Computers On A Network (21)
  3. Name the connection and press Create.
  4. Enter the VPN server address and login details.
  5. If necessary, you can also input additional info such as TCP/IP or DNS from the advanced tab.
  6. Press Apply > OK and enable the Show VPN status in menu bar option.
    How To Connect Two Computers On A Network (22)
  7. You can now use the VPN status icon to connect to the VPN.

Hotspot

Here’s how you can create a hotspot on Windows:

  1. Press Win + I and select Network & Internet.
  2. Click on Mobile Hotspot and select Share my internet connection from Ethernet / Wi-Fi.
    How To Connect Two Computers On A Network (23)
  3. Select Share over Wi-Fi or Bluetooth.
  4. Click on Edit, input the network info, and press Save.
    How To Connect Two Computers On A Network (24)
  5. Once you turn on the Mobile Hotspot, you should be able to connect to it from the other computer.

Here’s how you can do the same on Mac:

  1. Click on the Apple menu and select System Preferences > Sharing > Internet Sharing.
  2. In the Share your connection from section, select Wi-Fi.
    How To Connect Two Computers On A Network (25)
  3. In the To computers using section, select Wi-Fi as well.
  4. Click on Wi-Fi Options and configure the hotspot settings.
How To Connect Two Computers On A Network (2024)

References

Top Articles
Latest Posts
Article information

Author: Jonah Leffler

Last Updated:

Views: 5726

Rating: 4.4 / 5 (65 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Jonah Leffler

Birthday: 1997-10-27

Address: 8987 Kieth Ports, Luettgenland, CT 54657-9808

Phone: +2611128251586

Job: Mining Supervisor

Hobby: Worldbuilding, Electronics, Amateur radio, Skiing, Cycling, Jogging, Taxidermy

Introduction: My name is Jonah Leffler, I am a determined, faithful, outstanding, inexpensive, cheerful, determined, smiling person who loves writing and wants to share my knowledge and understanding with you.