Checking Your Network Connection


The Network Setup Wizard usually installs and configures your network components correctly. This section describes how to discover your computer's IP address and how to try rudimentary network communication.

Checking Your TCP/IP Address

Windows can display your computer's IP address and other TCP/IP settings. In the Network Connections window (choose Start Control Panel, click Network And Internet Connections, and click Network Connections), right-click a connection and choose Status from the menu that appears.

You can also see where the IP address came from (in this example, it was assigned by a DHCP server). For details, click the Details button. You can click Repair to re-request an IP address from the DHCP server.

Another way to see your IP address and other information is by running the Ipconfig program. Choose Start All Programs Accessories Command Prompt to open a Command Prompt window. Then type ipconfig /all and press ENTER. You see a listing like this:

 Windows IP Configuration          Host Name . . . . . . . . . . . . : inspiron7000          Primary Dns Suffix . . . . . . . :          Node Type . . . . . . . . . . . . : Hybrid          IP Routing Enabled. . . . . . . . : No          WINS Proxy Enabled. . . . . . . . : No Ethernet adapter Local Area Connection:          Connection-specific DNS Suffix . : mshome.net          Description . . . . . . . . . . . : EtherFast 10/100 PC Card          Physical Address. . . . . . . . . : 00-E0-98-04-47-15          Dhcp Enabled. . . . . . . . . . . : Yes          Autoconfiguration Enabled . . . . : Yes          IP Address. . . . . . . . . . . . : 192.168.0.4          Subnet Mask . . . . . . . . . . . : 255.255.255.0          Default Gateway . . . . . . . . . : 192.168.0.1          DHCP Server . . . . . . . . . . . : 192.168.0.1          DNS Servers . . . . . . . . . . . : 192.168.0.1          Lease Obtained. . . . . . . . . . : Tuesday, July 31, 2001          Lease Expires . . . . . . . . . . : Wednesday, August 01, 2001 

The Dhcp Enabled line tells you whether your computer got its IP address from a DHCP server and, if so, the Lease Obtained line tells when your computer got the address. If your computer uses ICS, the Default Gateway, DHCP Server, and DNS Servers entries are 192.168.0.1.

Testing Your TCP/IP Connection

Once you've installed and configured the network components for a computer, you need to see whether your network works. Sit down at any of the computers on the network and follow these steps:

  1. Use the Ping program to ping yourself-that is, ping your own computer's IP address. In the Network Connections window (choose Start Control Panel, click Network And Internet Connections, and click Network Connections), right-click your LAN connection, choose Status, and click the Support tab to find out your own computer's IP address. If this step doesn't work, TCP/IP isn't correctly installed on your computer, or it's not getting an IP address.

  2. Ping another computer on the LAN to see whether information can travel from your computer to another. Follow the instructions in the previous section first to determine the IP address of a computer on the LAN to ping. (Try pinging your default gateway, which is frequently at 192.168.0.1.) If this step fails, your LAN cable or connection may not work.

  3. Open the My Network Places window (choose Start My Network Places) to see what appears. Shortcuts to shared folders on the other computers should appear automatically. Otherwise, you can click Add A Network Place to add shortcuts to folders. If this step doesn't work, your workgroup name may not be set correctly.

  4. If you don't see shortcuts in the My Network Places window, there's another way to connect to other computers on the LAN. Click View Workgroup Computers in the Tasks pane of the My Network Places window. You see the names of all the computers in the workgroup. Open an icon (click or double-click it, depending on how you have Windows configured) to see the folders and printers that are available on that computer. If you see Entire Network as an entry, open it. Then open Microsoft Windows Network, and then open your workgroup. The computers in your workgroup should appear.

  5. If you still don't see icons for the other computers on the network, read through the section "Troubleshooting Your Network" later in this chapter to find and fix the problem. If you see only your own computer in the workgroup, or the Entire Network window is blank, communication has broken down with the other computers. It could be physical, like a bad cable, or it could be a problem with your software configuration, such as using the wrong protocol.

Once your network is working, the next step is to use it to share resources (see Chapter 31).

Viewing LAN Resources with the net Command

You can see a list of the shared resources of a computer on the LAN by using a command-line program called NET VIEW (actually, it's the NET program with the VIEW command-line argument). Open a Command Prompt window by choosing Start All Programs Accessories Command Prompt. Then type net view 11 computemame and press ENTER. Replace computemame with the name of a computer on the LAN. For example, the command net view \\dell8100 might produce this listing:

 Shared resources at \dell8100 Dell Dimension 8100 Share   name   Type      Use as     Comment --------------------------------------------- D              Disk SharedDocs     Disk PRINTER        Print The command completed successfully. 

If the computer has no shared resources, you see the message "There are no entries in the list." If you don't have permission to view the shared resources on that computer, you see the message "Access is denied ." If you see the message "System error 53 has occurred," the computer name is wrong, the computer is not on the LAN, or File And Printer Sharing For Microsoft Networks isn't running on that computer.

You can see a list of all the shared resources on your own computer by typing net share .

Note  

The NET VIEW command works with all installed protocols. Ping works only with TCP/IP.

Viewing LAN Usage

If you are worried that your LAN is slowing down because it can't handle the volume of data, Windows can display a graph of LAN utilization. Press CTRL-ALT-DELETE to see the Windows Task Manager window. Click the Networking tab.

The graph shows network usage over time, as a percentage of the amount of data that it could carry. Unless you are copying huge files (for example, if you do backups over the LAN), the percentages usually stay amazingly low.




Windows Vista. The Complete Reference
Windows Vista: The Complete Reference (Complete Reference Series)
ISBN: 0072263768
EAN: 2147483647
Year: 2004
Pages: 296

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net