Fujitsu C120-E276-11ENZ0(A) Network Card User Manual


 
3.3 Environment Setting
This section explains how to edit the necessary files and use the commands(Solari 11 only) to configure the operating environment for
each FUJITSU PCI GigabitEthernet interface.
For TCP/IP (IPv4 or IPv6), edit the following files and execute the following command(Solaris 11 only).
- Solaris 10 8/07 or later
- /etc/hostname.
fjgi*
(*1) file
- /etc/inet/hosts file or /etc/inet/ipnodes file
- /etc/inet/netmasks file
*1: Please put a decimal number (instance number) in place of the asterisk (*).
See section "3.3 Environment Setting" for detailed information about instance number.
- Solaris 11
- ipadm(1M) command
- /etc/hosts file
*1: For more information about the ipadm(1M) command, please refer to the "System Administration Guide: IP Services" and the
"man pages section 1M: System Administration Commands" of Oracle Documentation.
3.3.1 Environment Setting of IPv4 Interfaces
- Solaris 10 8/07 or later
1. Edit the /etc/hostname.
fjgi*
file
Assign an IP address or hostname to the fjgi interface by editing the /etc/hostname.fjgi* file (where
fjgi*
represents the driver
name and instance number).
The relationship between IP address and netmask needs to be defined using the procedure described in "3. Edit the /etc/inet/
netmasks file".
Example of the /etc/hostname.fjgi* file:
Define a unique hostname (example: giga-v4). (*1)
giga-v4
Or define an IP address (example: 192.168.150.1). (*2)
192.168.150.1
*1: See section "2. Edit the /etc/inet/hosts file" for detailed information about defining the hostname.
*2: Please put neither a blank nor an empty line behind the hostname or IP address. If a blank or an empty line has been
entered, the fjgj driver will not be activated during OS boot.
2. Edit the /etc/inet/hosts file
Define an IP address by a unique name. Describe the relationship between the IP address and hostname in the /etc/inet/hosts
file.
Example of the /etc/inet/hosts file:
Describe the relationship between an IP address (example: 192.168.150.1) and a hostname (example: giga-v4).
# IP Address Hostname
192.168.150.1 giga-v4
- 12 -