Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

Previous Previous     Contents     Index     Next Next

ProcedureHow to Add IPv6 Addresses to DNS

  1. Become superuser on the primary or secondary DNS server for your IPv6 network.

  2. Edit the appropriate DNS zone file by adding AAAA records for each IPv6-enabled host, as follows.

    host-name  IN   AAAA 	host-address

  3. Edit the DNS reverse zone file and add PTR records, using the following format.

    host-address IN   PTR   host-name

For detailed information on DNS administration, refer to "DNS Administration (Reference)" in System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP).

Example--DNS Zone File

vallejo		IN		AAAA   2::9256:a00:20ff:fe12
IN		AAAA   fec0::9256:a00:20ff:fe12:528

Example--DNS Reverse Zone File

$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.apex.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.apex.COM.

Monitoring IPv6

The following commands are modified to accommodate the Solaris implementation of IPv6.

  • ifconfig(1M)

  • netstat(1M)

  • snoop(1M)

  • ping(1M)

  • traceroute(1M)

You can use the new additions to conduct diagnostics. For conceptual descriptions of these commands, see IPv6 Extensions to the ifconfig Utility and IPv6 Extensions to Existing Utilities.

Monitoring IPv6 Task Map

Table 2-2 Monitoring IPv6 Task Map

Task

Description

For Instructions, Go to ...

Display interface address assignments

Displays all address assignments, or just IPv4, IPv6, or 6to4-derived address assignments by using ifconfig command.

How to Display Interface Address Assignments

Display network status

Displays all sockets and routing table entries. Displays inet address family for IPv4. Displays inet6 address family for IPv6. Displays statistics for IPv6 or ICMPv6 counters of interfaces by using the netstat command.

How to Display Network Status

Control the display output of IPv6 related commands

Controls the output of the ping, netstat, ifconfig, and traceroute commands. Creates a file that is named inet_type. Sets the DEFAULT_IP variable in this file.

How to Control the Display Output of IPv6 Related Commands

Monitor only IPv6 network traffic

Displays all IPv6 packets by using the snoop command.

How to Monitor Only IPv6 Network Traffic

Probe all multì-homed host addresses

Checks all addresses by using the ping command.

How to Probe All Multi-homed Host Addresses

Trace all routes

Uses the traceroute command.

How to Trace All Routes

ProcedureHow to Display Interface Address Assignments

You can use the ifconfig command to display all address assignments as well as just IPv4 or IPv6 address assignments.

  • On the command line, type the following command.

    % ifconfig [option]

For more information on the ifconfig command, see the ifconfig(1M) man page.

Example--Displaying Addressing Information for All Interfaces

% ifconfig -a
lo0: flags=1000849 mtu 8232 index 1
        inet 120.10.0.1 netmask ff000000 
le0: flags=1000843 mtu 1500 index 2
        inet 120.46.86.54 netmask ffffff00 broadcast 120.146.86.255
        ether 8:0:73:56:a8 
lo0: flags=2000849 mtu 8252 index 1
        inet6 ::1/128 
le0: flags=2000841 mtu 1500 index 2
        ether 8:0:20:56:a8 
        inet6 fe80::a00:fe73:56a8/10 
le0:1: flags=2080841 mtu 1500 index 2
        inet6 fec0::56:20ff:fe73:56a8/64 
le0:2: flags=2080841 mtu 1500 index 2
        inet6 2::56:a00:fe73:56a8/64

Example--Displaying Addressing Information for All IPv4 Interfaces

% ifconfig -a4
lo0: flags=1000849 mtu 8232 index 1
        inet 120.10.0.1 netmask ff000000 
le0: flags=1000843 mtu 1500 index 2
        inet 120.46.86.54 netmask ffffff00 broadcast 120.46.86.255
        ether 8:0:20:56:a8

Example--Displaying Addressing Information for All IPv6 Interfaces

% ifconfig -a6
lo0: flags=2000849 mtu 8252 index 1
        inet6 ::1/128 
le0: flags=2000841 mtu 1500 index 2
        ether 8:0:20:56:a8 
        inet6 fe80::a00:fe73:56a8/10 
le0:1: flags=2080841 mtu 1500 index 2
        inet6 fec0::56:20ff:fe73:56a8/64 
le0:2: flags=2080841 mtu 1500 index 2
        inet6 2::56:a00:fe73:56a8/64 
ip.6to4tun0: flags=2200041<UP,RUNNING,NONUD,IPv6> mtu 1480 index 11
        inet tunnel src 129.146.86.187 
        tunnel hop limit 60 
        inet6 2002:8192:56bb::1/64 

Example--Displaying Addressing Information for the 6to4 Pseudo-Interface

% ifconfig ip.6to4tun0 inet6
6to4tun0: flags=2200041<UP,RUNNING,NONUD,IPv6. mtu 1480 index 11
        inet tunnel src 172.16.213.81 
        tunnel hop limit 60 
        inet6 2002:ac10:d551::1/64 

ProcedureHow to Display Network Status

These procedures enable you to display the following structure formats for network data by using the netstat command:

  • All sockets and routing table entries

  • Inet address family for IPv4

  • Inet6 address family for IPv6

  • Statistics per interface--IPv6 or ICMPv6 counters

  • On the command line, type the following command.

    % netstat [option] 

For more information on the netstat command, see the netstat(1M) man page.

Previous Previous     Contents     Index     Next Next