Changes

Jump to: navigation, search

OPS235 Lab 6 - CentOS7

86 bytes removed, 11:52, 24 June 2015
no edit summary
# 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 '''centos1''' VM and login.
# Within your centos1 VM, open a terminal click '''Applications''' menu, then select '''System Tools''', and run as root then '''Settings'''. # In the ''Settings'' Dialog Box, click on the '''Network''' icon.# For the '''Wired''' connection, click the command: <b>'''settings''' button (The <codeu><span style="color:#3366CC;font-size:1.2em;">system-config-networkicon</spanu>appears as a </codeu>gear</bu>located at the bottom right-hand corner of the dialog box).# Select the '''IPv4''' tab. Change Address from ''Automatic (DHCP)'' to '''Manual'''.
# Edit the existing wired connection, using the information displayed below:
# In the '''IPv4 Settings''' tab change the method from "Automatic (DHCP)" to '''"Manual"'''.
# In the '''Addresses section''', click '''"Add"'''.# Manually set enter the IP configuration tofollowing information:#: IP Address : '''192.168.235.1211'''#: Subnet Mask : '''255.255.255.0'''#: Default Gateway : The IP address of <code>'''virbr1</code> ''' on your centos host.# Click on the '''DNS''' field and add The IP address of <code>(''virbr1</code> ''' on your centos host. ) as the primary DNS server.# Your network connection may take When finished, check your settings, and then click the '''Apply''' button.# Open a couple of minutes terminal and issue the '''ifconfig''' command to reconfigure connect (view confirm the Network Manager applet in the gnome panel at the top of the screen)IP ADDRESS settings change.# You should be able Repeat the same steps to configure your centos2 VM using the same settings, but use the service commands to restart your networkIP ADDRESS of:#:<b><code><span style="color:#3366CC;font-size:1'''192.168.2em;">service network stop</span></code></b>#:<b><code><span style="color:#3366CC;font-size:1235.2em;">service network start</span></code></b># Verify your new interface by examining the output 12''' (instead of <b><code><span style="color:#3366CC;font-size:1''192.168.235.12'').2em;">ifconfig</span></code></b># To verify that centos1 and centos2 has the correct default gateway configured, use issue the following commands:#from your c7host machine:<b><code><span style="color:#3366CC;font-size:1.2em;">route -n</span></code></bbr><br><b><code><span style="color:#3366CC;font-size:1.2em;">ifconfig</span></code></b><br><b><code><span style="color:#3366CC;font-size:1ping 192.168.235.2em;">nslookup11</span></code></b><br><b><code><span style="color:#3366CC;font-size:1.2em;">ping192.168.235.12</span></code></b>
'''Answer Part 2 observations / questions in your lab log book.'''
13,420
edits

Navigation menu