Open main menu

CDOT Wiki β

Changes

OPS235 Lab 6 - Fedora17

181 bytes removed, 14:09, 11 March 2012
no edit summary
{{Admon/note | Use fedora3 | Complete this investigation on your fedora3 VM.}}
# Start '''fedora3''' VM and login as root
# Use the command <code>ifconfig</code> to list active interfaces, you should see one with a name of <code><span style="background-color:yellow">eth0</span></code> or a similar name.
# To configure your card with a static address use the following command:
#* ifconfig eth0 192.168.235.13 netmask 255.255.255.0</code>
#* Change to the <code>/etc/sysconfig/network-scripts</code> directory on <code>fedora3</code>
#* List the contents of the directory and you should see 2 different types of files, network config scripts and network configuration files.
#* look for the config file for your original interface, it should be named <code><span style="background-color:yellow">ifcfg-eth0</span></code>#* Copy that file to <code><span style="background-color:yellow">ifcfg-eth1</span></code> or whatever name matches your current eth interface.
#* Edit the new file for you interface and give it the following settings:
#**GATEWAY=192.168.235.1#**DNS1=192.168.235.1#**DEVICE=<span style="background-color:yelloweth1">eth1</span> -- '''<-- or the interface name <u>YOU</u> have'''#**BOOTPROTOIPADDR=none"192.168.235.13"#**NETMASK="255.255.255.0"#**TYPEGATEWAY=Ethernet"192.168.235.1"#**HWADDR="52:54:00:3f:5c:fa " <-- '''<--use the HWADDR for <u>YOUR</u> interface'''#**IPADDRDNS1="192.168.235.131" '''#**IPV6INITBOOTPROTO=no"static"#**ONBOOT="yes"N#**M_CONTROLLED="yes"#**USERCTLIPV6INIT="no"
# Save the file and restart the <code>NetworkManager</code> service
# Verify your configuration as you did before.
13,420
edits