Professional Documents
Culture Documents
UCCN1004 - Lab - 01 - Network Services and Commands
UCCN1004 - Lab - 01 - Network Services and Commands
Introduction
This lab introduces 2 types of network software. Eagle server is a server package provided by
Cisco Academy. Computers in FICT labs form network connections with both the Eagle server.
In the following lab exercises, you will go through various commands and software that will help
you to gain a better understanding of the functionalities and tasks among the clients, network,
and services.
Figure 1
Exercise 0: Software Installation
1. Download the starter pack from WBLE. Extract them into a folder.
2. VMware installation:
a) In the extracted starter pack, double-clicking on vmware-player-12-1-0-en-win.exe.
b) Click “Next”.
c) Check “I accept the terms in the License Agreement” and click “Next”.
d) Click “Next”.
e) Uncheck “Check for product updates on startup” and “Help improve VMware
Workstation 12 player”, then click “Next”.
f) Click “Next”.
g) Click “Install”.
h) Wait till the installation is completed then click “Finish”.
c) Type your email address (any email address) and click “Continue”.
d) Click “Finish”.
k) Click “OK” .
l) Type “1” and hit “Enter” on your keyboard.
m) Click the “K” icon at the taskbar System setting Network Configuration
Password for root : cisco OK.
n) Click “Deactivate” “Edit”.
o) Select “Automatically obtain IP address settings with DHCP” and click “OK”.
p) Click “Activate” “Yes” “OK”.
q) Click “Terminal”.
r) In the terminal, type /sbin/ifconfig and write down the Eagle Server IP Address.
In the screenshot below, the Eagle Server IP address is 192.168.200.128. Be noted
that different people might be getting a different IP address.
c) Once the download is completed, click on it to start the installation of the PuTTY.
d) Click Next.
e) Click Next.
f) Click Install.
g) Click Finish.
5. Nmap installation.
a) In the starter pack, double-clicking on nmap-7.60-setup.exe.
b) Click “I agree”.
c) Only check Nmap Core Files, Register Nmap Path, Npcap 0.93, and Zenmap.
d) Click Install.
e) Click “I Agree”.
f) Click “Install”.
g) Click Next.
j) Click Finish.
1. Open the command prompt by clicking the Windows icon(1) Type “cmd”(2) click
“Command Prompt”(3).
Note:
Replace all the {eagle server IP} in this Lab manual with the Eagle Server IP address taken
from Exercise 0 Step (3)(r).
1. Type “ping {eagle_server_ip}” in the command prompt. This will perform a
connectivity test between your PC and the Eagle Server.
Note: Please don’t blindly type in {eagle_server_ip}. This should be the IP address that
you obtain from Exercise 0 Step (3)(r).
2. Make sure you have a successful ping before you proceed to exercise 3. If you have a
“time out” in ping, ask your lab instructor to help you. The successful ping example is
shown in Figure 2.1:
eagle_server_ip
Figure 2.1
Exercise 3: Networking Software–nmap (Check the services of a server)
2. Nmap is a software that checks the service availability in a server. Type the Eagle
Server’s IP address into the “Target” as shown in Figure 3.1 and then click “Scan”.
Notes: The Eagle Server IP address is obtained from the Exercise 0 Step (3)(s).
Type Eagle Server
IP address here
Figure 3.1
3. This will take more than a minute (wait until the ‘Cancel’ button is greyed).
wait until
disable
Scroll up to
view the
service
provide by
the server.
Figure 3.2
4. Click “Ports / Hosts”. It listed the ports that are opened or the services that are offered by
the Eagle Server. Records the services from the output of then nmap with a screen
capture.
Figure 3.4
2. Type the Eagle Server’s IP address in the browser. You should be able to see Figure 4.1
is shown on your web browser.
Notes: The Eagle Server’s IP address is obtained from the Exercise 0 Step (3)(r).
Figure 4.1
1. In the Command Prompt, type “ipconfig /all”. What have you observed? You
should expect the following screen. “ipconfig /all” gives more details compared to
ipconfig. Now, what is the IP address of the DHCP server? Please look for the
answer in the output of “ipconfig /all”
Figure 5.1
2. Type “ipconfig /?” in the command prompt, it will show you some of the additional
options for ipconfig which you can use.
Figure 5.2
1. Type ftp://eagle_server_IP in the URL of your browser. Figure 6.1 is what you should
expect.
Notes: The Eagle Server’s IP address is obtained from the Exercise 0 Step (3)(r).
Figure 6.1
2. Click on the “pub” “eagle_labs” “eagle1” “chapter9”. Click on the file “mac-
address-table.pcap” to save this file from the file server to your desktop, as shown in the
following Figure 6.2.
Figure 6.2
3. As you are downloading the file. Type “netstat -n” and “netstat -b” in command prompt.
You should expect to get something similar to Figure 6.3. The ‘netstat –b” will show you
the “name” of the program that is currently connecting to the service.
Note: If you can’t get “netstat –b”, right-click a new “Command Prompt”, choose “Run
as Administrator”.
ftp port number
Figure 6.3
Figure 7.1
3. Type the following command in the correct order to download the file from the Eagle
server.
ftp>cd ..
ftp>cd ..
ftp>cd ftp/pub/eagle_labs/eagle1/chapter1
4. Type “ls” and “get gaim-1.5.0.exe”. “ls” lists the filenames of the directory. “Get” is to
download the file from the ftp server.
ftp>ls
……
ftp>get gaim-1.5.0.exe
Figure 7.2
5. Do not close the command prompt that is using for the FTP connection. In a new
command prompt, type “netstat –n” and “netstat –b”. Record the result. Figure
7.3 is what you should see. You should notice that both the browser and FTP command
connects to the same FTP service port number 21.
Figure 7.3
6. In the command prompt that is using for the FTP connection, type “quit” to disconnect
the FTP connection to the eagle server.
Exercise 8: Client Software – Remote login (SSH) with PuTTy
1. Run PuTTY, type eagle_server_ip into the “Host Name”, and select “SSH” (secure shell)
to remote login into the Eagle Server.
Notes: The Eagle Server’s IP address is obtained from the Exercise 0 Step (3)(r).
Figure 8.1
2. Click “Yes”
Figure 8.2
3. Login name: cisco Password: cisco. Type “ls” to list the files.
Figure 8.3
4. As you login, open a new command prompt and type “netstat –b” and record the
result. The following screen is what should expect.
Connection established
with the Eagle Server
Figure 8.4
Exercise 9: Client Software – Remote login with telnet
Figure 9.1
2. Login name: cisco Password: cisco. Type “ls” to list the files.
Figure 9.2
3. As you login, open a new command prompt and type “netstat –n” and record the
result. The following screen is what should expect.
Connection established
with the Eagle Server
Figure 9.3
1. Type “nslookup” command with the web address (domain name) to obtain the IP
address. For example, nslookup www.facebook.com. Can you tell the DNS
server IP address from the output?
Note:
2001:e68::b:68 is your DNS server IP. Different people will be getting a different result.
157.240.10.35 is one of the public IP for www.facebook.com
Figure 10.1
2. Try with: nslookup www.utar.edu.my. What is the public IP address for the
UTAR web server?
Figure 10.2
3. If you only type “nslookup”, you will enter into the interactive mode of nslookup,
which has a ‘>’ prompt. You can change the DNS server that you want to poll. Change
the DNS server to your Eagle Server’s IP address since Eagle Server provides DNS
service.
4. Type in “server {eagle-server IP}”. Eg: “server 192.168.238.200”. It will change your
current DNS server to Eagle-Server DNS.
Notes: The Eagle Server IP address is obtained from the Exercise 0 Step (3)(r).
Figure 10.3
5. Then type “www.utar.edu.my”. Notice that Eagle Server DNS does not reply to the IP
address of “www.utar.edu.my”. Type “exit” to quit from the interactive mode of
nslookup.
Figure 10.4
6. The interactive mode of “nslookup” has greater control over the DNS testing that you
can choose the server that you want to poll or test.