How to Share an Internet Connection on LAN?

If you have a fully functional LAN then net sharing is just a few clicks away.

First, make sure that you already have a broadband connection and account configured on your PC.
Go to “My Network Places” and then “Properties,” and then select your broadband connection.
Right click on your connection and select “Properties.”
A broadband properties dialog box should appear. Select the “Advanced” tab.

See the image below:
Broadband connection properties selection.
Broadband connection properties selection.

Check “Allow other network users to connect through this computer” under Internet Connection Sharing
Uncheck both “Establish a dial-up connection whenever a computer on my network attempts to access the Internet” and “Allow other netowrk users to control or disable the shared Internet connection.”
Press “OK.”
You should see a message stating that the IP address of your PC will be set to “192.168.0.1”. Click “OK.” (If you assigned this address to any other computer then change it to something else otherwise it will create an IP address conflict error.)

Broadband connection properties dialog box.
Broadband connection properties dialog box.

A hand-like icon should appear below the broadband connection, indicating that it has been shared.

Broadband Connection after successful sharing. Note the hand icon.
Broadband Connection after successful sharing. Note the hand icon.

On the other PC you want to join the network, select “My Network Places” properties.
Right-click on your LAN connection and select properties. A LAN Properties dialog box should be appear.
Select “Internet Protocol (TCP/IP)” as you did when you assigned the IP address.
Click properties button. An “Internet Protocol (TCP/IP) properties” dialog box should appear.
Enter the “Default Gateway” and “DNS Server” IP as shown in the image below. Repeat this step on other PCs too.

Default gateway & DNS server IP assigning.
Default gateway & DNS server IP assigning.

Connect to the Internet on the server PC, the one actually attached to the Internet, then try to access the Internet on the other PC(s). Congratulations, you’re done!

Troubleshooting, In Case That Didn’t Work…

Check your LAN connection. If you can access Shared Folders then follow next step, otherwise you need to check Internet sharing from beginning.
You need to check your internet connection again. Press window key + R, now type this without quotes “ping www.google.com -t”. If you get reply as in the image below then net-sharing is OK. Your Internet browser is corrupted or its settings have been changed to use a proxy address. Please turn off all proxy addresses. Now you should able to browse.

Internet connection ping result.
Internet connection ping result.
Related Articles about LANs and Sharing

How to assign IP Addresses to the client & server PC?
How to share folder in windows XP
What is LAN (Local Area Network) ?
How to setup LAN with Crossover Connection

More by this Author

How to assign IP Address to the client & server computer?
66
Computer How-Tos & Tutorials
How to assign IP Address to the client & server computer?

In this tutorial we will learn how to assign IP address to a computer. Every PC should have its own unique IP address. Assigning same IP to other PC will give you “duplicate IP address” error. IP is like our…
How to setup LAN with crossover connection between two Windows PC (with cable color code)
21
Computer How-Tos & Tutorials
How to setup LAN with crossover connection between two Windows PC (with cable color code)

Crossover cabling is essential if you want to share files between your laptop and desktop (basically two computers). Its very cheap to prepare a crossover able. You just need two RJ45 jacks, CAT5e cable (length depends…
Multi-Dimensional Arrays (3D Arrays) in C Programming Language
36
owlcation.com
Multi-Dimensional Arrays (3D Arrays) in C Programming Language

C allows array of two or more dimensions. More dimensions in an array means more data can be held.