Open main menu

CDOT Wiki β

Changes

OPS245 Lab 6

1 byte removed, 19:56, 21 March 2021
m
Part 3: Configuring VM Network Setup via Command Line (centos3 and centos2): using non-deprecated parameters
<li>Configure the centos2 VM (in the '''View''' -> '''Details''' menu of Virtual Machine Manager) to configure the NIC interface to '''network1''', click '''Apply''', and switch your centos2 VM view from details to '''console'''.</li>
<li>Start your '''centos2''' VM, login, and issue the command: <b><code><span style="color:#3366CC;font-size:1.2em;">ip address show</span></code></b> and write down the '''MAC address''' for your eth0 network interface.</li>
<li>Edit the '''/etc/sysconfig/network-scripts/ifcfg-eth0''' file using the IPADDR: '''192.168.245.12''' , and the same '''NETMASKPREFIX''', '''GATEWAY''', '''DNS1''' and '''MAC address''' information for you centos2 VM (i.e. recorded previously).</li>
<li>Save changes, re-issue the '''ifdown''' and '''ifup''' commands, and then issue the '''ip address''' and '''ping''' commands to verify that you can connect to other VMs on your network.</li>
</ol>
932
edits