Open main menu

CDOT Wiki β

Changes

OPS235 Lab 6 - CentOS7 - SSD

No change in size, 02:54, 12 June 2016
no edit summary
</ol>
</li>
<li>Repeat the same steps for your '''<u>centos2</u>''' and '''<u>centos4centos3</u>''' VMs!</li>
</li>
</ol>
'''Answer Part 3 observations / questions in your lab log book.'''
== Part 4: Configuring VM Network Setup via Command Line ('''centos4centos3''') ==
Our centos4 centos3 VM is a '''text-based only''' system, thus we cannot use a graphical tool to configure centos4 centos3 to connect to our private network. Therefore we will learn how to perform this task by using command-line tools.
# Leave your '''centos1''' and '''centos2''' VM running, but start your '''centos4centos3''' VM, login, and su to '''root'''.
# Use the command '''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;">ping</span></code></b> (your other VM's and c7host)
#: <b><code><span style="color:#3366CC;font-size:1.2em;">ssh</span></code></b> ( to your Seneca's Matrix account to test your DNS)
# Restart the <code>centos4centos3</code> VM, or just wait a few minutes.
# Login and test your configuration again. What happened?
# While we can configure network settings from the command line those settings are not persistent. To configure persistent network configurations we need to edit the configuration files.
# Save the file and then restart the network connection by issuing the commands: <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 '''centos4centos3''' VM.
# Login and attempt to '''ssh''' to your matrix account to verify the settings.
#::192.168.235.11 centos1
#::192.168.235.12 centos2
#::192.168.235.13 centos4centos3<br><br>
#Confirm that each host can ping all three of the other hosts by name.
13,420
edits