Q

How can I enable my desktop and my laptop to share files?

I have a Belkin ADSL wireless router. My desktop is connected with an RJ45 Ethernet cable and a laptop upstairs

is connected with a wireless adapter. I can share the Internet with the laptop, but how can both computers share files with each other?

If your desktop and laptop are members of the same LAN, they will have IP addresses In the same subnet – for example, 192.168.0.1 and 192.168.0.2 are both in the 192.168.0.0/24 subnet. Stations in the same subnet, connected to the same router, should be able to "see" each other when using a file sharing system like Microsoft Windows Network Neighborhood. To do so, enable the Client for Microsoft Networks on your desktop and laptop and assign both devices to the same Windows Workgroup. (On Windows XP, you can use the Network Setup Wizard to configure this.)

If your desktop and laptop are members of different subnets, you may need to add routes so that those devices can find each other. For example, if your wireless LAN uses 192.168.1.0/24 and your Ethernet LAN uses 192.168.2.0/24, you may need to add a route to your laptop to reach 192.168.2.0/24 through your router (e.g., "route add 192.168.2.0 mask 255.255.255.0 192.168.1.1 metric 2"). Enter the opposite route on your desktop to reach 192.168.1.0/24. Your router may also have a configuration option that must be set to permit traffic between LAN stations.

You can verify connectivity between your desktop and laptop by using the "ping" command. On Windows, open a Command Prompt window and type "ping <his IP address>". If the desktop and laptop cannot ping each other, they cannot share files. If they can ping each other but still cannot share files, work on configuring the Windows Workgroup correctly. To diagnose Windows Network Neighborhood problems, use the Windows "nbtstat" and "net" commands.

This was first published in December 2004

Dig deeper on Working With Servers and Desktops

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchSDN

SearchEnterpriseWAN

SearchUnifiedCommunications

SearchMobileComputing

SearchDataCenter

SearchITChannel

Close