How to solve these challenges:
To be consistent with the filenames and paths run the commands on Ubuntu
Write your solution in a terminal and test it.
If your solution is not correct, then try to understand the error messages, watch the video again, rewrite the solution and test it again. Repeat this step until you get the correct solution.
Save the solution in a file for future reference or recap.
!!! Do not solve these challenges on a remote machine to which you are connected with SSH.
!!! Run the following commands only on a local machine.
Challenge #1
List the IP address, the Default Gateway, the Mac Address and the DNS Servers.
Use both ifconfig and ip commands.
Are you stuck? Do you want to see the solution for this challenge? Click here.
Challenge #2
Using ifconfig, disable the Ethernet interface.
Using ip, enable the Ethernet interface.
Check its status both with ifconfig and ip.
Are you stuck? Do you want to see the solution for this challenge? Click here.
Challenge #3
Set a new temporary IP address using both ip and ifconfig.
Are you stuck? Do you want to see the solution for this challenge? Click here.
Challenge #4
Using ifconfig, set a secondary IP address on the Ethernet interface.
Are you stuck? Do you want to see the solution for this challenge? Click here.
Challenge #5
Change the MAC address to a random one.
Are you stuck? Do you want to see the solution for this challenge? Click here.