Open main menu

CDOT Wiki β

Changes

OPS235 Lab 6 - CentOS7

287 bytes removed, 10:57, 24 June 2015
no edit summary
[[Image:new_network_dialog.png|right|thumb|250px|Although the private network has been setup via the '''Virtual Machine Manager''', each virtual machine requires to change its own network setting individually (either '''graphically''' or by '''command line''').]]
# On your '''c7host''' machine, run <b>ifconfig</b> and make note of the IP address assigned to the '''virbr1''' (i.e. "Virtual Bridge) interface. This will be the default gateway and DNS server for your VMs.
# Start your '''centos1centos2''' VM and login.
# Within your centos1 VM, click '''Applications''' menu, then select '''System Tools''', and then '''Settings'''.
# In the ''Settings'' Dialog Box, click on the '''Network''' icon.
# In the '''IPv4 Settings''' tab change the method from "Automatic (DHCP)" to '''"Manual"'''.
# In the Addresses section, enter the following information:
#: IP Address: '''192.168.235.1112'''
#: Subnet Mask: '''255.255.255.0'''
#: Default Gateway: The IP address of '''virbr1''' on your centos host.
# When finished, check your settings, and then click the '''Apply''' button.
# Open a terminal and issue the '''ifconfig''' command to confirm the IP ADDRESS settings change.
# '''Repeat the same steps to configure your centos2 VM!!''' Use the IP ADDRESS : '''192.168.235.12''' (but all other settings are identical to centos1 VM network setting).# Verify that '''centos1''' and '''centos2''' are VM is now connected to the VPM VPN by issuing the following commands command from your '''c7host''' machine:<br><br><b><code><span style="color:#3366CC;font-size:1.2em;">ping 192.168.235.11</span></code></b><br><b><code><span style="color:#3366CC;font-size:1.2em;">ping 192.168.235.12</span></code></b>
'''Answer Part 2 observations / questions in your lab log book.'''
13,420
edits