PDF Version Available
This document is also available in PDF format: networking.pdf
The PDF version includes bookmarks for easy navigation and is optimized for printing.
Accessibility Notice
This document is also available in HTML format at:
https://aholdengouveia.name/LinuxAdmin/labexcercises/networking.html
The HTML version provides enhanced accessibility features including keyboard navigation, screen reader support, responsive design, dark mode support, and high contrast options.
Objectives:
- The objective of this lab is to introduce students to Linux networking fundamentals and network troubleshooting techniques essential for server administration. Through hands-on exercises across multiple servers, students will learn to document and understand network configurations, create automated scripts for gathering network diagnostic information, develop interactive troubleshooting tools, and apply systematic approaches to resolving common network connectivity issues—critical skills for maintaining reliable networked systems.
Complete the following problems
References, a video, a PowerPoint and some notes are available at my website https://www.aholdengouveia.name/LinuxAdmin/networking.html
Go through both servers and complete the following problems. Make sure your deliverables include documents for BOTH servers clearly labeled with what the document is and which server it's for
- Document network setup, this must include the network configuration as discussed in the PowerPoint and video. Your setup should include how to find all the networking information, as well as the basics on how your server does networking by default, this needs to be more then just the IP address. This should include locations of any files you've created or need to reference. You should include any programs you've installed or updated as well, with dates of when you've done those things. Include a short document including how you did any of the installs or updates.
- Write a script to dump network info to the commandline and to a file, you may use the language from your intro to programming course, or your intro to Linux course, make sure you start with what was suggested in the Powerpoint. Make sure the name of the file includes the date, your name, and the purpose. This needs to be more then just a single command or two, really think about the format of the file it's going into, what's useful, and what you would want if someone handed you this file. For the script, make sure to include your system info, and the commands you used to get that info. Screenshot your system to show it matches the script output.
- Create a second script using the language from your Intro to Linux course that includes that structure for user interaction, (a refresher can be found at https://www.aholdengouveia.name/introlinux.html) which will ask for your server version, and then depending on which one you choose will give you different troubleshooting suggestions. Script should cover both types of servers you picked. You should have some general troubleshooting suggestions for fixing things like no internet connectivity, setting a static IP address and DNS to check, and running a trace on a path to a common website of your choice.
Deliverables
Target Market is someone trying to take care of your server that hasn't used them before, assume technical knowledge but not expertise. Screenshots are helpful to go with your descriptions.
- A document that is your current network setup, including notes of what is installed, the last time it was updated and any changes you've made to the defaults. Make sure to include a short paragraph explaining how networking works on your server by default as well as how to find all relevant information/scripts/configs/tools.
- At least one page of research on what you've chosen to add to your networking info dump script and why. Remember to cite your sources and explain why you think this additions are valuable.Sources do not count towards the one page.
- Well commented and well tested scripts, and a sample run of each script on each server. Include any instructions needed for running the script. Such as, does it need to be run in a special folder? does it save the textfile to a special place (it should) and where that might be? Which commands you've chosen to put in the script and why. Make sure to upload both your actual scripts not just the link to where they live on GitHub.
- link to your GitHub where your scripts have been uploaded