System Administration Guide, Volume 3
[ Previous ][ Fast Back ]Chapter 2. Managing IPv6 Tasks [ Next ]

Monitoring IPv6

The following commands were modified to accommodated the Solaris implementation of IPv6.

You can use the new additions to conduct diagnostics. For conceptiual descriptions of these commands, see Extensions to the ifconfig Utility in Chapter 1 and Extensions to Existing Utilities in Chapter 1.

Monitoring IPv6 Task Map

Table 2-2. Monitoring IPv6 Task Map

Task

Description

For Instructions, Go to

1. Display interface address assignments

Displays all, or just IPv4, or just IPv6 address assignments using ifconfig command.

How to Display Interface Address Assignments

2. Display network status

Displays all sockets and routing table entries, inet address family for Ipv4, inet6 address family for IPv6, and statistics per interface IPv6/ICMPv6 counters using netstat command.

How to Display Network Status

3. Control the display output

Controls the output of the ping, netstat, ifconfig, and traceroute commands by creating a file named inet_type and setting the DEFAULT_IP variable in it.

How to Control the Display Output

4. Monitor only IPv6 network traffic

Displays all IPv6 packets using the snoop command.

How to Monitor Only IPv6 Network Traffic

5. Probe all multihomed host addresses

Checks all addresses using the ping command.

How to Probe All Multihomed Host Addresses

6. Trace all routes

Traces all routes using the traceroute command.

How to Trace All Routes

Procedure How 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.

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

Example--ifconfig a Command

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

Example--ifconfig a4 Command

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

Example--ifconfig a6 Command

% ifconfig -a6
lo0: flags=2000849 mtu 8252 index 1
        inet6 ::1/128 
le0: flags=2000841 mtu 1500 index 2
        ether 8:0:20:73:56:a8 
        inet6 fe80::a00:20ff:fe73:56a8/10 
le0:1: flags=2080841 mtu 1500 index 2
        inet6 fec0::56:a00:20ff:fe73:56a8/64 
le0:2: flags=2080841 mtu 1500 index 2
        inet6 2::56:a00:20ff:fe73:56a8/64 

Procedure How to Display Network Status

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

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

Example--netstat a Command

% netstat -a
UDP: IPv4
   Local Address         Remote Address     State
-------------------- -------------------- -------
      *.*                                   Unbound
      *.sunrpc                              Idle
      *.*                                   Unbound
      *.32771                               Idle
      *.syslog                              Idle
      *.*                                   Unbound

UDP: IPv6
   Local Address                     Remote Address                   State
If  
--------------------------------- --------------------------------- -------
      *.*                                                           Unbound
      *.time                                                        Idle
      *.echo                                                        Idle
      *.discard                                                     Idle
      *.daytime                                                     Idle
      *.chargen                                                     Idle

TCP: IPv4
   Local Address        Remote Address    Swind Send-Q Rwind Recv-Q  State
-------------------- -------------------- ----- ------ ----- ------ -------
      *.*                  *.*                0      0     0      0 IDLE
      *.sunrpc             *.*                0      0     0      0 LISTEN
      *.*                  *.*                0      0     0      0 IDLE
      *.ftp                *.*                0      0     0      0 LISTEN
localhost.427              *.*                0      0     0      0 LISTEN
      *.telnet             *.*                0      0     0      0 LISTEN
turkiye.Eng.Sun.COM.telnet istanbul.Eng.Sun.COM.35388  8760      0  8760  0
ESTABLISHED
turkiye.Eng.Sun.COM.33528 npmpk17a-86.Eng.Sun.COM.46637  8760      0  8760 
0 TIME_WAIT
turkiye.Eng.Sun.COM.33529 npmpk17a-86.Eng.Sun.COM.sunrpc  8760      0  8760
0 TIME_WAIT
TCP: IPv6
   Local Address                     Remote Address            Swind Send-Q 
Rwind Recv-Q   State      If 
--------------------------------- --------------------------------- -----  
------ ----------- -----
      *.*                               *.*                             0  0 
    0      0 IDLE             
      *.ftp                             *.*                             0  0 
    0      0 LISTEN           
      *.telnet                          *.*                             0  0 
    0      0 LISTEN           
      *.shell                           *.*                             0  0 
    0      0 LISTEN           
      *.login                           *.*                             0  0 
    0      0 LISTEN           
      *.exec                            *.*                             0  0 
    0      0 LISTEN           
      *.finger                          *.*                             0  0 
    0      0 LISTEN           
      *.time                            *.*                             0  0 
    0      0 LISTEN           
      *.echo                            *.*                             0  0 
    0      0 LISTEN           
      *.discard                         *.*                             0  0 
    0      0 LISTEN           
      *.daytime                         *.*                             0  0 
    0      0 LISTEN           
      *.chargen                         *.*                             0  0 
    0      0 LISTEN           
      *.smtp                            *.*                             0  0 
    0      0 LISTEN           
2::56:a00:20ff:fe73:56a8.login    something.1023                     8640  0 
 8640      0 ESTABLISHED      
fe80::a00:20ff:fe73:56a8.echo     fe80::a00:20ff:fe87:8dde.35389     8640  0 
 8640      0 ESTABLISHED      
fe80::a00:20ff:fe73:56a8.ftp      fe80::a00:20ff:fe87:8dde.35390     8640  0 
 8640      0 ESTABLISHED      

Example--netstat f inet Command

% netstat -f inet
TCP: IPv4
   Local Address        Remote Address    Swind Send-Q Rwind Recv-Q  State
-------------------- -------------------- ----- ------ ----- ------ -------
turkiye.Eng.Sun.COM.telnet istanbul.Eng.Sun.COM.35388  8760      0  8760   0 
ESTABLISHED
turkiye.Eng.Sun.COM.1022 alive-v4.nfsd         8760      0  8760      0 
ESTABLISHED
turkiye.Eng.Sun.COM.1021 slug-17.Eng.Sun.COM.nfsd  8760      0  8760      0 
ESTABLISHED
turkiye.Eng.Sun.COM.rclient humbolt.Eng.Sun.COM.nfsd  8760      0  8760    0 
ESTABLISHED
turkiye.Eng.Sun.COM.1019 qtt.Eng.Sun.COM.nfsd  8760      0  8760      0 
ESTABLISHED
turkiye.Eng.Sun.COM.1018 arachnid.Eng.Sun.COM.nfsd  8760      0  8760      0 
ESTABLISHED
turkiye.Eng.Sun.COM.1017 udmpk17d.Eng.Sun.COM.nfsd  8760      0  8760      0 
ESTABLISHED
turkiye.Eng.Sun.COM.33538 npmpk17a-86.Eng.Sun.COM.46637  8760      0  8760  
0 ESTABLISHED
turkiye.Eng.Sun.COM.33539 npmpk17a-86.Eng.Sun.COM.sunrpc  8760      0  8760  
0 TIME_WAIT

Example--netstat f inet6 Command

% netstat -f inet6
TCP: IPv6
   Local Address                     Remote Address              Swind Send-Q 
Rwind Recv-Q   State      If 
--------------------------------- ------------------------------ ----- ------ 
----- ------ ----------- -----
2::56:a00:20ff:fe73:56a8.login    something.1023                  8640      0 
 8640      0 ESTABLISHED      
fe80::a00:20ff:fe73:56a8.echo     fe80::a00:20ff:fe87:8dde.35389  8640      0 
 8640      0 ESTABLISHED      
fe80::a00:20ff:fe73:56a8.ftp      fe80::a00:20ff:fe87:8dde.35390  8640      0 
 8640      0 ESTABLISHED      
fe80::a00:20ff:fe73:56a8.ftp-data fe80::a00:20ff:fe87:8dde.35391 25920      0 
25920      0 TIME_WAIT        
fe80::a00:20ff:fe73:56a8.ftp-data fe80::a00:20ff:fe87:8dde.35392 25920      0 
25920      0 TIME_WAIT        
fe80::a00:20ff:fe73:56a8.ftp-data fe80::a00:20ff:fe87:8dde.35393    25920   0 
25920      0 TIME_WAIT        
fe80::a00:20ff:fe73:56a8.ftp-data fe80::a00:20ff:fe87:8dde.35394    25920   0 
25920      0 TIME_WAIT      

Example--netstat sa Command

% netstat -sa
RAWIP
        rawipInDatagrams    =  1407     rawipInErrors       =     0
        rawipInCksumErrs    =     0     rawipOutDatagrams   =     5
        rawipOutErrors      =     0

UDP
        udpInDatagrams      =  7900     udpInErrors         =     0
        udpOutDatagrams     =  7725     udpOutErrors        =     0

TCP     tcpRtoAlgorithm     =     4     tcpRtoMin           =   200
        tcpRtoMax           = 60000     tcpMaxConn          =    -1
        tcpActiveOpens      =   773     tcpPassiveOpens     =     5
        tcpAttemptFails     =     0     tcpEstabResets      =     0
        tcpCurrEstab        =     6     tcpOutSegs          =  3548
        tcpOutDataSegs      =  1083     tcpOutDataBytes     =116722
        tcpRetransSegs      =     0     tcpRetransBytes     =     0
        tcpOutAck           =  2464     tcpOutAckDelayed    =    55
        tcpOutUrg           =     1     tcpOutWinUpdate     =     0
        tcpOutWinProbe      =     0     tcpOutControl       =  1551
        tcpOutRsts          =     1     tcpOutFastRetrans   =     0
        tcpInSegs           =  4449
        tcpInAckSegs        =  1832     tcpInAckBytes       =117494
        tcpInDupAck         =  1544     tcpInAckUnsent      =     0
        tcpInInorderSegs    =  1258     tcpInInorderBytes   =504710
        tcpInUnorderSegs    =     0     tcpInUnorderBytes   =     0
        tcpInDupSegs        =     0     tcpInDupBytes       =     0
        tcpInPartDupSegs    =     0     tcpInPartDupBytes   =     0
        tcpInPastWinSegs    =     0     tcpInPastWinBytes   =     0
        tcpInWinProbe       =     0     tcpInWinUpdate      =     0
        tcpInClosed         =     1     tcpRttNoUpdate      =     0
        tcpRttUpdate        =  1065     tcpTimRetrans       =     0
        tcpTimRetransDrop   =     0     tcpTimKeepalive     =    44
        tcpTimKeepaliveProbe=     0     tcpTimKeepaliveDrop =     0
        tcpListenDrop       =     0     tcpListenDropQ0     =     0
        tcpHalfOpenDrop     =     0     tcpOutSackRetrans   =     0

IPv4    ipForwarding        =     2     ipDefaultTTL        =   255
        ipInReceives        =406345     ipInHdrErrors       =     0
        ipInAddrErrors      =     0     ipInCksumErrs       =     0
        ipForwDatagrams     =     0     ipForwProhibits     =     0
        ipInUnknownProtos   =     0     ipInDiscards        =     0
        ipInDelivers        = 12892     ipOutRequests       = 12669
        ipOutDiscards       =     0     ipOutNoRoutes       =     0
        ipReasmTimeout      =    60     ipReasmReqds        =  2660
        ipReasmOKs          =  2660     ipReasmFails        =     0
        ipReasmDuplicates   =     0     ipReasmPartDups     =     0
        ipFragOKs           =     0     ipFragFails         =     0
        ipFragCreates       =     0     ipRoutingDiscards   =     0
        tcpInErrs           =     0     udpNoPorts          =387654
        udpInCksumErrs      =     0     udpInOverflows      =     0
        rawipInOverflows    =     0     ipsecInSucceeded    =     0
        ipsecInFailed       =     0     ipInIPv6            =     0
        ipOutIPv6           =     5     ipOutSwitchIPv6     =     3

IPv6 for lo0
        ipv6Forwarding      =     2     ipv6DefaultHopLimit =     0
        ipv6InReceives      =     0     ipv6InHdrErrors     =     0
        ipv6InTooBigErrors  =     0     ipv6InNoRoutes      =     0
        ipv6InAddrErrors    =     0     ipv6InUnknownProtos =     0
        ipv6InTruncatedPkts =     0     ipv6InDiscards      =     0
        ipv6InDelivers      =     0     ipv6OutForwDatagrams=     0
        ipv6OutRequests     =     0     ipv6OutDiscards     =     0
        ipv6OutNoRoutes     =     0     ipv6OutFragOKs      =     0
        ipv6OutFragFails    =     0     ipv6OutFragCreates  =     0
        ipv6ReasmReqds      =     0     ipv6ReasmOKs        =     0
        ipv6ReasmFails      =     0     ipv6InMcastPkts     =     0
        ipv6OutMcastPkts    =     0     ipv6ReasmDuplicates =     0
        ipv6ReasmPartDups   =     0     ipv6ForwProhibits   =     0
        udpInCksumErrs      =     0     udpInOverflows      =     0
        rawipInOverflows    =     0     ipv6InIPv4          =     0
        ipv6OutIPv4         =     0     ipv6OutSwitchIPv4   =     0

IPv6 for le0
        ipv6Forwarding      =     2     ipv6DefaultHopLimit =   255
        ipv6InReceives      =   885     ipv6InHdrErrors     =     0
        ipv6InTooBigErrors  =     0     ipv6InNoRoutes      =     0
        ipv6InAddrErrors    =     0     ipv6InUnknownProtos =     0
        ipv6InTruncatedPkts =     0     ipv6InDiscards      =     0
        ipv6InDelivers      =   870     ipv6OutForwDatagrams=     0
        ipv6OutRequests     =   104     ipv6OutDiscards     =     2
        ipv6OutNoRoutes     =     0     ipv6OutFragOKs      =     0
        ipv6OutFragFails    =     0     ipv6OutFragCreates  =     0
        ipv6ReasmReqds      =     0     ipv6ReasmOKs        =     0
        ipv6ReasmFails      =     0     ipv6InMcastPkts     =   789
        ipv6OutMcastPkts    =    12     ipv6ReasmDuplicates =     0
        ipv6ReasmPartDups   =     0     ipv6ForwProhibits   =     0
        udpInCksumErrs      =     0     udpInOverflows      =     0
        rawipInOverflows    =     0     ipv6InIPv4          =     0
        ipv6OutIPv4         =     0     ipv6OutSwitchIPv4   =     0

IPv6    ipv6Forwarding      =     2     ipv6DefaultHopLimit =   255
        ipv6InReceives      =   885     ipv6InHdrErrors     =     0
        ipv6InTooBigErrors  =     0     ipv6InNoRoutes      =     0
        ipv6InAddrErrors    =     0     ipv6InUnknownProtos =     0
        ipv6InTruncatedPkts =     0     ipv6InDiscards      =     0
        ipv6InDelivers      =   870     ipv6OutForwDatagrams=     0
        ipv6OutRequests     =   106     ipv6OutDiscards     =     2
        ipv6OutNoRoutes     =     0     ipv6OutFragOKs      =     0
        ipv6OutFragFails    =     0     ipv6OutFragCreates  =     0
        ipv6ReasmReqds      =     0     ipv6ReasmOKs        =     0
        ipv6ReasmFails      =     0     ipv6InMcastPkts     =   789
        ipv6OutMcastPkts    =    12     ipv6ReasmDuplicates =     0
        ipv6ReasmPartDups   =     0     ipv6ForwProhibits   =     0
        udpInCksumErrs      =     0     udpInOverflows      =     0
        rawipInOverflows    =     0     ipv6InIPv4          =     0
        ipv6OutIPv4         =     0     ipv6OutSwitchIPv4   =     0

ICMPv4  icmpInMsgs          =   618     icmpInErrors        =     0
        icmpInCksumErrs     =     0     icmpInUnknowns      =     0
        icmpInDestUnreachs  =     5     icmpInTimeExcds     =     0
        icmpInParmProbs     =     0     icmpInSrcQuenchs    =     0
        icmpInRedirects     =     0     icmpInBadRedirects  =     0
        icmpInEchos         =     7     icmpInEchoReps      =     0
        icmpInTimestamps    =     0     icmpInTimestampReps =     0
        icmpInAddrMasks     =     0     icmpInAddrMaskReps  =     0
        icmpInFragNeeded    =     0     icmpOutMsgs         =    39
        icmpOutDrops        =387617     icmpOutErrors       =     0
        icmpOutDestUnreachs =    32     icmpOutTimeExcds    =     0
        icmpOutParmProbs    =     0     icmpOutSrcQuenchs   =     0
        icmpOutRedirects    =     0     icmpOutEchos        =     0
        icmpOutEchoReps     =     7     icmpOutTimestamps   =     0
        icmpOutTimestampReps=     0     icmpOutAddrMasks    =     0
        icmpOutAddrMaskReps =     0     icmpOutFragNeeded   =     0
        icmpInOverflows     =     0

ICMPv6 for lo0
        icmp6InMsgs         =     0     icmp6InErrors       =     0
        icmp6InDestUnreachs =     0     icmp6InAdminProhibs =     0
        icmp6InTimeExcds    =     0     icmp6InParmProblems =     0
        icmp6InPktTooBigs   =     0     icmp6InEchos        =     0
        icmp6InEchoReplies  =     0     icmp6InRouterSols   =     0
        icmp6InRouterAds    =     0     icmp6InNeighborSols =     0
        icmp6InNeighborAds  =     0     icmp6InRedirects    =     0
        icmp6InBadRedirects =     0     icmp6InGroupQueries =     0
        icmp6InGroupResps   =     0     icmp6InGroupReds    =     0
        icmp6InOverflows    =     0
        icmp6OutMsgs        =     0     icmp6OutErrors      =     0
        icmp6OutDestUnreachs=     0     icmp6OutAdminProhibs=     0
        icmp6OutTimeExcds   =     0     icmp6OutParmProblems=     0
        icmp6OutPktTooBigs  =     0     icmp6OutEchos       =     0
        icmp6OutEchoReplies =     0     icmp6OutRouterSols  =     0
        icmp6OutRouterAds   =     0     icmp6OutNeighborSols=     0
        icmp6OutNeighborAds =     0     icmp6OutRedirects   =     0
        icmp6OutGroupQueries=     0     icmp6OutGroupResps  =     0
        icmp6OutGroupReds   =     0

ICMPv6 for le0
        icmp6InMsgs         =   796     icmp6InErrors       =     0
        icmp6InDestUnreachs =     0     icmp6InAdminProhibs =     0
        icmp6InTimeExcds    =     0     icmp6InParmProblems =     0
        icmp6InPktTooBigs   =     0     icmp6InEchos        =     0
        icmp6InEchoReplies  =     0     icmp6InRouterSols   =     0
        icmp6InRouterAds    =   789     icmp6InNeighborSols =     5
        icmp6InNeighborAds  =     2     icmp6InRedirects    =     0
        icmp6InBadRedirects =     0     icmp6InGroupQueries =     0
        icmp6InGroupResps   =     0     icmp6InGroupReds    =     0
        icmp6InOverflows    =     0
        icmp6OutMsgs        =    11     icmp6OutErrors      =     0
        icmp6OutDestUnreachs=     0     icmp6OutAdminProhibs=     0
        icmp6OutTimeExcds   =     0     icmp6OutParmProblems=     0
        icmp6OutPktTooBigs  =     0     icmp6OutEchos       =     0
        icmp6OutEchoReplies =     0     icmp6OutRouterSols  =     1
        icmp6OutRouterAds   =     0     icmp6OutNeighborSols=     3
        icmp6OutNeighborAds =     5     icmp6OutRedirects   =     0
        icmp6OutGroupQueries=     0     icmp6OutGroupResps  =     2
        icmp6OutGroupReds   =     0

ICMPv6  icmp6InMsgs         =   796     icmp6InErrors       =     0
        icmp6InDestUnreachs =     0     icmp6InAdminProhibs =     0
        icmp6InTimeExcds    =     0     icmp6InParmProblems =     0
        icmp6InPktTooBigs   =     0     icmp6InEchos        =     0
        icmp6InEchoReplies  =     0     icmp6InRouterSols   =     0
        icmp6InRouterAds    =   789     icmp6InNeighborSols =     5
        icmp6InNeighborAds  =     2     icmp6InRedirects    =     0
        icmp6InBadRedirects =     0     icmp6InGroupQueries =     0
        icmp6InGroupResps   =     0     icmp6InGroupReds    =     0
        icmp6InOverflows    =     0
        icmp6OutMsgs        =    11     icmp6OutErrors      =     0
        icmp6OutDestUnreachs=     0     icmp6OutAdminProhibs=     0
        icmp6OutTimeExcds   =     0     icmp6OutParmProblems=     0
        icmp6OutPktTooBigs  =     0     icmp6OutEchos       =     0
        icmp6OutEchoReplies =     0     icmp6OutRouterSols  =     1
        icmp6OutRouterAds   =     0     icmp6OutNeighborSols=     3
        icmp6OutNeighborAds =     5     icmp6OutRedirects   =     0
        icmp6OutGroupQueries=     0     icmp6OutGroupResps  =     2
        icmp6OutGroupReds   =     0
IGMP:
       2542 messages received
          0 messages received with too few bytes
          0 messages received with bad checksum
       2542 membership queries received
          0 membership queries received with invalid field(s)
          0 membership reports received
          0 membership reports received with invalid field(s)
          0 membership reports received for groups to which we belong
          0 membership reports sent

Procedure How to Control the Display Output

You can control the output of the netstat and ifconfig commands by creating a file named inet_type in the /etc/default directory and specifying the value of the DEFAULT_IP variable.

  1. Create the /etc/default/inet_type file.
  2. Make one of the following entries as needed.
    1. To display IPv4 information only, enter:
      DEFAULT_IP=IP_VERSION4
    2. To display IPv6 information only, enter:
      DEFAULT_IP=IP_VERSION6
    3. To display both IPv4 and IPv6 information, enter:
      DEFAULT_IP=BOTH

Note - The -4 and -6 flags in ifconfig and -f flag in netstat override the value set in the inet_type file (if it exists).


Examples--Controlling Output of ifconfig Command

Procedure How to Monitor Only IPv6 Network Traffic

In this procedure you use the snoop command to display all IPv6 packets.

  1. Become superuser.
  2. On the command line, type the following command.
    # snoop ipv6

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

Example--snoop Command

# snoop ip6

Using device /dev/le (promiscuous mode)
fe80::a00:20ff:fe1f:59a1 -> ff02::9      IPv6  S=fe80::a00:20ff:fe1f:59a1 
D=ff02::9 LEN=892
fe80::a00:20ff:fe87:8dde -> fe80::a00:20ff:fe73:56a8 IPv6  
S=fe80::a00:20ff:fe87:8dde D=fe80::a00:20ff:fe73:56a8 LEN=104
fe80::a00:20ff:fe73:56a8 -> fe80::a00:20ff:fe87:8dde IPv6  
S=fe80::a00:20ff:fe73:56a8 D=fe80::a00:20ff:fe87:8dde LEN=104
fe80::a00:20ff:fe1f:59a1 -> ff02::9      IPv6  S=fe80::a00:20ff:fe1f:59a1 
D=ff02::9 LEN=892
fe80::a00:20ff:fe87:8dde -> fe80::a00:20ff:fe73:56a8 IPv6  
S=fe80::a00:20ff:fe87:8dde D=fe80::a00:20ff:fe73:56a8 LEN=104
fe80::a00:20ff:fe73:56a8 -> fe80::a00:20ff:fe87:8dde IPv6  
S=fe80::a00:20ff:fe73:56a8 D=fe80::a00:20ff:fe87:8dde LEN=152
fe80::a00:20ff:fe1f:59a1 -> ff02::9      IPv6  S=fe80::a00:20ff:fe1f:59a1 
D=ff02::9 LEN=892
fe80::a00:20ff:fe87:8dde -> fe80::a00:20ff:fe73:56a8 IPv6  
S=fe80::a00:20ff:fe87:8dde D=fe80::a00:20ff:fe73:56a8 LEN=72
fe80::a00:20ff:fe73:56a8 -> fe80::a00:20ff:fe87:8dde IPv6  
S=fe80::a00:20ff:fe73:56a8 D=fe80::a00:20ff:fe87:8dde LEN=72
fe80::a00:20ff:fe73:56a8 -> fe80::a00:20ff:fe87:8dde IPv6  
S=fe80::a00:20ff:fe73:56a8 D=fe80::a00:20ff:fe87:8dde LEN=72
fe80::a00:20ff:fe87:8dde -> fe80::a00:20ff:fe73:56a8 IPv6  
S=fe80::a00:20ff:fe87:8dde D=fe80::a00:20ff:fe73:56a8 LEN=72

Procedure How to Probe All Multihomed Host Addresses

In this procedure you use the ping command to check all addresses.

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

Example--ping Command

% ping -a ipng11

ipng11 (2::102:a00:20ff:fe79:19b0) is alive
ipng11 (fec0::102:a00:20ff:fe79:19b0) is alive
ipng11 (192.168.10.75) is alive

Procedure How to Trace All Routes

In this procedure you use the traceroute command to trace all routes.

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

Example--traceroute Command

% traceroute -a ipng11
traceroute: Warning: Multiple interfaces found; using  
2::56:a00:20ff:fe73:56a8 @ le0:2
traceroute to ipng11 (2::102:a00:20ff:fe79:19b0),30 hops max, 60 byte packets
 1  ipng-rout86 (2::56:a00:20ff:fe1f:59a1)  35.534 ms  56.998 ms * 
 2  2::255:0:0:c0a8:717  32.659 ms  39.444 ms *
 3  ipng61.Eng.Sun.COM (2::103:a00:20ff:fe9a:ce7b)  401.518 ms  7.143 ms *
 4  ipng12-00 (2::100:a00:20ff:fe7c:cf35)  113.034 ms  7.949 ms *
 5  ipng11 (2::102:a00:20ff:fe79:19b0)  66.111 ms *  36.965 ms

traceroute: Warning: Multiple interfaces found; using 
fec0::56:a00:20ff:fe73:56a8 @ le0:1
traceroute to ipng11 (fec0::102:a00:20ff:fe79:19b0), 30 hops max, 60 byte 
packets
 1  ipng-rout86 (fec0::56:a00:20ff:fe1f:59a1) 96.342 ms  78.282 ms 88.327 ms
 2  ipng8-tun1 (fec0::255:0:0:c0a8:717)  268.614 ms  508.416 ms  438.774 ms
 3  ipng61.Eng.Sun.COM (fec0::103:a00:20ff:fe9a:ce7b)  6.356 ms * 713.166 ms
 4  ipng12-00 (fec0::100:a00:20ff:fe7c:cf35)  7.409 ms * 122.094 ms
 5  ipng11 (fec0::102:a00:20ff:fe79:19b0)  10.620 ms * *

traceroute to ipng11.eng.sun.com (192.168.10.75),30 hops max,40 byte packets
 1  rmpk17c-086.Eng.Sun.COM (129.146.86.1)  4.360 ms  3.452 ms  3.479 ms
 2  flrmpk17u.Eng.Sun.COM (129.146.17.131)  4.062 ms  3.848 ms  3.505 ms
 3  ipng8.Eng.Sun.COM (192.168.7.23)  4.773 ms *  4.294 ms
 4  ipng61.Eng.Sun.COM (192.168.10.104)  5.128 ms  5.362 ms *
 5  ipng12-20.Eng.Sun.COM (192.168.10.62)  7.298 ms  5.444 ms *
 6  ipng11.Eng.Sun.COM (192.168.10.75)  8.053 ms  6.394 ms *

[ Previous ][ Home ][ Next ]
Enabling IPv6 Nodes[ Up ]Configuring IPv6 Over IPv4 Tunnels