Changes

Jump to: navigation, search

OPS235 Lab 6

95 bytes added, 17:56, 7 October 2016
no edit summary
#::NM_CONTROLLED=yes
#::IPV6INIT=no
#    <ol><li value="15">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 <b><code><span style="color:#3366CC;font-size:1.2em;">ifup eth0</span></code></b></li># <li>Verify your configuration as you did before.</li># <li>Restart the '''centos3''' VM.</li># <li>Use the '''ifconfig''' and '''ping''' commands to verify your network connection to other VMs.</li># <li>Login and attempt to '''ssh''' to your matrix account to verify the settings.<br><br>We need to also configure your centos2 VM for a persistent network connection as well:<br><br></li># Edit <li>Configure the centos2 VM (in the '''/etc/sysconfig/networkView''' -scripts/ifcfg-eth0> '''Details''' file using menu of Virtual Machine Manager) to configure the IPADDR: NIC interface to '''192.168.235.12network1''' , and the same NETMASKclick '''Apply''', GATEWAY, DNS1 and switch your centos2 VM view from details to '''MAC addressconsole''' information for you centos2 VM (i.e. recorded in the previously).</li># <li>Start your '''centos2''' VM, login, and su to '''root'''.</li># <li>Issue the command: <b><code><span style="color:#3366CC;font-size:1.2em;">ip address</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.235.12''' , and the same '''NETMASK''', '''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>
13,420
edits

Navigation menu