Changes

Jump to: navigation, search

OPS235 Lab 6

209 bytes removed, 13:12, 22 June 2016
no edit summary
=INVESTIGATION 1: CONFIGURING A VIRTUAL PRIVATE NETWORK (VPN)=
For the remainder of this course, we will focus on networking involving our VMs and our c7host machine. This lab will focus on setting up a virtual private network ('''VPN'''), connecting our VMs and c7host machine to the VPN, and configuring our VPN to make more convenient to use, troubleshoot and protect. '''Lab 7''' will focus more on configuring SSH and making access to the VPN more secure. Finally, '''lab 8''' will focus on configuring the network for fixed workstations, mobile devices, or both at the same time.
There are several reasons for creating '''VPNs'''. The main reason is to '''safely connect servers together''' (i.e. to safely limit but allow share information among computer network users). This allows for a secure connection of computers yet controlling access to and monitoring (protecting) access to permitted users (discussed in more depth later in lab7).
===Part 1: Configuring a Private Network (Via Virtual Machine Manager) ===
If we are going to setup a private network, we must do 2 major operationsthere are a number of steps to perform: First, '''define a new private network in the Virtual Manager application'''; and second, '''configure each of our VMs to connect to this new private network'''. In Part 1, we will be perform the first operation. In parts part 2, 3, and 4, we will be performing the second operation for all VMS (graphical and command-line). 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:'''
# Perform this section in Launch your '''c7host''' machine.<br><br>'''NOTE:''' Before configuring our network we want to '''turn off dynamic network configuration for our VM and start the Virtual Machines''' by turning off the '''"default"''' virtual networkMachine Manager. We will then define our virtual private network. Follow the steps in order to perform these operations. <br><br># Make certain that <u>'''ALL'''</u> the centos1, centos2, and centos3 virtual machines are powered off.
# In the Virtual Machine Manager dialog box, Select '''Edit'''-> '''Connection Details'''.
# In the '''c7host Connection Details''' dialog box, select the '''Virtual Networks''' tab# Disable Click to deselect the default configuration from starting at boot by '''<u>deselecting</u>''' '''Autostart (on boot)''' check-box options and click the '''Apply''' button.# Then Stop stop the default network configuration by clicking on the '''stop''' button at the bottom left-side of the dialog box.
# Click the '''add''' button (the button resembles a "plus sign") to add a new network configuration.
# Give your new Type the network a name (i.e. called: '''network1''') , and then click the '''Forward''' button.# In the next screen, enter in the '''new network IP address space:#''' called:'''192.168.235.0/24'''# Disable the DHCP4 by '''deselecting''' the check box and click the '''Forward''' button twice (accepting .# Click the Forward button to accept the default in the defaults)next screen.
# Enable Network Forwarding by Selecting '''Forwarding to physical network''', the destination should be '''Any physical device''' and the mode should be '''NAT'''
# Proceed with changes, and click '''Finish'''.
<li>Change it to '''Virtual Network network1: NAT''' (i.e. the VPN that you just created) and click the '''Apply''' button.</li>
</ol>
</li>
<li>Repeat the same steps for your '''<u>centos2</u>''' and '''<u>centos3</u>''' VMs!</li>
</li>
</ol>
13,420
edits

Navigation menu