CCN Lab 1
CCN Lab 1
CCN Lab 1
Faculty of Computing
Faculty of Computing
Fall 2020
LAB - 1
Background
This lab assumes that you are using Windows NT/2000/XP or Windows 10. This is
nondestructive lab that you can perform on any host without changing the system’s
configuration.
Ideally, you perform this lab in a LAN environment that connects to the Internet. You can use a
single remote connection via a dialup modem or DSL. You will need the IP address information
which the instructor should provide.
1
Riphah International University, Islamabad
Faculty of Computing
Network Configuration
Establish and verify connectivity to the Internet. This step ensures the computer has an IP
address.
a. Windows NT/2000/XP: Use the start menu to open the command prompt
(Start/Programs/Accessories/Command Prompt or Start/Programs/Command Prompt)
Windows 10: Press Window+R to open Run box. Then click ok to run a regular
command prompt.
c. The screen shows the ip address, subnet mask and the default gateway. The ip address
and the default gateway should be in the same network or subnet. Otherwise the host
wouldn’t be able to communicate outside the network.
2
Riphah International University, Islamabad
Faculty of Computing
a. IP address: ______________________________________________________________
Step 4: Compare this computer’s TCP/IP configuration to that of others on the LAN
1. ___________________________________________________________
2. ___________________________________________________________
3. ____________________________________________________________
a. To see more information, type ipconfig/all and press Enter key. The next figure shows the
3
Riphah International University, Islamabad
Faculty of Computing
c. IP address
d. Subnet mask
e. Default gateway
f. DNS servers
c. In the LAN, compare your results with a few nearby computers. What similarities do you
__________________________________________________________
4
Riphah International University, Islamabad
Faculty of Computing
I. ____________________________________
II. ____________________________________
III. ____________________________________
IV. ____________________________________
Establish and verify connectivity to the internet. This step ensures that the computer has
an IP address.
Step 1:
Ping uses the Internet Control Message Protocol (ICMP) echo-request and echo-reply feature to
test physical connectivity. Because ping report on four attempts, it gives an indication of the
5
Riphah International University, Islamabad
Faculty of Computing
reliability of the connection. Look over the result and verify that the ping was successful. Was
c. Ask the IP address of the nearby computers and ping. Note the result.
___________________________________________________________
d. Ping the IP address of default gateway and DNS server. Were the results successful?
___________________________________________________________
Ping 127.0.0.1
If loop back testing is successful then the TCP/IP is properly installed and functioning on
this computer.
Is it successful? ____________
f. Ping the host name of the computer that you recorded in previous part.
The result shows the complete route to the website and the number of hops in the path.
Trace a local host name or IP address in your local area network (LAN).
6
Riphah International University, Islamabad
Faculty of Computing
Also see “pathping ip or host” command. Which only shows path from source to destination.
beyond that combines the functionality of ping with that of tracert. It is used to locate spots that