Skip to main content

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 network 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 “”. 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!


  • Check your LAN connection. If you can access Shared Folders, then follow the next step. Otherwise, you'll 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 -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.

This article is accurate and true to the best of the author’s knowledge. Content is for informational or entertainment purposes only and does not substitute for personal counsel or professional advice in business, financial, legal, or technical matters.


anonymous on July 21, 2019:

Doesn't work. I can ping the other computer but not the internet.

Anu on December 07, 2018:

I have confusing how to share my file pc 2 pc okk

reiner barillo on August 25, 2018:

i have an internet connection for my pc, can i use this both on my pc and on my smart tv?

Haresh on April 17, 2018:

I habe GTPL internet connection at my home. Can I use same connection in another location ( diffrent place)

Means I want to use one connection in two diffrent place

geo on November 10, 2014:

i have 2 desktop pcs

1 pc connected via weird connection of Dlink 2730u Modem + Router With Airtel Kerala connection.

Another Pcconnected via wireless Adptor Dlink

these 2 pc has get internet..but cannot Acess network

home group,same,,, firewall off...all r same

how can i solve this issue????

samsung andiord pc suito on December 02, 2013:

samsung pc

mehul on May 18, 2013:

i have connected two computer with cross lan wire and manually configure ip address but we cant connect error path not found pls help me

Hakan on May 02, 2013:

Thank you too much.

It helped me too much and these instructions are completely correct. I used it on one LAN pc with 3g connected, one laptop with wireless and two android phones with wireless. There was a Zyxel ADSL modem with one lan port and wireless feature. Only don't forget to assign same ip class for other computers like,,,

Thanks again...

Raj on March 18, 2013:

Dear Sir,

I Do have BSNL broadband, I want to share internet in other laptop, using repeater device.

One laptop windows 7 and Xp.

what can be done.

R BLACK BILLA on February 24, 2013:



RAJKISHOR SAHU (author) from Bangalore, Karnataka, INDIA on December 28, 2012:

@Pradeep: Yes you can do it.

Pradeep on December 24, 2012:

I am using sony ericsson C510. I want to use pc internet on my phone. How can i do it?? Please reply

PDs on April 02, 2012:


I have a small network of 6 PCs with static IP address of 10. series. I have a broad band connection. Now I want to share the broad band connection to all the PC via switch, without changing the static IP of all the computers. How can I do it, Pl relpy early.

Emmanuel on March 10, 2012:

i want to share three pcs with three pcs the automatic method ok. how will go about it.

bobo on March 10, 2012:

really need help here.. i'm using windows xp and i want to share my internet connection with my housemate. i'm the host and my housemate is using a laptop running on windows vista.. can you help me please.. really appreciate it.. thanks

Shrinivas Patil on February 29, 2012:

Thanks a lot. I was trying for it for quite long time.. finally i did it because of you..

DanG on February 27, 2012:

Thank you very much indeed. have a good day !


Aavickyviki on February 08, 2012:

Thank you...

Jenny on February 08, 2012:

I am so confused and getting frustrated I hope someone can help me. I have a siemens speedstream 6250 router which was previously used with a dsl. well i want to use it with my ethernet (i have satellite internet) but it won't let me hook up my wireless. I have tried different things and checked different sites with no solution. any suggestions?

bob on February 05, 2012:

I have a cisco camera that i have connected in my LAN. Need to get access from outside LAN and i am battelingh with the port forwarding on my TP-Link router. any sugestions?

naveen on January 31, 2012:

i have my office internet connection with static ip connection.

i want to share interconnection to two systems

so wat is the configuration to do share the internet

uthpal on January 26, 2012:

I have two Desktop Computer & have broad band connection but t want to share Inter connection

amodtta from shahjahanpur on January 20, 2012:



a_visitor04 on January 15, 2012:

any buddy can help .

i av lan connection and connect lan wire into dsl wifi and then connect internet to my laptop by vpn dialer of server. and but my mobile is not connecting to internet by directly to dsl router it just connect to dsl not to internet. and i tried to share internet from my laptop by ad hoc connection. when i connect to ad hoc my then my dsl wifi disconnect automatically. any buddy av solution for this situation?. then please mail me on hotmail my id is shown in my name thank you

Nasir Ahmed on January 14, 2012:

Hi Dear,

I am a computer operator from long time. But I do not know how to LAN and Wireless Networking and cable connecter setting.

Please Suggest me about this subject.

MADHU on January 14, 2012:


prabhu on January 06, 2012:

We have working lan with 10 systems. With ip_address ... When i tried to share INTERNET as suggested above my sharing machine ip address changed to and it is not connected to other machines on lan.

what is the remedy for this. please suggest.

thanking you

soumaila anza on January 06, 2012:

please i have a network with server 2003 active directory is it possible to enable ics on this network

this is my mail


kevin on January 04, 2012:

greeting raj! i have 2 laptop and 2 desktop. how can i share internet? i have buy an switch 5 port. but when ever i cannot all the RJ's and everthing. only 1 computer (destop) is receive the internet. i cannot seem SEE the check box “Allow other network users to connect through this computer" this the destop that only receive the net!!

please help!reply asap, good day!

Syed Ahmed on January 04, 2012:

how to share internet to my other system I have an ip and gateway is and i want to share internet through LANCARD.

July on December 29, 2011:

I liked your hub page but i couldn.t get my solution. What should i do to connect internet to two computers if a single router?

Shane on December 28, 2011:

hey I tried aqgain going from pc to laptop and amazingly it worked again properly.

Will see if it stays working.


Hany on December 27, 2011:


I Can't play online movies like (youtube movies) on mobile when I use internet sharing.

pleas tell me if i can resolve this problem by open more access on my PC to the mobile or anything else

RAJKISHOR SAHU (author) from Bangalore, Karnataka, INDIA on December 24, 2011:

@Hany : I didn't get your question, can you explain it?

Hany on December 24, 2011:


kindly advise me if the movies streaming online work with internet sharing between PC and Mobile

please reply to me this is the second time asking you about this matter


Shane on December 22, 2011:

Hi, I used to share my internet between 2-3 desktops a few years back, using both dial-up and broadbrand, i have recently purcahsed a laptop and set up a LAN network using an ethernet cable from my desktop to my dynalink router and then connected my laptop to the router via wireless(now have dial-up). The LAN works fine, I can do gaming and file/printer sharing, and I eventually got an Internet Gateway late one night, i dont know how i got it, it was just there. the next morning it disappeared but was still internet sharing, then that stopped aswell. Today i managed to get the internet gateway back using static IP's, and everything you mentioned in the steps other than DNS server but i still cant use the internet on the other computer, regardless of whether i use it through my laptop or my desktop, i changed this after reading your article, didn't help at all, then done the proxy command promt and it came up can i get internet sharing back?????

Thanks HEAPS

MrMarte on December 15, 2011:


I have a LAN with,,,,..... of 10 devices. I have a ADSL internet connection with dynamic IP and I want to share the internet with the whole LAN. I have a router with a WAN port were I connect the internet to and 4 LAN ports where I can daysi chain the LAN to. If I connect a PC to the router it'll have access to the internet, but the computers in the LAN does not... I do have network conection between the PC in the router and the other PCs in the LAN... any advice?

Roshan on December 14, 2011:

Hey raj, me Roshan from nepal,

I have one inbuilt Lan and one external lan card. I want to input the internet connection to inbuilt lan and output the internet connection from external lan card. so what is the easy procedure that i can share this network for other computer..... will be waiting for you help

Yoh on December 12, 2011:

1000+ ping !!!

really the worst ping i've ever heard., check for it., may be the routing length is long or etc.,

normally lessthan 100ms ping is negligible from google***

Nikhil on December 12, 2011:

Can i use Office LAN and Datacard same time on laptop?

If possible send me setting.



Kamaljit on December 06, 2011:

In my LAN card propertise, in Advance tab, the "internet sharing" option is disabled. From where and how I can enable it ?? Please help me...

vignesh on November 14, 2011:

hey,how can I start same internet connection in 2 computers?i have only 1 internet cable wire which comes frm main can I use it in both pc's??plz help

VICKY on November 13, 2011:




kuamr on November 13, 2011:


thank you very much i solved my long problem

manya on November 09, 2011:

I am having a problem sharing internet in my wireless LAN. all the othr conections are ok including sharing files and folders and I can even print from each individual computer however even after sharing the internet I still cannot access internet from any other pc apart from the main server please help

RAJKISHOR SAHU (author) from Bangalore, Karnataka, INDIA on November 08, 2011:

@ RAJU : You can Google for software, i believe there is something similar.

Raju on November 08, 2011:

How can I distribute internet in shared internet connection in LAN.?

In LAN where all computers connect to internet through a server computer running windows XP and shared internet connection, can we limit each computer connected to it to use only specific bandwidth e.g computer A should use only 8Kbps and computer B should use only 6KBPs etc.

rabindranath k on November 06, 2011:

What is processer to open cyber cafe, any lience reqiured pl tell me.

ali raza on November 05, 2011:

how can I share my dialup dsl connection with my neighbour and how to give him a different ip address?

venkat on October 31, 2011:

Hii.. I've different issue sharing BSNL Broadband internet connection through a DSL Type 4 modem in a domain...

we have win2003 server active directory is installed a domain is already setup now i've connected internet to one of the system and given sharing and successes the connection able to access internet for selected user in a worked fine for 30 min then soon i received one messaged " generic host processing " in modem connected system as i press don't send then it stop internet nothing is working in that PC it's not communicating with Other pc's in the lan ...i've firt i run services DNS Client,RPC,workstation also even though it's not communicating until i restart the Pc it's not working as soon as i restart then again it communicate with other Pc for 10 min and stop's

...... then i removed the BSNL Broad band connection and placed Reliance Broadband in the same Pc it's work for few days and again it's also stop working .... please help and send me the solution on my ..e-mail please send me soon thanks

muhammad sajjad on October 26, 2011:

me net cable ko apni device se karna chahta hon phir device se computer per conncet karna chahta hon mager device me sirf ek hi port hai

Greg on October 25, 2011:

You article is great, and I was able to follow it closely. I am try to connect the wireless internet from my lap top to my PC that has no wireless and is too far from the modem to give it a wired connection.

Whenever I try I try the process above I get this message:

"An error occurred while Internet Connection Sharing was being enabled.

Internet Connection Sharing cannot be enabled. A LAN connection is already configured with the IP address that is required for automatic IP addressing."

I have tried to "release" and "renew" the ip address of both computers, but the PC cannot renew because it cannot connect. I am running Windows 7 on both computers (but the process for sharing is the same as XP, could follow relatively all steps).

Can you help me? I have done multiple Google searches with no luck at all, just getting more confuse.

Thanks in advanced,


Dev on October 25, 2011:

This really works for me thanks raj you are really great..

Hany on October 14, 2011:


kindly explain how to watch movies on line with internet sharing specially youtube on my mobile ( samsung s5620 Monte)

RAJKISHOR SAHU (author) from Bangalore, Karnataka, INDIA on October 09, 2011:

@Anupam Mishra: Same method which i discussed here will help you to share internet on LAN.

RAJKISHOR SAHU (author) from Bangalore, Karnataka, INDIA on October 09, 2011:

@shailesh : I guess there is some software for same, please check that in Google.

shailesh on October 09, 2011:

i want to ask, if there is any method by which we can allocate different bandwidths to different users connected on a shared LAN. for eg, if i and my friend are connected to same LAN and my frind is downloading a movie. so i get less speed. i want to know if by any way i can increase my speed, may at the cost of his speed. or to put it in a better way, can i set priority so that LAN will respond to my requests???

Anupam Mishra on October 08, 2011:


I have a bsnl modem in our network and want to give internet connectivity on each and every pc which are in domain so thst thy can use internet on each and every pc at a same time.

Please Help

RAJKISHOR SAHU (author) from Bangalore, Karnataka, INDIA on October 07, 2011:

@victor : you have to share your 3g internet connection on PC,

victor on October 06, 2011:

gr8 work here i need help plssssss. i connect to the net 2ru my 3g phone connected to pc via bluetooth. How can i share the connection with a client pc with erthernet cable or usb. urgent plss my email

sufol on September 30, 2011:

hi!! i have a LAN with,,,,..... of15 PC and my PC have two LAN card, one is connected with Broadband connection with IP and another is assigned IP for LAN sharing Files and Folders. I want to access internet connection with other PC on my local network. how can i do this can anyone help me please!!

kunal on September 16, 2011:

i have 4 computers in my cafe and i want them to connect to internet . i have a bsnl connection . plz help me .

Suresh on September 12, 2011:


Digant Dwivedi on September 08, 2011:

Sir i am done all the steps as you give above but my internet connectiog is not shared yet nmow

sameer. on September 07, 2011:

my company as internet connection. in router i asked isp to configure static lan ip.i want to create a server so from there all 20 pc to obtain ip address automatic ? hw it can be done?

Tina on September 04, 2011:

Hi, I have a personal laptop at home with broadband connections, and I am doing my studing from home using desktop from my study institution with no connection to the internet. Please help me to share broadband internet connection with this desktop?

apurba on August 28, 2011:

thanks.i connect my computers by using your method.but how can i connect tow computers if one of them is xp and another is windos7.pls rp..

Sojan Francis on August 13, 2011:

I have a broadband connection (cable net) from asianet, connected through a cable modem. Without using wireless router, can I share the net among multiple laptops.

Suresh on August 11, 2011:

Thank you very much.

This information was of much help.

Thanks again.

gajanan on August 01, 2011:

what a switch to cable & ip address

pls ask me

jiwan on June 20, 2011:

hi my name is jiwan kumar tamang. i am from nepal. i have a problem the networking. when i connect start to share Internet through the LAN it is shows the LAN connection at 100 mbps but the Internet pages doesn't open. how do i fix this problem. pleas help me someone. if you have the solution the please sent me at my email address.

jayesh on April 12, 2011:

hi, i have Hathway modem & connection which is working on my desktop. but i want to use on my laptop also by using ADSL "zyxel P660HW T1 V3" modem. how can we make it?

vishal More on April 04, 2011:

i have one Internet Connection it mean i have one ip address & i wana share it with other 5 PC ,so how many divices(modem,switch,router)patch codes(straight,Cross) i need & how i connect them in series,& main thing is what ip & subnet & DNS if possible should i give to other 5 PC. Revert me as soon as possible i wana do it somewere. Boson Simulater ,Packet tracer this r helps to learn CCNA , is there any soft like this which help to share net between computers. thank you (

TEDDY on March 25, 2011:

I have a LAN connection & I configered it to use internet connection just like U sugested above but can I disconnect one of the comp from using the internet resource; wat if it stays as connected will it cost me more? Thanx

raheem on March 07, 2011:

plz show me how to share printer in lan

i have hp laser 1020 printer in my home

i have one cross connection in my home with two computers



M.R.GAIT on February 08, 2011:

Dear SIR,

thanx for ur technical support but this is not prove much useful in my case. I have 2PCs at my office. I have tried above method a lot of time but the net on both PCs is not running yet sharing is successful but net is not running. on the host pc in "ping 198.168... " "desti host not found" shows. on client in ping window data transfer shows,,, 32 bits transfer..ect. but net is not running on the both PCs. IN PAST WHEN I USE THIS NETWORKING THERE WAS A PROBLEM OF DISCONNCTION AFTER EVERY MINUTE. SO PLEASE SOVE MY 2 PROBLEMS







Nd on February 01, 2011:

I like what you just share out here, but can it workout if I make use of a crossover cable will it be okay or straight cable. My Laptop is making use of a broadband network so I want to share the network to my desktop computer. from ur instruction up there can I make use of cross cable of straight cable?

Rashid on January 24, 2011:

dear sir, kindly infor me about share the fixed speed to clint computer?????????

wijitha on January 10, 2011:

Thank you very much.

This information was of much help.

Thanks again.

adeel on January 09, 2011:

hi i want u share my internet in to an ather pc.and i have also Tp-link switch.plz help me

chrisjas on November 17, 2010:

hello raj

this works on dynamic IP? bcos im using dynamic IP.

Now check “Allow other network users to connect through this computer" internet connection” and uncheck below two options. Now press “OK” button. This will give you a message stating that IP address of present working PC will be set to “”, click OK. If you assigned this address to any other computer then change it to something else otherwise it will give IP address conflict error.

Broadband Connection properties.

Masood on November 13, 2010:

hi fren.

i have some problem. i have workstation machine with one lan card builtin and one lan card extarnal. i have DSL connection and i want to share my dsl connection on another system. dsl wire connect with one lan card and local area wire connect external lan card. problem is that when i enable the lan card (local Area) at this time internet lost. meanz the lan card of internet cant receive or sent the bytes...when i disable the local Area after dat internet in working...i want to distribute my internet via server on my Local Area. again i want to describe that my Server receiving internet by Lan card and i want to distribut by another lan System O.S is Windows Server 2003. and this problem is exist on this O.S

Kindly help me...

Nasir on September 16, 2010:

Thank you Rajish, But my LAN Proprties not accrding to your Picture, it only shows 3 tabs General, Authentication and Advanced.

Best Regards,


pratik on September 15, 2010:

Thanks for helping i got it..

If i find any prblm will comment again

RAJKISHOR SAHU (author) from Bangalore, Karnataka, INDIA on September 15, 2010:

@pratik go to network connections u will find which connection ur sify is using

pratik on September 15, 2010:

I have sify broadband connection.

Sify has its own client to log in.

RAJKISHOR SAHU (author) from Bangalore, Karnataka, INDIA on September 15, 2010:

@pratik then u need to select lan card when u share internet. please follow the image in the link

pratik on September 15, 2010:

ya i had two lan cards.

RAJKISHOR SAHU (author) from Bangalore, Karnataka, INDIA on September 15, 2010:

pratik u need 2 lan cards. 1 for internet and 2nd for lan

pratik on September 15, 2010:

I have internet connection which i want to share bt when i enable sharing it changed to but this very different from which my ISP has alloted, coz of this my internet connection doesn't work. I do have a two lan cards. on 1st internet connection is connected and second one is connected to switch for sharing. can u pls help me. i m very new to this pls explain in detail.. thanks.

RAJKISHOR SAHU (author) from Bangalore, Karnataka, INDIA on September 12, 2010:

Nasir you have to follow the same procedure as i mentioned in my articles.

thanks for reading my articles

Nasir on September 12, 2010:

Hi raj kishor,Good Work,plz tell me that abve mentioned Solution for sharing any kind of internet connection?

In my case i have broadband connection and compny provided me modem.I have a switch and 2 pc's connected with it and i need to distribute my connection and monitor each pc traffic. Setting that i used not according abve mentioned Solution. Do i need to share my internet connection according to abve mentioned Solution ?

solve my problem

Best Regards,


J Hasan on September 01, 2010:

I have a Samsung Jet which I want to use as a modem for internet connecivity on Laptop.I hve downloaded NPS 1.5 and connect to the net.The NPS shows connected to the net but I am not physically connected and the connectivity icon on the rt hand bottom still shows a red cross. Any solution.

Warm Regards from bear, de, 19701 on August 30, 2010:

Excellent hub. I wanna ask a problem, everything goes well, but the following day, I can't browse any site. I don't change any ips. I check ISP, ok. how to solve it? is there possibility from ip?

RAJKISHOR SAHU (author) from Bangalore, Karnataka, INDIA on August 17, 2010:

@saira if you r connecting ur modem through lan card then u need to set lan ip, next only skype is working on internet. you need to check proxy settings of internet explorer. go to internet options window to check that.

Saira on August 17, 2010:

ok i changed the ip of server(desktop PC with XP) to and of client(Laptop with vista) to the 2nd LAN card and it worked perfectly..Installed few softwares..Now i am facing a new problem..IE, msn messenger are not opening although internet is still connected..Amazingly 'Skype' connects and is working perfectly but IE or any other application isn't...Any sugesstions what went wrong??

Btw thanks for a wonderful guide...

RAJKISHOR SAHU (author) from Bangalore, Karnataka, INDIA on August 16, 2010:

@saira try to change your ip to different ip

Saira on August 16, 2010:

Hi i am getting the error...'error A LAN connection is already configured with the IP address that is required for automatic IP addressing'...i dont get it...i Have two LAN cards and a Network Adapter which has ip

Ravi KUmar on August 11, 2010:

Thank Oyu very much it is working fine

deepu on May 23, 2010:

love u gr8 thanks