Open main menu

CDOT Wiki β

Changes

OPS235 Lab 6 - CentOS7

17 bytes removed, 11:26, 24 June 2015
no edit summary
#: <b><code><span style="color:#3366CC;font-size:1.2em;">ifconfig</span></code></b>
#:<b><code><span style="color:#3366CC;font-size:1.2em;">route -n</span></code></b>
#: <b><code><span style="color:#3366CC;font-size:1.2em;">ping</span></code></b> (your other VM's and centos hostc7host)#: <b><code><span style="color:#3366CC;font-size:1.2em;">ssh</span></code></b> ( to your matrix Seneca's Matrix account to test your DNS)
# Restart the <code>centos3</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. #:* Change to the '''/etc/sysconfig/network-scripts''' directory on <code></code><br>[[Image:new-network-config.png|thumb|300px|right|This diagram should show the newer network configuration of your '''c7host''' machine in relation to your '''Virtual Machines'''.]]# List the contents of the this directory and you . You should see 2 different types of files, network config scripts and network configuration files.
# Look for the configuration file for your original interface, it should be named '''ifcfg-eth0'''
# Edit the new file for you interface and give it the following settings (or create a brand new file, might be easier than editing the old one):
13,420
edits