Table of contents
No headers This section provides instructions on configuring your system network settings to match those of your facility.
Before configuring your network settings, gather the following information from your network administrator:
- An available IP address on your network, to assign to your system. The IP must not change over time, and must not be used by any other system on your network.
- A unique host name for your system.
- The IP address of the gateway system on your network.
- The subnet mask of your network.
- The IP addresses of one or more DNS servers.
The following files contain the network settings of your Linux system.
| Networking Configuration File | Description |
|---|
| /etc/sysconfig/network | Contains global networking settings, such as the system host name, Gateway IP address, and NIS domain name, if applicable. |
| /etc/resolv.conf | Contains DNS server information. |
| /etc/hosts | Contains IP/host name pairs for host name resolution. |
| /etc/sysconfig/network-scripts/ifcfg-eth<x>, where <x> specifies the ethernet port number, usually 0 for the first on-board port. | Contains interface-specific configuration. |
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:
- Open the /etc/sysconfig/network file in a text editor.
- Make sure the NETWORKING keyword is set to yes.
- Configure the HOSTNAME keyword with the hostname you want to use for your system. For example:
HOSTNAME=burn1
- 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 port’s individual configuration file.
- Save and close the file.
To configure the system IP address and netmask:
- 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.
- Make sure the BOOTPROTO keyword is set to static.
BOOTPROTO=static
- Set the IPADDR keyword to the IP address you want to use. Make sure this IP is not used by any other system on your network. For example:
IPADDR=192.168.0.100
NoteIt is not recommended to change this IP address once you have installed your Autodesk software.
- Set the NETMASK keyword to the netmask used by your network. For example:
NETMASK=255.255.255.0
- Make sure the ONBOOT keyword is set to yes.
ONBOOT=yes
- Optional: If you have not specified a global default gateway for your system, or if you want to use a different gateway for this particular network port, add a GATEWAY keyword in this file, and set it to the IP address of the gateway. For example:
GATEWAY=192.168.0.1
- Save and close the configuration file.
To configure host name resolution:
- Open the /etc/hosts file in a text editor.
- Locate the loopback setting in the hosts file. By default, the loopback setting is identified by the IP address 127.0.0.1, for example:
127.0.0.1 vxfhost.localhost.localdomain localhost
- Remove the host name preceding localhost.localdomain from the loopback setting.
For example, if you remove the host name vxfhost in the example above, the loopback setting should appear as follows:
127.0.0.1 localhost.localdomain localhost
- On a new line, type the IP address of the system, press Tab, and then enter the explicit host name of the system.
The new line defines the network IP address and host name of the system. For example, if the IP address is 192.168.0.100 and the host name is burn_02, your hosts file should be as follows:
127.0.0.1 localhost.localdomain localhost
192.168.0.100 burn_02
- Optional: Add hostname / IP address pairs for other workstations on your network. For example:
192.168.0.150 flame1
- Save and close the file.
To configure DNS server information:
- Open the /etc/resolv.conf file in a text editor.
- Add a line for each DNS server IP address you want to use. The syntax is:
nameserver <DNS_server_IP>
For example:
nameserver 22.10.50.101
nameserver 22.10.50.102
NoteBe careful when editing the resolv.conf file. The syntax is very strict, and any extra spaces or carriage returns can render the file unusable by the system.