Setup guide

DescriptionNetworking Configuration File
Contains interface-specific configuration./etc/sysconfig/network-scripts/ifcfg-eth<x>, where
<x> specifies the ethernet port number, usually 0
for the first on-board port.
The following procedures provide instructions on setting up each configuration
file. Log is as root before editing these files. When you are done changing the
network settings, restart your system for the changes to take effect.
To configure the system hostname and default Gateway:
1 Open the /etc/sysconfig/network file in a text editor.
2 Make sure the NETWORKING keyword is set to yes.
3 Configure the HOSTNAME keyword with the hostname you want to use
for your system. For example:
HOSTNAME=workstation1
4 Configure the GATEWAY keyword with the IP address of the gateway
system on your network. For example:
GATEWAY=192.168.0.1
This is the global default gateway that will be used by the system if no
gateway is defined in a network ports individual configuration file.
5 Save and close the file.
To configure the system IP address and netmask:
1 Open the /etc/sysconfig/network-scripts/ifcfg-eth<x> file in a text editor,
where <x> is the number of the network port your system uses to connect
to the facility network, typically 0.
NOTE In most cases, the network port eth0 is the first on-board port on the
back of your workstation. Note however that, if your workstation has an
add-on Ethernet card installed, the Linux operating system may assign ports
eth0 through eth3 to the add-on card. In such a case, the on-board Ethernet
ports become eth4 and eth5.
2 Make sure the BOOTPROTO keyword is set to static. Your software does
not support DHCP network configurations.
BOOTPROTO=static
38 | Chapter 2 Preparing your Workstation