Environment Setting Of Ipv6 Interfaces - Fujitsu PCI Gigabit Ethernet User Manual

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

Advertisement

3.3.2 Environment Setting of IPv6 Interfaces

-
Solaris 10 8/07 or later
1.
Edit the /etc/hostname6.
Assign an IPv6 address or hostname and prefix length to the fjgi interface by editing the /etc/hostname6.fjgi* file (where
represents the driver name and instance number).
Example of the /etc/hostname6.fjgi* file:
Define a unique hostname (example: giga-v6) and prefix length (example: 120). (*1)
addif giga-v6/120 up
Or define an IPv6 address (example: fe80::2e0:ff:fea6:2222) and prefix length (example: 120).
addif fe80::2e0:ff:fea6:2222/120 up
*1: See section "2. Edit the /etc/inet/ipnodes file" when you define a hostname in the /etc/hostname6.fjgi* file.
2.
Edit the /etc/inet/ipnodes file
Define an IPv6 address by a unique name. Describe the relationship between the IPv6 address and the hostname in the /etc/inet/
ipnodes file.
Example of the /etc/inet/ipnodes file:
Describe the relationship between the IPv6 address (example: fe80::2e0:ff:fea6:2222) and the hostname (example: giga-v6).
# IP Address
fe80::2e0:ff:fea6:2222
3.
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-v6) and prefix length (example: 120) to fjgi interface (example: fjgi0 (this vanity name
is net2)). (*1)
# ipadm create-ip net2
# ipadm create-addr -T addrconf net2/v6addrconf
# ipadm create-addr -T static -a giga-v6/24 net2/v4static
Or setup an IP address (example: fe80::2e0:ff:fea6:2222) and prefix length (example: 120) to fjgi interface (example: fjgi0 (this
vanity name is net2)).
# ipadm create-ip net2
# ipadm create-addr -T addrconf net2/v6addrconf
# ipadm create-addr -T static -a fe80::2e0:ff:fea6:2222/120 net2/v6static
*1: When you use a hostname, please see section "2. Edit the /etc/hosts file" first.
fjgi* file
Hostname
giga-v6
- 14 -
fjgi*

Advertisement

Table of Contents
loading

This manual is also suitable for:

Se0x7gd2xSe0x7gq1xSe0x7gq2x

Table of Contents