13,420
edits
Changes
no edit summary
=== Part 2: Configuring VM Network Setup Graphically ('''system-config-network''')For centos1 & centos2 VMs===
For Parts 2 and 3 of this investigation, we will be using a graphical tool to connect our '''centos1''' and '''centos2''' VMs to our private network.
# Open a terminal and issue the '''ifconfig''' command to confirm the IP ADDRESS settings change.
# Verify that '''centos1'''VM is now connected to the VPN by issuing the following command from your '''c7host''' machine:<br><b><code><span style="color:#3366CC;font-size:1.2em;">ping 192.168.235.11</span></code></b>
#* IP Address: '''192.168.235.12'''
#* Subnetmask: '''255.255.255.0'''
# Save and exit the network configuration tool.
# You may have to restart the network using the correct command.
# Verify the configuration by pinging the VMs and c7host using their IP addresses.# We will now create an '''Incremental Backupother VMs'''. Run the following Linux command as root:#: <b><code><span style="color:#3366CC;font-size:1.2em;">find /etc -newer /tmp/timestamp > /root/netcfg.lst</span></code></b>#View the and '''/root/netcfg.lst''' file. What does it contain?</li>#Create a new directory called: '''/tmp/lab6c7host'''{| width="40%" align="right" cellpadding="10"|- valign="top"|{{Admon/tip | Tip | You can create a Bash Shell script file using the ''find'' command above, give the shell script executable permissions, and use the ''crontab'' command to schedule running this script on a periodic basis.}}|}<ol> <li value="11">Issue the following commands: <dl> <dd><b><code><span style="color:#3366CC;font-size:1.2em;">find /etc -newer /tmp/timestamp -exec cp {} /tmp/lab6 \;</span></code></b> </dl> </li> <li>View the contents of the '''/tmp/lab6''' directorytheir IP addresses. What does it contain?</li></ol>
=== Part 43: Configuring VM Network Setup via Command Line ('''centos3''') ===
Our centos3 VM is a '''text-based only''' system, thus we cannot use a graphical tool to configure centos3 to connect to our private network. Therefore we will learn how to perform this task by using command-line tools.