Changes

Jump to: navigation, search

OPS235 Lab 6

111 bytes added, 13:22, 22 June 2016
no edit summary
=== Part 3: Configuring VM Network Setup via Command Line ('''centos3''') ===
Our The centos3 VM is a and centos2 VMs are '''text-based only''' systemsystems, 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:'''
# Leave your '''centos1''' and '''centos2''' Configure the centos3 VM running, but start (in the View -> Details menu of Virtual Machine Manager) to configure the NIC interface to network1 (refer to Part 1)/# Start your '''centos3''' VM, login, and su to '''root'''.# Use the command called: '''ifconfig''' to list active interfaces, you should see one with a name of '''eth0''' or a similar name.
# To configure your card with a static address use the following command:
#:<b><code><span style="color:#3366CC;font-size:1.2em;">ifconfig eth0 192.168.235.13 netmask 255.255.255.0</span></code></b>
#::NM_CONTROLLED="yes"
#::IPV6INIT="no"
# Save the file and then restart the network connection by issuing the commands: <br><b><code><span style="color:#3366CC;font-size:1.2em;">ifdown eth0</span></code></b> and then <b><code><span style="color:#3366CC;font-size:1.2em;">ifup eth0</span></code></b>
# Verify your configuration as you did before.
# Restart the '''centos3''' VM.
13,420
edits

Navigation menu