M01: Introduction to Operating Systems
TU1: Installing, configuring and exploiting a computer system
ASIX1
Practical Exercise 3: Basic network configuration
11-10-2016

BASIC NETWORK CONFIGURATION

GENERAL CONDITIONS
1-
Deadline: 23-10-2016.
2- Send your report as a PDF file attached to an e-mail with the following specifications:
     a) E-mail address:
cf(at)collados.org or jordi.binefa(at)fje.edu depending who is your teacher
    
b) File Name:
         b.1)
ASIX1 (Catalan): asix1_surname_name_m01tu01pr3.pdf
         b.2)
DAW1 (English): daw1_surname_name_m01tu01pr3.pdf
    
c) Subject:
         c.1)
ASIX1 (Catalan): asix1_surname_name_m01tu01pr3
         c.2) DAW1 (English): daw1_surname_name_m01tu01pr3
3- Make this report individually.
4- Left, right, top and bottom margins: 2cm.
5- Character format: a) Font:Arial, b) Size: 10, c) Questions typeface: Bold, d) Answers typeface: Regular

DOCUMENTATION
1- Network terminology and basic network configuration: http://www.rtsintercoms.com/us/rts/file?i=98037
2- Basic network concepts: http://www.edimax.us/html/Faq/basicnetworking.htm
3- About DNS:  https://developers.google.com/speed/public-dns/docs/using
4- MAC (or hardware) address:
http://accc.uic.edu/answer/what-my-ip-address-mac-address

PRACTICAL EXERCISE


FIRST PART

1.- Explain the meaning of the following network parameters:
    a) MAC (or hardware) address
    a)
IP address
    b) Gateway/Router
    c) Primary and secondary DNS
2
.- Check the following network parameters with Network Manager:
    a) MAC
(or hardware) address of your network card
    a)
IP address of your computer
    b) IP address of your Gateway/Router
    c) IP addresses of your primary and secondary DNS
Explain how you have found these parameters.
3.- Check the IP address of your computer with the command ifconfig. Explain how have you used this command.
4.-
Check the MAC (or hardware) address of your network card with the command ifconfig. Explain how have you used this command.
5.-
Check the IP address of your Gateway/Router with the command route. Explain how have you used this command.
6.- Check the IP address of your DNS servers showing the contents of /etc/resolv.conf. Explain how have you showed this data
7.- Run the following command: nmcli  dev  show  eth0. Check the following parameters of your network card:
    a) IP address of your computer
    b) Gateway/Router
    c) Primary and secondary DNS
    d) MAC
(or hardware) address of your network card.
8.- Check the network configuration Method of your computer with Network Manager. Explain how you have found this parameter.
9.- What is the meaning of Automatic (DHCP)?. At the moment, is Automatic (DHCP) the proper configuration method?. Why?.
10.- Test your connectivity to:
    a) The Gateway/Router
    b) The primary and secondary DNS
    c)  www.clot.fje.edu and www.collados.org.
Explain the process for testing your connectivity. How do you know if you can get connection to a host?.
10.- Check your connectivity with another computer in your classroom.
11.- Find out the IP address of www.google.cat. How did you find out this information?
12.- Check and show the model and driver of your network card using the information provided by the command: lspci -vExplain the process for finding these parameters.
13.- Check if your network card driver is loaded
using the information provided by the command: lsmod. Explain the process for finding if the driver is loaded or not.

SECOND PART
1.- Disable the networking system  using network manager. Explain the process for disabling the networking system. Check if you are able to surf on Internet. What is the state of the network manager icon?
2.- Enable again your networking system using network manager. Explain the process for enabling again the networking system. Check if you are able to surf on Internet. What is the state of the network manager icon?
3.- Configure your network card using network manager, with the following specifications:
    a) Configuration method: Manual
    b) IP address: from 192.168.1.40 to 192.168.70 (a different IP for each computer)
    c) IP address of your Router: 192.168.1.1
    d) Primary DNS: 80.58.0.33
    e) Secondary DNS: 8.8.8.8
Explain the process for configuring your network card.
5.- Check your networking configuration with nmcli and network manager.
6.- Can you surf on internet?. Why?
7.- Configure your  network card, using Network Manager, with the Automatic (DHCP) configuration method. Explain the process for configuring your network card. Check your  networking configuration with Network Manager. Check if you can surf on internet. Why?.
8
.- Check your connectivity to www.google.cat. Have you experienced any problem?. Why?
9
.- Cofigure your network using Network Manager, with theAutomatic (DHCP) addresses only configuration method. Check your networking configuration with Network Manager. Check the IP addresses of your DNS servers.  What happened?.
10.- Check your connectivity to www.google.cat. Have you experienced any problem?. What is your problem?. Why are you experiencing this problem?
11.- Check your connectivty to 216.58.198.35. Have you experienced any problem?. Why?
12.- Configure your  network card, using Network Manager, with the Automatic (DHCP) configuration method again and check that you can work with IP addresses and host names again. Now, delete the IP address of your Gateway/Router using the route del default gw  <IP_address_of your_router> command. Show that the IP address of your router has been removed.
13.- Check your connectivity to www.google.cat. Do you have any problem?. Check your connectivty to
216.58.198.35. Have you experienced any problem?. What is your problem?.
14.- C
onfigure your  network card, using Network Manager, with the Automatic (DHCP) configuration method again. Check again your connectivity to www.google.cat and 216.58.198.35. Check that you can surf on the Internet without any problem again.