Fujitsu PCI Gigabit Ethernet User Manual page 19

Pci gigabit ethernet 4.1 update2 / 5.0 for oracle solaris
Table of Contents

Advertisement

3.
Edit the /etc/inet/netmasks file
Describe the relationship between the network address and the netmask in the /etc/inet/netmasks file.
Example of the /etc/inet/netmasks file:
Describe the relationship between the network address (example: 192.168.150.0) and the netmask (example: 255.255.255.0).
# Network Address
192.168.150.0
4.
Reboot the system
Reboot the system after editing the above files.
-
Solaris 11
1.
How to Use the ipadm(1M) Command
Assign an IP address or hostname and prefix length to the fjgi interface by ipadm(1M) command.
Example:
Setup a unique hostname (example: giga-v4) and prefix length (example: 24) to fjgi interface (example: fjgi0 (this vanity name
is net2)). (*1)
# ipadm create-ip net2
# ipadm create-addr -T static -a giga-v4/24 net2/v4static
Or setup an IP address (example: 192.168.150.1) and prefix length (example: 24) to fjgi interface (example: fjgi0 (this vanity
name is net2)).
# ipadm create-ip net2
# ipadm create-addr -T static -a 192.168.150.1/24 net2/v4static
*1: When you use a hostname, please see section "2. Edit the /etc/hosts file" first.
Information
-
The following examples shows how to display an IP address and prefix length that assigned the fjgi interface.
Example:
When setting an IP address (example: 192.168.150.1) and prefix length (example: 24) to fjgi interface (example: fjgi0 (this
vanity name is net2)).
# ipadm show-addr net2/v4static
ADDROBJ
net2/v4static
2.
Edit the /etc/hosts file
Define an IP address by a unique name. Describe the relationship between the IP address and hostname in the /etc/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
192.168.150.1
netmask
255.255.255.0
TYPE
STATE
static
ok
Hostname
giga-v4
- 13 -
ADDR
192.168.150.1/24

Advertisement

Table of Contents
loading

This manual is also suitable for:

Se0x7gd2xSe0x7gq1xSe0x7gq2x

Table of Contents