Changes

Jump to: navigation, search

OPS235 Lab 6

10 bytes added, 16:41, 27 June 2016
no edit summary
Before configuring our network we want to '''turn off dynamic network configuration for our Virtual Machines''' by turning off the '''"default"''' virtual network. We will then define our virtual private network.
:'''Perform the following steps:'''
# Launch your '''c7host VM''' and start the Virtual Machine Manager.
In this section, we will be using a graphical tool to connect our '''centos1''' and '''centos2''' VMs to our private network.
:'''Perform the following steps:'''
# On your '''c7host''' machine, run <b>ifconfig</b> and make note of the IP address assigned to the '''virbr1''' (i.e. "Virtual Bridge) interface. This will be the default gateway and DNS server for your VMs.
The centos3 and centos2 VMs are '''text-based only''' systems, 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.
:'''Perform the following steps:'''
# Configure the centos3 VM (in the View -> Details menu of Virtual Machine Manager) to configure the NIC interface to network1 (refer to Part 1)/
After setting up a private network, it can be hard to try to remember IP addresses. In this section, we will setup your network to associate easy-to-remember server names with IP ADDRESSES.
:'''Perform the following steps:'''
# Complete this investigation on '''all of your VMs''' and the '''c7host''' machine.
If you do not entirely understand the script that you will enter, just realize that we are using these "special storage variables" in order to make this work.
:'''Perform the following steps:'''
#Perform this section in your '''c7host''' machine.
:'''Perform the following steps:'''
#Switch to your c7host machine.
:'''Perform the following steps:'''
# For the remainder of this section, use your '''c7host''' machine.
:'''Perform the following steps:'''
# Remain in your '''c7host''' VM for this section.
:'''Perform the following steps:'''
# Make a backup of the file '''/etc/sysconfig/iptables''' by issuing the command:<br><b><code><span style="color:#3366CC;font-size:1.2em;">iptables-save > /etc/sysconfig/iptables.bk</span></code></b>
{{Admon/important|Time for a new backup!|If you have successfully completed this lab, make a new backup of your virtual machines as well as your host machine.}}
:'''Perform the Following Steps:'''
# Make certain that ALL of your VMs are running.
13,420
edits

Navigation menu