System Administration Guide, Volume 3 | ||||
---|---|---|---|---|
![]() | ![]() | Chapter 2. Managing IPv6 Tasks | ![]() |
This section provides procedures you might need to configure IPv6 nodes on your network.
Note - The term node in this context refers either to a Solaris server or client workstation.
Table 2-1. Enabling IPv6 Nodes Task Map
Task | Description | For Instructions, Go to ... |
---|---|---|
1. Enable IPv6 on a node | Involves touching hostname6.interface file, displaying addresses, and entering them in the /etc/inet/ipnodes file. (See note.) | |
2. Configure a Solaris IPv6 router | Involves adding entries to the indp.conf file. | |
3. Add IPv6 addresses to NIS and NIS+ | Involves adding entries to the /etc/ipnodes file. | |
4. Add IPv6 addresses to DNS | Involves adding AAAA records to the DNS zone and reverse zone file. |
Note - You can enable IPv6 on a system when you install the Solaris software. If you answered yes to enable IPv6 during the installation process, you can omit the following IPv6 enabling procedure.
# touch /etc/hostname6.interface |
Interface | Interface name, such as le0, le1. |
Note - Rebooting sends out router discovery packets and the router responds with a prefix, enabling the node to configure the interfaces with an IP address. Rebooting also restarts key networking daemons in IPv6 mode.
# ifconfig -a |
Note - In the future you will be able to update DNS dynamically.
ifdefault variable value |
See the in.ndpd(1M) man page for a list of variables and allowable values.
prefixdefault variable value |
See the in.ndpd(1M) man page for a list of variables and allowable values.
if interface variable value |
See the in.ndpd(1M) man page for a list of variables and allowable values.
prefix prefix/length interface variable value |
See the in.ndpd(1M) man page for a list of variables and allowable values.
Note - Neighbor Discovery (in.ndpd) relays to the hosts their subnet address prefixes. Also, the RIPng routing protocol (in.ripngd) runs automatically.
# Send router advertisements out all NICs ifdefault AdvSendAdvertisements on # Advertise a global prefix and a # site local prefix on three interfaces. # 0x9255 = 146.85 prefix 2:0:0:9255::0/64 hme0 prefix fec0:0:0:9255::0/64 hme0 # 0x9256 = 146.86 prefix 2:0:0:9256::0/64 hme1 prefix fec0:0:0:9256::0/64 hme1 # 0x9259 = 146.89 prefix 2:0:0:9259::0/64 hme2 prefix fec0:0:0:9259::0/64 hme2 |
A new table has been added for NIS+ named ipnodes.org_dir. It contains both IPv4 and IPv6 addresses for a host. The existing hosts.org_dir table, which contains only IPv4 addresses for a host, remains as it is to facilitate existing applications. You must keep both the hosts.org_dir and ipnodes.org_dir tables consistent with the IPv4 addresses. This does not happen automatically. See IPv6 Extensions to Solaris Name Services in Chapter 1 for an overview.
Administration of the new ipnodes.org_dir table is similar to administering the hosts.org_dir. The same tools and utilities that were used in administering the previous NIS+ tables are valid for ipnodes.org_dir. See the "Solaris Naming Administration Guide" for complete details on how to manipulate the NIS+ table. (EXTERNAL LINK TBD.)
The following procedure merges the entries from /etc/inet/ipnodes into the ipnodes.org_dir table (in verbose mode). It is assumed that the NIS+ table was created by nistbladm(1), nissetup(1M), or nisserver(1M).
Use the following procedure to display the ipnodes.org_dir table.
Two new maps have been added for NIS: ipnodes.byname and ipnodes.byaddr. These maps contain both IPv4 and IPv6 hostname and address associations. The existing hosts.byname and hosts.byaddr maps, which contains only IPv4 hostname and address associations, will remain as they are to facilitate existing applications. Administration of the new maps is similar to the maintenance of the older hosts.byname and hosts.byaddr maps. Again, it is important that when you update the hosts maps with IPv4 addresses that the new ipnode maps are also updated with the same information.
Note - IPv6 aware tools will use the new NIS and NIS+ maps and tables exclusively.
host-name variable value AAAA host-address |
host-name | The name of the host |
variable | IN |
value | AAAA |
host-address | The IP address of the host |
host-address variable value PTR host-name |
host-address | The IP address of the host |
variable | IN |
value | PTR |
host-name | The name of the host |
See RFC 1886 for more information about AAAA and PTR records.
vallejo IN AAAA 2::9256:a00:20ff:fe12 IN AAAA fec0::9256:a00:20ff:fe12:528 |
$ORIGIN ip6.int. 8.2.5.0.2.1.e.f.f.f.9.2.0.0.a.0.6.5.2.9.0.0.0.0.0.0.0.0.2.0.0.0 \ IN PTR vallejo.Eng.Sun.COM. 8.2.5.0.2.1.e.f.f.f.9.2.0.0.a.0.6.5.2.9.0.0.0.0.0.0.0.0.0.c.e.f \ IN PTR vallejo.Eng.Sun.COM. |
![]() | ![]() | ![]() |
Managing IPv6 Tasks | ![]() | Monitoring IPv6 |