Mobile IPv6 A.01.00 Administrator's Guide
Chapter 7
Troubleshooting HP-UX Mobile IPv6
Troubleshooting with the nettl Packet Tracing and netfmt Formatting Tools
95
Troubleshooting with the nettl Packet Tracing and netfmt
Formatting Tools
You can trace and format the following Mobile IPv6 Mobility Header packets using nettl (network tracing
utility) and netfmt (network trace formatting utility):
• Binding Update
• Binding Acknowledgement
• Binding Refresh Request
• Binding Error
• Home Test Init (HoTI)
• Care-of Test Init (CoTI)
• Home Test (HoT)
• Care-of Test (CoT)
You can also trace and format the following Mobile IPv6 ICMPv6 messages using nettl and netfmt:
• Mobile Prefix Solicitations
• Mobile Prefix Advertisements
• Dynamic Home Agent Address Discovery Requests
• Dynamic Home Agent Address Discovery Replies
NOTE The nettl tracing utility does not support Mobile IPv6 packets that are using IPSec security.
Tracing Mobile IPv6 Packets Using nettl
You can enable network tracing for IPv6, or for only the specific upper-layer entities that send and receive
Mobile IPv6 protocol packets. nettl traces all IPv6 packets when you enable IPv6 tracing, generating a large
number of entries in the trace file. You can filter out only the Mobile IPv6 packets when you format the trace
file. Use nettl or the nettladm utility and specify the IPv6 entity to enable IPv6 tracing. For example, the
following nettl command traces inbound (pduin) and outbound (pduout) IPv6 (ns_ls_ipv6) packets:
nettl -traceon pduin pduout -entity ns_ls_ipv6 ns_ls_icmpv6 -f trace
To decrease the number of trace records collected, you can filter tracing for the individual upper-layer entities
that are sending or receiving the Mobile IPv6 messages you want to trace. The following table lists the
appropriate netll filter for each Mobile IPv6 packet:
Table 7-3 nettl Trace Entities for Mobile IPv6
nettl Trace Filter Mobile IPv6 Packet Traced
NS_LS_IPV6 All Mobile IPv6 Mobility Header packets (includes ICMPv6 packets)
NS_LS_ICMPV6 Mobile IPv6 ICMPv6 Message packets (does not inlcude Mobile IPv6 Mobility
Header packets)