Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 33

UCCN1004 Data Communications and Networking

Lab 01: Introduction to Client, Services, and Commands


Instructions:
1. Read the “Introduction” section for the background
2. Perform all the lab exercises.
3. Follow all the steps.
4. Record the results in all italic bold actions (by screen capture or copying).
5. Paste your screen captures on a Word Document and save it.
6. Answer all the questions in italic.
7. Write your answer in the same Word Document.
8. Please follow the sequence of the exercises, and don’t skip any step.
9. Please keep your word document. You will need it for your tests and exam.

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”.

i) The VMware installation is completed.

3. Setup the Eagle Server in VMware.


a) In the starter pack, right-clicking on the eagle_server_v20_iso.zip, and select
“Extract Here” to extract the Eagle Server’s ISO.
b) In your Desktop, double-clicking on “VMware Workstation 12 Player”.

c) Type your email address (any email address) and click “Continue”.
d) Click “Finish”.

e) In VMware, click “Open Virtual Machine”.


f) Select “Eagle_Server.vmx” from the location where you extracted the
eagle_server_v20_iso.zip in step (3)(a), then click “Open”.

g) Click “Player”  “Manage”  “Virtual Machine Settings…”.


h) Select “Network Adapter”  Select “NAT: Used to share the host’s IP address” 
Click “OK”.

i) Click “Play Virtual Machine”.


j) Click “I Copied it”.
Notes: To use mouse and keyboard in Windows OS, hit Ctrl + Alt button in your
keyboard. Once clicked back to the VMware, the mouse and keyboard will be inside
the VMware OS only.

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.

s) The Eagle Server’s setup is completed.


4. Install PuTTY.
a) Access to “https://www.putty.org/”  Click “here” to download the PuTTY.

b) Click “putty-64bit-0.73-installer.msi” to begin the download.

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.

h) The PuTTY’s installation is completed.

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.

h) Click Next  Finish.


i) Click Next.

j) Click Finish.

k) The Nmap’s installation is completed.


Exercise 1: Networking Commands – ipconfig

1. Open the command prompt by clicking the Windows icon(1)  Type “cmd”(2)  click
“Command Prompt”(3).

2. In the command prompt, type “ipconfig”. A list of IP configuration is printed on the


command prompt. Look for the section started with “Ethernet adapter Ethernet” or
“Ethernet adapter Local Area Connect”. Your IP address is written in IPv4 Address as
shown below. Record your IP address. Be noted that different people might be getting a
different IP address.
Exercise 2: Networking Commands – ping

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)

1. Start the “Nmap – Zenmap GUI”.

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

5. What are the services provided by the Eagle-Server?


Exercise 4: Client Software – Web Browser

1. Open your web browser (Microsoft Edge/Firefox/Google Chrome)

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

Exercise 5: Networking Commands – DHCP service with ipconfig

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

Exercise 6: Client Software – FTP with Browser

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

Exercise 7: Client Software – FTP with Commands

1. In the command prompt and type “ftp eagle_server_ip”


Notes: The Eagle Server IP address is obtained from the Exercise 0 Step (3)(r).
2. Login (cisco) and password (cisco). The following example you should expect to get.

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

1. In the command prompt, type “telnet eagle_server_IP”.


Notes: The Eagle Server IP address is obtained from the Exercise 0 Step (3)(r).
Notes: If you are unable to perform telnet, go to Control Panel  Programs and
Features  Turn Windows features on or off  Tick “Telnet Client”  Click OK.

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

4. Type “exit” to stop the telnet connection.


Exercise 10: Networking Commands – nslookup

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.

You might also like