
Article Diretly copied from: http://www.microsoft.com/windowsxp/using/networking/expert/r ussel_hni.mspx
Resolving Home Networking Issues

In earlier columns I've addressed a number of networking issues that cause pain for users who bring their laptops home from work. In this column, I'll take a look at some of the top networking issues for home users. This list is by no means comprehensive or an exhaustive Top Five, but it does cover some of the problems heard regularly in the Windows XP Networking and the Web newsgroup. Each problem could be a whole column on its own, so I'll try to point you to other resources if I can't cover all the answers in this column. You'll find the Home and Small Office Networking with Windows XP home page a useful source for information.
How Do I Share An Internet Connection?
So you finally got a high speed Internet connection and you can let that old modem gather dust. But you've got more than one computer, so how do you hook things up so that all of them can share the same connection?
There are two basic ways to share an Internet connection:
• | Use the Internet Connection Sharing (ICS) feature that is part of Windows XP. |
• | Use a router (gateway) between your computers and the cable or DSL modem. |
Expert Zone columnist Sharon Crawford does an excellent job of describing how to use Internet Connection Sharing in her earlier column, Internet Connection Sharing. I'll describe how to add a router to your network.
Routers, often called gateways, are a way to both isolate and connect one segment of your network from another. In the home environment, they provide a way to separate your home network from the Internet, while at the same time providing a connection point. To your cable company or DSL provider, they make your internal network appear to be a single device, so you don't need to pay extra for additional computers connected to them. Figure 1 shows what your network might look like with a router installed and a couple of computers networked.

Figure 1
Routers are fairly inexpensive, generally under $100 for basic ones that include a built-in four-port hub and maybe even a wireless access point. They provide a layer of isolation and protection from the Internet while simplifying the setup of your home network. The procedure below walks you through setting up a router at home. The steps make some assumptions. First, that all your computers have network cards. And that you have the network cards configured to automatically obtain an IP address, which is the default setting.
To set up a home network with a router:
1. | Plug in your cable or DSL modem and connect it to the cable system or the phone line with DSL. Specific instructions for this are provided by the cable company or your DSL provider, if they don't actually do the installation for you. |
2. | Connect the cable/DSL modem to the wide area network (WAN) port of your router with the cable provided. If none was provided, a standard CAT5 cable should be fine. |
3. | Power up the router and wait for all the diagnostic lights to settle down. |
4. | Connect your computers to the LAN ports on the router using standard CAT5 network patch cables. |
5. | Power up or restart your computers. |
6. | If your router includes a wireless access point and you're connecting some of your computers using wireless, you'll need to configure the wireless connections now. |
For more on connecting wirelessly, see my earlier column, Using a Wireless Laptop at Work and at Home, which is about connecting your work laptop to your home network—the procedures are the same. For the details about how to troubleshoot ICS, see Troubleshooting Internet Connection Sharing on Microsoft Windows XP.
My Network Card Won't Connect
Another common problem is when your network card won't connect and you've got an IP address that starts with 169.254. This can happen with either a regular network card or a wireless card, but is more common with a wireless card. The IP address that starts with 169.254 indicates that you didn't receive an IP address from a Dynamic Host Configuration Protocol (DHCP) server for some reason, probably because there is a connectivity issue. If this is a wired connection, start by checking that the status lights on the back of the network card are the proper color. See your network card documentation for what the different colours mean. If they aren't the right color, there are at least five possibilities:
• | The cable is bad. |
• | The cable is not firmly connected at both ends. |
• | The port on the hub or router is bad. Try plugging the network cable into a different port on the hub or router. |
• | The network card is bad. |
• | The cable is the wrong kind of network cable. |
Let's examine that last possibility. You should always use CAT5, CAT5+ or CAT6 network cable. Not phone cable or other kinds of cable that may look the same. Second, there are both "straight-through" and "cross-over" cables. If you're connecting to a hub, switch, or gateway, then you need a straight-through cable. If you're connecting directly from the network card on one computer to the network card on another, you need a cross-over cable. For more information about cables, see Understanding Ethernet Cabling.
How Do I Connect Two PCs Together?
If all you want to do is connect two computers together to form a small network, a simple network configuration like that shown in Figure 2 is all you need.

Figure 2
If you're not using a hub, switch, or router to connect the two PCs, you need to use a cross-over cable. Since these are far less commonly used than straight-through cables and the two are not interchangeable, it's a good idea to clearly mark the cable as a cross-over cable. I like to keep one around the house for quickly connecting up two computers, but it's easy to get it confused with regular cables. So I bought my cross-over cable in a nice bright red colour.
Then, if you want to connect them both to the Internet, you need to turn on Internet Connection Sharing on one of the computers or connect them both to a router, rather than each other, as described earlier.
Why Do I Keep Getting Shutdown Messages?
This isn't really a network question, but is still one of the most commonly asked questions in the networking newsgroups. Unfortunately, it almost certainly means your computer is infected with the Blaster worm or another type or worm. You need to both protectyourself from further infections and removethe worm. Most importantly, you need to set your computer up for automatic installation of security updates. The Protect Your PC site can help with that. And I strongly recommend installing Windows XP Service Pack 2—it includes an improved Windows Update, a stronger Windows Firewall, improved network protection, and helps make e-mail handling and Internet browsing more secure.
Can't See My Computer on the Network
Unfortunately, this is a more common problem than anyone would like. If you're used to connecting your computers using Windows 95, Windows 98, or Windows Me, you'll find things a bit different with Windows XP. The single biggest cause of a disappearing Windows XP machine on the network is probably a computer browsing issue as described in my column on Troubleshooting Home Network Issues.
Although several things can cause a browsing problem, there's usually a pretty simple workaround. If you know the name of the share on the computer you want to connect to and you know the IP address of that computer, you can connect to it directly without ever having to actually "see" the computer on the network. For example, if I want to connect from the computer in the kitchen to the My Documents folder on my home office PC, all I need to know is the IP address of that home office PC. That's easy enough to find out. On your home office PC:
1. | Click Start, point to All Programs, point to Accessories, and then click Command Prompt. |
2. | Type ipconfig as shown in Figure 3, and then press Enter. ![]() Figure 3 |
Your IP address is listed. In this example, it's 192.168.50.100, but yours may well be different.
Now that you've got the IP address of the computer you want to connect to, go back to the kitchen computer. There are graphical ways to make the connection, but probably the easiest way is to use another command prompt. Assuming that you've already shared your home office My Documents folder as "CharlieDocs," you'd connect it to a Windows-assigned drive letter by following these steps:
1. | Open a command prompt. |
2. | Type net use * \\192.168.50.100\CharlieDocs as shown in Figure 4, and then press Enter. ![]() Figure 4 |
That's it, now drive Z is connected to my home office computer and I never had to worry about being able to actually see it in Windows Explorer or My Network Places at all. Obviously, your share point probably isn't called CharlieDocs, and your IP address is different than mine, so change the commands accordingly.
For more information about computer browsing, see Computer Browsing for SOHO Networks with Microsoft Windows and Troubleshooting Computer Browsing on SOHO Networks with Microsoft Windows.
For more information about file sharing, see File and Printer Sharing with Microsoft Windows and Troubleshooting File and Printer Sharing in Microsoft Windows XP.
Contact Me
If you use Windows XP or Windows XP Tablet PC Edition and have a networking or Tablet PC topic you'd like to see me cover, feel free to write me at Charlie@mvps.org. I especially want to hear what you think about your Tablet PC and what interesting ways you've found that a Tablet PC makes your work better.
It's impossible for me to acknowledge or answer individual e-mail messages and I can't provide individual technical support via e-mail. I do regularly participate in the Windows XP Tablet PC Edition newsgroup and the Microsoft Services for UNIX newsgroup and look forward to seeing you there.