Open main menu

CDOT Wiki β

Changes

OPS235 Lab 6 - Fedora17

753 bytes added, 16:16, 2 March 2012
no edit summary
# Start '''fedora2''' VM and login
# On your '''fedora host''' run <code>ifconfig</code> and make note of the IP address assigned to the <code>virbr1</code> interface. This will be your default gateway for your Vm's.
# 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 the connection name and click the '''Delete''' button.# Change the "Connection Name" at the top to read '''eth1'''# Click on the '''NewAdd''' button, and select the '''IPv4 Settings''' tab.# Select Change the method from "Automatic (DHCP)" to '''Ethernet Device"Manual"''' and choose .# In the network card named '''eth1Addresses section''', click '''"Add"'''.# Statically Manually set the IP configurationto:
#: 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''' tab and add '''192.168.235.1''' as the primary DNS server.
# Select Click '''ForwardSave'''to Finish, and then select '''Apply''' exit the Network Connections dialog box.# Your network connection may 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 Finishconnect.#You should be able to use the systemctl command to restart your network.'''Restart your network''' on fedora2 by issuing the commandcommands: <code><span style="background-color: yellow">systemctl stop NetworkManager.service</span></code> and <code><span style="background-color:yellow">systemctl enable start NetworkManager.service</span></code>
# Verify your new interface by examining the output of <code>ifconfig</code>
# To verify that fedora2 has the correct default gateway configured, enter the command: <code>route -n</code>
13,420
edits