Changes

Jump to: navigation, search

OPS235 Lab 6 - CentOS6

546 bytes removed, 17:32, 12 January 2014
Investigation 2: How do you configure a static network using system-config-network.
=== Investigation 2: How do you configure a static network using <code>system-config-network</code>. ===
{{Admon/note | Use fedora2 | Complete this investigation on your fedora2 VM.}}
# Start '''fedora2centos2''' VM and login# On your '''fedora centos host''' run <code>ifconfig</code> and make note of the IP address assigned to the <code>virbr1</code> interface. This will be your the default gateway and DNS server for your Vm'sVMs.[[Image:new_network_dialog.png|thumb|350px]]# Make certain to return to your fedora2 VM.# To configure a new interface on fedora2 go to '''Applications'''->'''Other'''->'''Network Connections'''.# Make certain there are no '''"Wired"''' connections (even if you have to click on Edit the connection name and click the '''Delete''' button.# Create a new existing wired connection, with the "Connection Name" at the top to read '''eth1'''# Click on the '''Add''' button, and select In the '''IPv4 Settings''' tab.# Change change the method from "Automatic (DHCP)" to '''"Manual"'''.
# In the '''Addresses section''', click '''"Add"'''.
# Manually set the IP configuration to:
#: IP Address '''192.168.235.12'''
#: Subnet Mask '''255.255.255.0'''
#: Default Gateway '''192.168.235.1''' (The IP address of <code>virbr1</code> on your fedora host.)# Click on the '''DNS''' field and add '''192.168.235The IP address of <code>virbr1</code> on your fedora host.1''' as the primary DNS server.# Click '''Save''' to Finish, and exit the Network Connections dialog box.# Your network connection may take a couple of minutes to reconfigure connect (view the Network Manager applet in the gnome panel at the top of the screen). If there is no connection after a few minutes, you should be able to right-click on the applet and click "eth1" to connect.
# You should be able to use the systemctl command to restart your network.
#'''Restart your network''' on fedora2 by issuing the commands:
#*<code>systemctl service network stop NetworkManager.service</code>#*<code>systemctl service network start NetworkManager.service</code>
# Verify your new interface by examining the output of <code>ifconfig</code>
# To verify that fedora2 centos2 has the correct default gateway configured, enter use the command: commands <code>route -n</code># Verify the network by using: , <code>ifconfig</code>, <code>nslookup</code>, and <code>ping 192.168.235.1</code>
'''Answer the Investigation 2 observations / questions in your lab log book.'''

Navigation menu