Changes

Jump to: navigation, search

OPS235 Lab 6 - Fedora17

132 bytes added, 10:32, 28 February 2012
no edit summary
# Use the command <code>ifconfig</code> to list active interfaces, you should see one with a name of <code><span style="background-color:yellow">em1</span></code> or a similar name.
# To configure your card with a static address use the command:
#* <code><span style="background-color:yellow">ifconfig eth1 em1 192.168.235.13 netmask 255.255.255.0</span></code>
# To configure a default gateway for that interface enter the command:
#* <code>route add default gw 192.168.235.1</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-eth0em0</span></code>#* Copy that file to <code><span style="background-color:yellow">ifcfg-eth1em1</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
13,420
edits

Navigation menu