network card is DHCP--to `obtain an IP address automatically'. Of course, this implies that there is a DHCP server out there waiting for a request for an IP address lease. When you establish your account, your provider will tell you whether you have a static IP address (and tell you your subnet mask) or to use dynamic IP assignment.
Within Windows, you set the IP address different ways depending upon which release of Windows you are using. For early Windows (95, 98, etc. "old Windows") you right-click Network Neighborhood and select the Properties page. On that page will be a list of networking components, such as Clients, Services, Adapters and Protocols. One of your protocols (often the only protocol) will be TCP/IP--if you select it and press the associated Properties button you will get to a page where you may set the IP address mechanism (static or dynamic) and if static, set the IP address, subnet and gateway.
For newer versions of Windows (2000, XP--"new Windows") it can vary depending upon your `theme'--but you are usually safe by starting in Control Panel and then opening Network Connections. You will see one or more connections -- the one you want is probably either a Dial-up or Local Area Connection. Right click and select Properties and proceed as above.
Name Resolution
Quick -- what's the IP address for the DACS web site? You read it just a few minutes ago, but you probably don't remember it, do you? We much prefer working with names rather than numbers. There are servers on the internet whose sole purpose is to convert a request for a named entity, such as www.dacs.org to an IP address. These are called DNS (Domain Name Server) machines. When you sign up with an ISP, in addition to telling you whether you have a static or dynamic IP address, they will provide you with one or more IP addresses for DNS. These numbers are entered into the property page(s) in similar fashion to specifying your IP address.
Checking Things
There are several utilities available for checking that your settings are correctly established. Again, how you get to them varies depending upon your Windows release.
For "old Windows" there is a GUI program named WINIPCFG. The easiest way to get to it is to click START then RUN, then type WINIPCFG and click OK. It will show you your IP address (note: there is a drop down field, it may point to a PPP adapter which is used for dial-up networking. If you are looking for your LAN NIC, adjust the drop down field to point to your network adapter.) It will show your IP address, subnet mask, gateway and (via another button) your DNS settings. For "new Windows" click START/RUN, type CMD and press Enter. In the command window type IPCONFIG /ALL and you will get the same information as above.
Options on these programs may be used to release or renew a dynamically assigned IP address.
Once you have confirmed that you have an IP address, the next thing to check is to see if you have a connection. This is done with the PING utility. PING sends out a very small probe to a remote site and asks that the probe be 'echoed' back. PING is accessed only from a command line prompt. To get to a command prompt:
Old Windows: START then RUN then COMMAND then OK
New Windows: START then RUN then CMD then OK
Once you have a command prompt, type PING followed by the IP address that you want. You might start by pinging your gateway.
You should get responses immediately. If you do, it is very likely that your computer's network settings are correct. Next ping some site just beyond your gateway, such as a DNS server. Again, you should get a response immediately. HOWEVER, be aware that many sites do not respond to pings, so you may have to try several addresses. The good news is that in the next step we will use a method that doesn't require that you remember an IP address.
Test your DNS
Open a command window as above and then type
ping host.domain
Where host.domain is some system that will respond to a ping request. For example, while writing this I tested ping yahoo.com and got responses from a site at IP address 66.94.234.13. Where did that come from? Well, ping made a request to my DNS for a name resolution, and my DNS returned the address of yahoo.com back to ping, which then converted the request to be ping 66.94.234.13 for me. So this test not only tested the network connection, but also confirmed that my DNS is working.
If you got this far you are in excellent shape--all of your low level networking components are working properly and you have a foundation upon which you can run browsers, ftp, e-mail, etc.
Let's put one more utility in our toolbox. Open a command window as above, and then type
TRACERT host.domain
TRACERT (Trace Route) is a utility which displays to you the various legs of the journey (hops) between you and the remote site. For example, when writing this I did a tracert to yahoo.com and got the identifiers of the 16 locations that I passed through to get to Yahoo! With practice you can recognize carriers and locations--for example from here in western Connecticut my path went to Boston first, then to New York, and then to San Jose. As an aside, nodes are often given names that match airport abbreviations--JFK, EWR for Newark, ORD for Chicago, LAX for Los Angeles, etc. In addition to the routing, you will see how long it took for the message to get to a particular node (in milliseconds.) If you see a high number in the milliseconds column then you have identified a network bottleneck.
Next time: More about the functions of your Cable/DSL Router such as NAT, Firewall, Virtual Server, etc.
Bruce Preston is president of West Mountain Systems, a consultancy in Ridgefield, CT specializing in database applications. A DACS director, Bruce also leads the Access SIG. Members may send tech queries to Bruce at