Professional Documents
Culture Documents
Use of the NET HELP utility 1. Click Start and then click Run. Type the command or cmd and then press Enter. At the DOS prompt, type NET HELP and press Enter. See what will display? The command you are interested in is the View command. To obtain information about it, type NET HELP VIEW, and press Enter. 1. What is the purpose of NET HELP VIEW: ___________________________________________________________________________ ___________________________________________________________________________ ___________________________________________________________________________ ___________________________________________________________________________ ____________________________________________ The NET VIEW command shows the names of the machines present on your network. Notice that it lists the names of machines on the left, in column labelled Server name and another column labelled Remark 2. List the machines after you have typed NET VIEW from the command prompt ___________________________________________________________________________ ___________________________________________________________________________ ___________________________________________________________________________ ___________________________________________________________________________ ____________________________________________ NET VIEW can provide more information by appending the name of a machine with NET VIEW. For example type NET VIEW followed by the name of one of the machines in step 4 above. Eg NET VIEW \\DESKTOP.
1. Did this command work?_______________________________ In some cases Accessed Denied message will be seen. This simply means that the network has not been set up to perform the NET VIEW command. Close the DOS window by typing EXIT on the command line and then press Enter, or by clicking the Close button in the upper right corner of the window.
Gather TCP/IP configuration information
Use the Start menu to open the Command Prompt, an MS-DOS-like window. Press Start > Programs > Accessories > Command Prompt or Start > Programs > Command Prompt. Type ipconfig and press the Enter key. The spelling of ipconfig is critical while case is not. It is short for IP Configuration. This first screen shows the IP address, subnet mask, and default gateway. The IP address and the default gateway should be in the same network or subnet, otherwise this host would not be able to
Dr Shareef M. Shareef
communicate outside the network. In the display figure the subnet mask tells us that the first three octets must be the same to be in the same network. Note: If this computer is on a LAN, the default gateway might not be seen if it is running behind a Proxy Server. Record the following information for this computer.
Step 2 Compare the TCP/IP configuration of this computer to others on the LAN
If this computer is on a LAN, compare the information of several machines. Are there any similarities? ______________________________________________________ What is similar about the IP addresses? ____________________________________________ What is similar about the default gateways? _________________________________________ The IP addresses should share the same network portion. All machines in the LAN should share the same default gateway. Record a couple of the IP Addresses:
__________________________________________________________________________
Step 3 Check additional TCP/IP configuration information
To see detailed information, type ipconfig /all and press Enter. You will see the detailed of IP configuration screen. The host name, including the computer name and NetBIOS name should be displayed. Also, the DHCP server address, if used, and the date the IP lease starts and ends should be displayed. Look over the information. Entries for the DNS, used in name resolution servers, may also be present. Notice the Physical Address (MAC) and the NIC model (Description). In the LAN, what similarities about the Physical (MAC) Addresses are seen?
__________________________________________________________________________
While not a requirement, most LAN administrators try to standardize components like NICs. Therefore, it would not be surprising to find all machines share the first three Hex pairs in the adapter address. These three pairs identify the manufacturer of the adapter. Write down the IP addresses of any servers listed (if any):
__________________________________________________________________________
Write down the computer Host Name:
__________________________________________________________________________
Write down the Host Names of a couple other computers:
__________________________________________________________________________
Do all of the servers and workstations share the same network portion of the IP address as the student workstation? ____________________ It would not be unusual for some or all of the servers and workstations to be in another network. It means that the computer default gateway is going to forward requests to the other network.
Dr Shareef M. Shareef
Dr Shareef M. Shareef
tracert is TCP/IP abbreviation for trace route. See the preceding figure, it will shows the successful result when running tracert from on a LAN. The first output line shows the FQDN followed by the IP address. Therefore, a DNS server was able to resolve the name to an IP address. If you are connected on a huge network (like the Internet) there will be listings of all routers the tracert requests had to pass through to get to the destination. tracert uses the same echo requests and replies as the ping command but in a slightly different way. Each router represents a point where one network connects to another network and the packet was forwarded through.
Type netstat a at the command line. Examine the output. What does it tell you? __________________________________________________________________________ Try now with netstat e and netstat -s, and fill in the table below. Netstat command netstat e netstat s Purpose
Practical 6
Retrieving Basic TCP/IP Client Settings by Using Non-Scripting Methods To simply check a couple of TCP/IP settings on one computer, many network administrators prefer to use the Windows interface that is provided in Windows XP through Network Connections and in Windows 2000 through Network and Dial-Up Connections. To check TCP/IP settings by using the Windows interface in Windows XP
1. 2. 3. Open Control Panel and double-click Network Connections. In the Network Connections dialog box, right-click a specific network connection and then click Properties. In the properties dialog box for the network connection, select Internet Protocol (TCP/IP) and then click Properties.
The DNS, WINS, and Options tabs also display settings for those technologies and enable you to change most settings.
Dr Shareef M. Shareef
Open Control Panel and then double-click Network Connections. In the Network Connections dialog box, right-click a specific network connection and then click Status. On the Support tab, click Details to view network connection settings.
3.
Dr Shareef M. Shareef
_______________________________________________________________ _________________________________ 2. netlookup a. write down in the space below what you observe: _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ ____________________________________________ 3. nbtstat s a. What is the purpose of this command? _______________________________________________________________ _______________________________________________________________ ______________________ b. In the space below write what you see when you type this command: _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ ___ 4. netstat a. In the space below write what you see when you type this command: _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ _______________________________________________________________ ___ b. What is the purpose of this command? _______________________________________________________________ _______________________________________________________________ ______________________
Dr Shareef M. Shareef
4. 5.
Click on the Change button. To change the computer, work or domain name, enter the appropriate information. Note: Make sure all computers have the same Workgroup name.
5. 6. 7.
Select Just enable file sharing and click on the OK button Enter in the name of the share. Click on the OK button Computer Networks (Practical) 7
Dr Shareef M. Shareef
6.
7. 8. 9.
From the Remote Computer you should now be able to connect to \\SERVER_NAME\SHARE_NAME Where SERVER_NAME is whatever you named your computer and SHARE_NAME is the name of the share. The remote computer needs to have a user logged in with the same name and password as a user account on the XP computer that is it connecting to. The default setting of XP Pro is to require a user password for network access. You may also need to turn off the Firewall
Kindly undo any changes that you have made prior to ending this session.
Dr Shareef M. Shareef
Step 1 Identify the proper Ethernet cable and connect the two PCs
a. The connection between the two PCs will be accomplished using a Category 5 or 5e crossover cable. Locate a cable that is long enough to reach from one PC to the other, and attach one end to the NIC in each of the PCs. Be sure to examine the cable ends carefully and select only a crossover cable. b. What kind of cable is required to connect from NIC to NIC?
_____________________________
c. What is the category rating of the cable?
____________________________________________
d. What is the AWG wire size designation of the cable?
Dr Shareef M. Shareef
Step 8 Restore the PCs to their original IP settings, disconnect the equipment, and store the cables.
Practical 8
Building a Switch-based Network
Step 1 Identify the proper Ethernet cable and connect the two PCs to the switch
a. The connection between the two PCs and the switch will be accomplished using a Category 5 or 5e straight-through patch cable. Locate two cables that are long enough to reach from each PC to the switch. Attach one end to the NIC and the other end to a port on the switch. Be sure to examine the cable ends carefully and select only a straight-through cable. b. What kind of cable is required to connect from NIC to switch? _________________________
Dr Shareef M. Shareef
10
c. What is the category rating of the cable? ________________________________________ d. What is the AWG wire size designation of the cable? _______________________________
__________________________________________________________________________ __________________________________________________________________________
Step 7 Confirm the TCP/IP network settings
Windows NT / 2000 / XP users should do the following: Type the ipconfig command from the Command Prompt. Record the results.
__________________________________________________________________________
Step 8 Restore the PCs to their original IP settings, disconnect the equipment, and store the cables.
Dr Shareef M. Shareef
11