Easy Ways to Set Up and Connect to a Local Area Network (LAN)

This article was co-authored by Mitch Harris. Mitch Harris is a Consumer Technology Expert based in the San Francisco Bay Area. Mitch runs his own IT Consulting company called Mitch the Geek, helping individuals and businesses with home office technology, data security, remote support, and cybersecurity compliance. Mitch earned a BS in Psychology, English, and Physics and graduated Cum Laude from Northern Arizona University.

This article has been viewed 1,224,278 times.

A local area network (LAN) is a network of devices that are all connected to each other in a single physical location, like a home or office building. This wikiHow will teach you how to set up a LAN to connect multiple Windows PCs.

How to Connect to a Local Area Network (LAN)

Connect a modem to the WAN port on the back of your router. Plug your computer into an open LAN port on your router with an Ethernet cable. Test your network connection, and turn on sharing for files or printers so any connected computer can access them.

Method 1 of 3:

Setting Up the LAN

Step 1 Determine the number of computers you want to connect.

Step 2 Determine your network layout.

Advertisement

Step 3 Obtain the network hardware.

Obtain the network hardware. To create a LAN, you'll need a router and/or a network. These pieces of hardware are the "hub" of your LAN, and all of your computers will be connected to them.

Step 4 Connect your modem to the WAN port on the router.

Step 5 Connect the switch to a LAN port on the router.

Connect the switch to a LAN port on the router. If you're using a network switch to connect more computers, connect it to one of the LAN ports on the router. You can use any open port on the switch to make the connection. When connected, the router will provide IP addresses for every computer that is connected to either device.

Advertisement Method 2 of 3:

Connecting Your PC

Step 1 Find the Ethernet port on your PC.

Step 2 Plug one end of an Ethernet cable into your computer.

Plug one end of an Ethernet cable into your computer. Make sure you're using an Ethernet cable (RJ45), not a telephone cable (RJ11).

Step 3 Plug the other end of the cable into an open LAN port.

Plug the other end of the cable into an open LAN port. This can be any open LAN port on either the router or the switch, depending on your LAN setup.

Step 4 Test out your network (router only).

Test out your network (router only). If you're using a router, your work is complete. Once all of the computers are connected to a LAN port, they will be assigned IPs automatically and will appear on the network. If you set up your LAN for gaming, you should be able to start your LAN game and have each computer connect. [2] X Expert Source

Step 5 Enable file and printer sharing.

Enable file and printer sharing. You won't be able to access resources on a networked computer until file and printer sharing is enabled. You can select specific files, folders, and drives to share on each computer, as well as share access to printers.

Advertisement Method 3 of 3:

Assigning IP Addresses (No Router)

Step 1 Right-click on your network connection.

Fair Use (screenshot)
\n">

<a href=Step 2 Click Open Network and Sharing Center." width="460" height="345" />

Fair Use (screenshot)
\n"> Click Open Network and Sharing Center .

Step 3 Click the Ethernet link at the top of the window.

Fair Use (screenshot)
\n"> Click the Ethernet link at the top of the window. You'll see this next to "Connections."

Step 4 Click Properties.

Fair Use (screenshot)
\n"> Click Properties .

Step 5 Click Internet Protocol Version 4 (TCP/IPv4).

Fair Use (screenshot)
\n"> Click Internet Protocol Version 4 (TCP/IPv4) . Make sure you don't uncheck it, just highlight it.

Step 6 Click Properties.

Fair Use (screenshot)
\n"> Click Properties .

Step 7 Click the Use the following IP address radio button.

Fair Use (screenshot)
\n"> Click the Use the following IP address radio button.

Step 8 Type 192.168.1.50 into the IP address field.

Fair Use (screenshot)
\n"> Type 192.168.1.50 into the IP address field.

Step 9 Type 255.255.0.0 into the <a href=Subnet mask field." width="460" height="345" />

Fair Use (screenshot)
\n"> Type 255.255.0.0 into the Subnet mask field.

Step 10 Type 192.168.0.0 into the Default gateway field.

Fair Use (screenshot)
\n"> Type 192.168.0.0 into the Default gateway field.

Step 11 Click OK.

Fair Use (screenshot)
\n">

Click OK . This will save the settings for that computer. This computer is now configured on your network with a unique IP address.

Step 12 Open the Internet Protocol Version 4 properties on the next computer.

Fair Use (screenshot)
\n">

Open the Internet Protocol Version 4 properties on the next computer. Follow the steps above on the second computer to open the Internet Protocol Version 4 (TCP/IPv4) Properties window.

Step 13 Click the Use the following IP address radio button.

Fair Use (screenshot)
\n"> Click the Use the following IP address radio button.

Step 14 Type 192.168.1.51 into the IP address field.

Fair Use (screenshot)
\n">

Type 192.168.1.51 into the IP address field. Notice that the final group of numbers has incremented by 1.

Step 15 Enter the same values for Subnet mask and Default gateway.

Fair Use (screenshot)
\n">

Enter the same values for Subnet mask and Default gateway . These values should be the same as they were on the first computer (255.255.0.0 and 192.168.0.0 respectively).

Step 16 Give each additional computer a unique IP.

Fair Use (screenshot)
\n">

Give each additional computer a unique IP. Repeat these steps for each additional computer, incrementing the IP address by 1 each time (up to 255). The "Subnet mask" and "Default gateway" fields should be the same on each computer.

Advertisement

Expert Q&A

What is subnet mask in IP addresses? Mitch Harris
Consumer Technology Expert

Mitch Harris is a Consumer Technology Expert based in the San Francisco Bay Area. Mitch runs his own IT Consulting company called Mitch the Geek, helping individuals and businesses with home office technology, data security, remote support, and cybersecurity compliance. Mitch earned a BS in Psychology, English, and Physics and graduated Cum Laude from Northern Arizona University.

Consumer Technology Expert Expert Answer A subnet mask separates where the inside of the network is and where the outside world is.

Thanks! We're glad this was helpful.
Thank you for your feedback.
If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission. Support wikiHow

What should I do if any website is not opening? Mitch Harris
Consumer Technology Expert

Mitch Harris is a Consumer Technology Expert based in the San Francisco Bay Area. Mitch runs his own IT Consulting company called Mitch the Geek, helping individuals and businesses with home office technology, data security, remote support, and cybersecurity compliance. Mitch earned a BS in Psychology, English, and Physics and graduated Cum Laude from Northern Arizona University.

Consumer Technology Expert Expert Answer

Make sure that you've entered a DNS server—if you haven't, you'll receive an error related to DNS and you won't be able to access any webpages. You can enter Google's free server with "8 8 8 8" or "8 8 4 4". If you use Comcast, enter "7 5 7 5 7 5 7 5" or "7 5 7 5 7 6 7 6".

Thanks! We're glad this was helpful.
Thank you for your feedback.
If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission. Support wikiHow

How do I connect a printer to a LAN? Community Answer

Properly configure the IP of the printer, and connect it to your switch or router -- preferably a router (it will assign an IP that is compatible to your network). Make sure the port you are using is open.

Thanks! We're glad this was helpful.
Thank you for your feedback.
If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission. Support wikiHow

Ask a Question 200 characters left Include your email address to get a message when this question is answered. Advertisement

Tips

Submit a Tip All tip submissions are carefully reviewed before being published Please provide your name and last initial Thanks for submitting a tip for review!

You Might Also Like

Create a Local Area Network (LAN)

Create a Local Area Network (LAN)

Find the MAC Address of Your Computer

Find the MAC Address of Your Computer

Connect Two Computers

Connect Two Computers How to Check if a Port is Open: 5 Quick Ways

Change a Computer

3 Ways to Change a Computer's Mac Address in Windows

Join a Computer to a Domain

How to Join a Domain on a Windows Computer or Mac

Connect One Router to Another to Expand a Network

Connect One Router to Another to Expand a Network

Set Up Port Forwarding on a Router

How to Forward a Port on Any Router: Easy Guide

Get a MAC Address from an IP Remotely

Get a MAC Address from an IP Remotely

Check Your Firewall Settings

Check Your Firewall Settings

Set up a Network Drive

How to Set up a Shared Network Drive

Track a Person

Track a Person

Test a LAN Cable

Test a LAN Cable

Connect a PC to a Network

How to Connect a PC to a Network