Data Networks Lab 1
Data Networks Lab 1
Instructions
• Use the workstations in the FCI labs to complete the lab work.
• Ensure that your workstation is connected to the NUST Network.
• You may also use your laptop connected to the NUST Network.
Section A
1. Type ipconfig /all at the command prompt and record the settings of your Ethernet Adapter LAN connection
below:
IP Address: _____________________________________________________________
MAC Address: __________________________________________________________
Subnet Mask: __________________________________________________________
Default Gateway: _______________________________________________________
DNS Server 1: __________________________________________________________
DNS Server 2: __________________________________________________________
DHCP Server: __________________________________________________________
IP Address:
_____________________________________________________________________________________________
_____________________________________________________________________________________________
MAC Address:
_____________________________________________________________________________________________
_____________________________________________________________________________________________
Subnet Mask:
_____________________________________________________________________________________________
_____________________________________________________________________________________________
Default Gateway:
_____________________________________________________________________________________________
_____________________________________________________________________________________________
DNS Server 1:
_____________________________________________________________________________________________
_____________________________________________________________________________________________
DNS Server 2:
_____________________________________________________________________________________________
_____________________________________________________________________________________________
DHCP Server:
_____________________________________________________________________________________________
_______________________________________________________________________________________
3. Type ipconfig at the command prompt. Do the results look the same as with the command above? What is
different, and explain why.
_____________________________________________________________________________________________
_____________________________________________________________________________________________
4. Explain what will happen if you remove the Gateway on your computing device.
_____________________________________________________________________________________________
_____________________________________________________________________________________________
5. How did your workstation obtain the IP Address, Subnet mask, and Default gateway (Assignment)? How do
you tell this?
_____________________________________________________________________________________________
_____________________________________________________________________________________________
_____________________________________________________________________________________________
a) What is the alternative method of assigning your workstation the above information? Action it and write down
the steps.
_____________________________________________________________________________________________
_____________________________________________________________________________________________
_____________________________________________________________________________________________
_____________________________________________________________________________________________
_____________________________________________________________________________________________
_____________________________________________________________________________________________
_____________________________________________________________________________________________
6. Which specific hardware on your workstation is assigned the MAC address? Can the MAC address be changed?
If yes, how?
_____________________________________________________________________________________________
_____________________________________________________________________________________________
_____________________________________________________________________________________________
7. Explain the term MAC Address Spoofing.
_____________________________________________________________________________________________
_____________________________________________________________________________________________
_____________________________________________________________________________________________
7. From the MAC address retrieved, identify the bits identify the Organisational Unit Identifier (OUI) and Vendor
OUI: ________________________________________________________________________________________
Vendor: ______________________________________________________________________________________
8. Describe another method to retrieve the MAC address, IP address, and subnet mask without using the
command line.
_____________________________________________________________________________________________
_____________________________________________________________________________________________
_____________________________________________________________________________________________
_____________________________________________________________________________________________
Section B
1.
a) Compare ALL your results from section A (1) to that of two fellow students. Make sure the comparison is made
block by block/octet by octet.
b) Are the results the same? If not, what are the differences? (NB: ONLY compare results with students connected
to the same network)
_____________________________________________________________________________________________
_____________________________________________________________________________________________
_____________________________________________________________________________________________
_____________________________________________________________________________________________
c) Motivate why some of the addresses are the same and why some differ.
_____________________________________________________________________________________________
_____________________________________________________________________________________________
_____________________________________________________________________________________________
2.
a) On your command prompt, type arp –a and list the MAC address your computer has learned.
_____________________________________________________________________________________________
_____________________________________________________________________________________________
_____________________________________________________________________________________________
_____________________________________________________________________________________________
b) Ping your neighbour’s workstation and issue the arp –a command again. The default gateway's MAC address
should be in this list, as should the MAC address of the computer you just pinged; why?
_____________________________________________________________________________________________
_____________________________________________________________________________________________
_____________________________________________________________________________________________
_____________________________________________________________________________________________
c) What is the purpose of the arp -a and ping commands?
_____________________________________________________________________________________________
_____________________________________________________________________________________________
_____________________________________________________________________________________________
Section C
Using the virtual machine, download Debian from e-learning (you can also use any distribution of your choice) to
complete the section below. Most of the commands below can also run-on Windows.
Download Debian hard disk image on e-learning; the credentials are below.
Debian: Username: root
Password: toor
Centos: (download Centos OVA image from this link https://www.filemail.com/d/cjpnfpmfhwpkqeq ) available for
seven(7) days only, from the 20TH Feb 2023.
Username: root
Password: Pa$$w0rd
Use the information in the table above to answer the following questions. For each question, write down
the Linux command/file name which provided you with the answer.
1. How many hops are there from your network to the Google web server?
_________________________________________________________________________________________
__________________________________________________________________________________________
Lab Ends