SM1: Open-source operating systems
ASIX/DAW/DAM-1
Task A3: Basic Network Configuration
15-10-26

Task A3: Basic Network Configuration

General conditions

Deadline DAW1: On 22-10-26 teacher will check that your operating system is working properly

Deadline ASIX1: On 22-10-26 teacher will check that your operating system is working properly

Documentation

a) Basic information

b) Introducing sudo

Practical exercise

Part one: Working with bridge adapter on VirtualBox

  1. 1.-Change on VirtualBox the parameter Attached to of the Network configuration section to Bridge Adapter.
  2. 2.-Select your wireless card as interface to work as a bridge between your virtual computer and the network.
  3. 3.-Boot your virtual computer

Part two: Adding your user to the group sudo

  1. 1.-Add your user to the group sudo.
  2. 2.-Check that your user is member of the group sudo.

Part three: Showing your network configuration. Testing connectivity

  1. 1.-With the help of Network Manager shows clearly:
    • a) Network Interface identifier of your network card.
    • b) MAC (or hardware) address of your network card.
    • c) IP address of your computer.
    • d) IP address of the Gateway (Router) on your local network.
    • e) IP addresses of the primary and secondary DNS servers queried by computers on your local network.
  2. 2.-With the help of Network Manager shows clearly the configuration Method of your computer.
  3. 3.-With the help of commands shows clearly:
    • a) The ethernet interface identifier.
    • b) MAC (or hardware) address of your ethernet interface.
    • c) IP address of your computer.
    • d) IP address of the Gateway (Router) on your local network.
    • e) IP addresses of the primary and secondary DNS servers queried by computers on your local network.
  4. 4.-With the help of commands tests the connectivity of your computer to:
    • a) www.google.com. Is there connectivity?. How do you know it?.
    • b) IP address 7.7.7.7. Is there connectivity?. Why?.
  5. 5.-Find out the public IP address of www.google.com.

Part four: Basic management of your network settings with Network Manager

  1. 1.-Manually configure your ethernet interface using Network Manager:
    • Step 1: Select Network Manager --> Edit Connections --> Wired Connection 1 --> IPv4 Settings
    • Step 2: Configure your Ethernet inteface:
      • Configuration method: Manual
      • IP addres: 192.168.1.40 to 192.168.1.60 (An IP will be assigned by the teacher for each student)
      • Netmask: 20 (or 255.255.240.0)
      • Gateway (IP addres of your Router): 192.168.1.1
      • Primary DNS: 80.58.0.33
      • Secondary DNS: 1.1.1.1
    • Step 3: Save your new configuration -> Close the Network Manager window.
    • Step 4: Disable the networking system using Network Manager.
    • Step 5: Enable the networking system using Network Manager.
  2. 2.-With the help of Network Manager shows clearly the network configuration of your virtual computer.
  3. 3.-With the help of commands shown clearly:
    • a) The ethernet interface identifier.
    • b) MAC (or hardware) address of your ethernet interface.
    • c) IP address of your computer.
    • d) IP address of the Gateway (Router) on your local network.
    • e) IP addresses of the primary and secondary DNS servers queried by computers on your local network.

Part five: Basic management of your network settings with commands

  1. 1.-Stop the Network manager. Run: sudo systemctl stop NetworkManager
  2. 2.-Configure your Ethernet inteface:
    • Remove the current IP address and mask. Check documentation section b.4 (It is an example. You have to adapt the command to your particular case).
    • New IP addres: 192.168.2.40 to 192.168.2.60 (An IP will be assigned by the teacher for each student) and Netmask: 24 (or 255.255.255.0). Check documentation section b.5 (It is an example. You have to adapt the command to your particular case).
    • New Gateway (IP addres of your Router): 192.168.2.1. Check documentation section b.7 (It is an example. You have to adapt the command to your particular case).
  3. 3.-With the help of commands shown clearly:
    • a) IP address of your computer.
    • b) IP address of the Gateway (Router) on your local network.

Part six: Return to the initial conditions of the network configuration

  1. 1.-Start again the Network manager. Run: sudo systemctl start NetworkManager
  2. 2.-Configure again your network interface using the Automatic (DHCP) method with the help of Network Manager.
  3. 3-Show again the network configuration with the help of Network manager.

Part seven: Checking your configuration

  1. 1-VirtualBox is attached to your physical wireless card
  2. 2-Your user is member of sudo
  3. 3-Shows your configuration with Network Manager. What is your IP address?
  4. 4-Shows your configuration with commands. What is the IP address of the Router?
  5. 5-Test connectivity to google.com. Is there connectivity or not?. Why?.
  6. 6-Test connectivity to 7.7.7.7. Is there connectivity or not?. Why?.
  7. 7.-What is the IP address of google.com?
  8. 8.-Change your Network configuration with Network Manager according to the settings asked in the Fourth part. Show the new configuration using commands.
  9. 9.-Change your Network configuration with commands according to the settings asked in the Fifth part. Show the new configuration using commands.
  10. 10.-Return to the initial conditions of the network configuration. Show the new configuration using Network Manager.