Changes

Jump to: navigation, search

OPS235 Lab 6 - Fedora17

866 bytes added, 17:17, 2 March 2010
Investigation 4: How do I configure the network without a GUI tool?.
# Restart the <code>fedora3</code> VM
# Login and test your configuration again. What happened?
# While we can configure network settings from the command line those settings are not persistent.To configure persistent network configurations we need to edit the configuration files:#* 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>ifcfg-eth0</code>#* Copy that file to <code>ifcfg-eth1</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.1DNS1=192.168.235.1DEVICE=eth1 <-- or the interface name you haveBOOTPROTO=noneNETMASK=255.255.255.0TYPE=EthernetHWADDR=52:54:00:3f:5c:fa <--use the HWADDR for your interfaceIPADDR=192.168.235.13IPV6INIT=noONBOOT=yesUSERCTL=no
9
edits

Navigation menu