110 - Exp - 2 - Updated 2
110 - Exp - 2 - Updated 2
Objectives
1. Introduce the Windows command line interface.
2. Practice basic network configuration commands.
1. Explore the following commands, by running them, examine the output and then
describe their function.:
a. cd , cd..
b. dir
c. md
IPConfig:
Ipconfig is a useful command-line tool for troubleshooting problems with automatic
configuration such as Dynamic Host Configuration Protocol (DHCP). You can use IPConfig
to display the current IP configuration, identify whether DHCP or Automatic Private IP
Addressing (APIPA) is being used, release and renew an automatic IP configuration.
Ping:
“PING” provides a very quick way to see if a machine is up and connected to the network.
Typing “ping” followed by an IP address or web domain will send a series of test packets
to the specified address. If they arrive and are returned, you know the device is capable of
communicating with your PC; if it fails, you know that there’s something blocking
communication between the device and your computer. This can help you decide if an issue
is caused by improper configuration or a failure of network hardware. If the IP address is
not currently active, you will receive a message stating that the transaction has time out.
Tracert:
Tracert tracks how much time (in millisecond) each hop between servers or devices takes.
The displayed list can help identify data flow problems when trying to access a service
such as a website. It can also be useful when performing tasks such as downloading data.
Procedure
1. Run Windows command line interface (cmd)
2. Type ping (alone) to display help information for ping command
3. Try the command : ping www.google.com (Hostname is given here )
4. Used (alone), ipconfig displays the IP address, subnet mask, and default gateway.
5. To display help information for ipconfig command, type: ipconfig /?
6. To trace the path to the host named google.com, type: tracert www.google.com
Answer the following questions
1. Describe the function of each command below:
a Cd: b
cd..
c dir
2. use md command to create a folder with your student ID, take a snapshot.
3. Briefly explain the difference between Ping and tracert commands.
4. Try to ping a server using its IP address instead of hostname. Choose any server you
want and show your results using snapshot.
5. When running the Ipconfig /all command, the results display the “Default
Gateway”, explain what’s is meant by Gateway, why it is important and take
snapshot.