Lab. Understanding Network Configuration on CentOS To help you... Lab. Understanding Network Configuration on CentOSTo help you avoid accidentally breaking networking on your system, this lab focuses on viewing network information and not making permanent changes to network configuration.STEP 1. Open a terminal window on your CentOS system. STEP 2. Use the ifconfig command to display the current network configuration. STEP 3. Use the nmcli command to determine whether the Network Manager is currently active. STEP 4. Use the arp command to display the ARP table. STEP 5. Use the route command to display the routing table. STEP 6. Use the route command to add a new route for the 192.168.145.0/24 network, with gateway 192.168.0.199. STEP 7. Use the route command to display the new routing table STEP 8. Display the current system name. STEP 9. Change the current system name to mymachine. STEP 10. Use the host command to perform a DNS query on ubuntu.com. STEP 11. Use the dig command to perform a DNS query on ubuntu.com. < STEP 12. Use the netstat command to display TCP information. STEP 13. Use the netstat command to display the routing table. STEP 14. Use the cat command to display the contents of the file that contains the system's hostname. STEP 15. Use the cat command to display the contents of the file that contains the hostname-to-IP-address translation. STEP 16. Use the cat command to display the contents of the file that contains the DNS servers for this system. STEP 17. Use the cat command to display the contents of the file that contains the setting that determines if networking should be turned on by default for this system. STEP 18. Use the cat command to display the contents of the file that contains the settings for the eth0 device (or emp0s3 if you are working on a virtual machine).
Question
Lab. Understanding Network Configuration on CentOS To help you... Lab. Understanding Network Configuration on CentOSTo help you avoid accidentally breaking networking on your system, this lab focuses on viewing network information and not making permanent changes to network configuration.STEP 1. Open a terminal window on your CentOS system. STEP 2. Use the ifconfig command to display the current network configuration. STEP 3. Use the nmcli command to determine whether the Network Manager is currently active. STEP 4. Use the arp command to display the ARP table. STEP 5. Use the route command to display the routing table. STEP 6. Use the route command to add a new route for the 192.168.145.0/24 network, with gateway 192.168.0.199. STEP 7. Use the route command to display the new routing table STEP 8. Display the current system name. STEP 9. Change the current system name to mymachine. STEP 10. Use the host command to perform a DNS query on ubuntu.com. STEP 11. Use the dig command to perform a DNS query on ubuntu.com. < STEP 12. Use the netstat command to display TCP information. STEP 13. Use the netstat command to display the routing table. STEP 14. Use the cat command to display the contents of the file that contains the system's hostname. STEP 15. Use the cat command to display the contents of the file that contains the hostname-to-IP-address translation. STEP 16. Use the cat command to display the contents of the file that contains the DNS servers for this system. STEP 17. Use the cat command to display the contents of the file that contains the setting that determines if networking should be turned on by default for this system. STEP 18. Use the cat command to display the contents of the file that contains the settings for the eth0 device (or emp0s3 if you are working on a virtual machine).
Solution
This text is a step-by-step guide to understanding network configuration on a CentOS system. CentOS is a free and open-source operating system used by many servers worldwide. Here's a simplified explanation of each step:
-
Open a terminal window: This is like opening the command center of your computer where you can type in commands.
-
Use the
ifconfigcommand: This command shows you all the network interfaces (like Wi-Fi or Ethernet) and their current settings on your computer. -
Use the
nmclicommand: This command checks if the Network Manager (the tool that manages network connections) is active. -
Use the
arpcommand: This command shows the ARP (Address Resolution Protocol) table, which is a list that your computer uses to match IP addresses to physical addresses on the network. -
Use the
routecommand: This command shows the routing table, which is a set of rules that decides where all the network traffic goes. -
Use the
routecommand to add a new route: This is like adding a new path for the network traffic to a specific network. -
Use the
routecommand again: This time, you're checking to see if the new route you added is in the routing table. -
Display the current system name: This is like asking your computer, "What's your name?"
-
Change the current system name to
mymachine: This is like telling your computer, "Your new name is mymachine." -
Use the
hostcommand: This command asks the DNS (Domain Name System) for the IP address ofubuntu.com. -
Use the
digcommand: This is another way to ask the DNS for information aboutubuntu.com. -
Use the
netstatcommand: This command shows TCP (Transmission Control Protocol) information, which is one of the main ways that your computer sends and receives data on the network. -
Use the
netstatcommand again: This time, you're using it to see the routing table.
14-18. Use the cat command: This command shows the contents of specific files that contain important network settings, like the system's hostname, the DNS servers, and the settings for the network interfaces.
So, this guide is like a treasure map, leading you through the different parts of your computer's network settings. By following the steps, you can learn a lot about how your computer connects to and communicates with other computers on the network.
Similar Questions
You want to configure the network settings for your Linux system. Which file should you typically edit?1.0 Marks/etc/network/interfaces/etc/networking.conf/etc/interfaces /etc/networking/etc/netconfig
Linux uses the command ____ to display the logical network addresses.Group of answer choiceseth0 -showipconfigip address showint -ipshow
Perform the following experiment on a Linux system: Explore and select three networking Linux commands of your choice, try them, and explain their usage.
Which command configures a network interface?
Discuss each command in detail used in networking:a- ipconfigb- netstatc- pingd- hostnamee‐ tracert
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.