13,420
edits
Changes
no edit summary
=== Part 3: Configuring VM Network Setup via Command Line ('''centos3''') ===
'''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.