Index: [Article Count Order] [Thread]

Date: Tue, 13 Mar 2007 13:28:51 -0500
From: Seth Jennings <sjennings@us.ibm.com>
Subject: [dhcptest:00155] Verification point problems
To: dhcptest@tahi.org
Cc: Patrick T Vo <pvo@us.ibm.com>, Denise Genty <genty@us.ibm.com>
Message-Id: <OF6359FD0E.E3F56541-ON8725729D.0063DC22-8625729D.006587D0@us.ibm.com>
X-Mail-Count: 00155

Test case 76 (Ignore T1&T2 and lifetimes) is failing on the server REPLY 
message with "NG: Can not find specified field!"  I'm not sure what the 
verification point is here.  My guess is that it is looking for the IA_NA 
option with the  lifetimes (confirming that the server ignored the 
lifetimes sent in the client CONFIRM message).  If that is the case, then 
according to RFC 3315 18.2.2:

   The server MUST include a Server Identifier option containing the
   server's DUID and the Client Identifier option from the Confirm
   message in the Reply message.  The server includes a Status Code
   option indicating the status of the Confirm message.
 
This indicates that the IA_NA option is not required in the REPLY making 
the verification point invalid. 

If that is not the case, I have included the REPLY message that fails 
below.  Any ideas on why this is failing?

=== BEGIN ===

got DHCPv6 Reply Message
Reply Message
DHCPv6 Option   Values
Opt_DHCPv6_SID  DUID-LLT HardwareType = 1
DUID-LLT MAC = 00:04:ac:e4:b3:55
DUID-LLT TIME = 227055489
Identifier      Identifier = 105
Opt_DHCPv6_CID  DUID-LLT HardwareType = 1
DUID-LLT MAC = 00:00:00:00:a2:a2
DUID-LLT TIME = 300000
Opt_DHCPv6_StatusCode   StatusCode= 0 Success

Checking Options...
Checking Opt_DHCPv6_SID Opt_DHCPv6_SID found
Checking Options...
Checking Opt_DHCPv6_CID Opt_DHCPv6_CID found
NG: Can not find specified field!                <-----

Frame_Ether                     (length:115)
| Hdr_Ether                       (length:14)
| | DestinationAddress               = 00:00:00:00:a2:a2
| | SourceAddress                    = 00:04:ac:e4:b3:55
| | Type                             = 34525
| Packet_IPv6                     (length:101)
| | Hdr_IPv6                        (length:40)
| | | Version                          = 6
| | | TrafficClass                     = 0
| | | FlowLabel                        = 0
| | | PayloadLength                    = 61
| | | NextHeader                       = 17
| | | HopLimit                         = 30
| | | SourceAddress                    = fe80::204:acff:fee4:b355
| | | DestinationAddress               = fe80::200:ff:fe00:a2a2
| | Upp_UDP                         (length:61)
| | | Hdr_UDP                         (length:8)
| | | | SourcePort                       = 547
| | | | DestinationPort                  = 546
| | | | Length                           = 61
| | | | Checksum                         = 20549 calc(20549)
| | | Udp_DHCPv6_Reply                (length:53)
| | | | Type                             = 7
| | | | Identifier                       = 105
| | | | Opt_DHCPv6_StatusCode           (length:13)
| | | | | Code                             = 13
| | | | | Length                           = 9
| | | | | StatusCode                       = 0
| | | | | Message                          = 73756363 657373
| | | | Opt_DHCPv6_CID                  (length:18)
| | | | | Code                             = 1
| | | | | Length                           = 14
| | | | | DHCPv6_DUID_LLT_Ether           (length:14)
| | | | | | Type                             = 1
| | | | | | HardwareType                     = 1
| | | | | | Time                             = 300000
| | | | | | LinkLayerAddress                 = 00:00:00:00:a2:a2
| | | | Opt_DHCPv6_SID                  (length:18)
| | | | | Code                             = 2
| | | | | Length                           = 14
| | | | | DHCPv6_DUID_LLT_Ether           (length:14)
| | | | | | Type                             = 1
| | | | | | HardwareType                     = 1
| | | | | | Time                             = 227055489
| | | | | | LinkLayerAddress                 = 00:04:ac:e4:b3:55

=== END ===

I am having a similar situation with test case 92 (Receipt of Decline 
Messages(return w/Status Code=NoBinding)).  It is failing on the server 
REPLY message with "NG: The Reply message do not include Success Status 
code!".  As you can see in the included REPLY (below), there are NoBinding 
status codes in each of the IA_NA options and the message status code is 
success in compliance with RFC 3315 18.2.7:

   After all the addresses have been processed, the server generates a
   Reply message and includes a Status Code option with the value
   Success, a Server Identifier option with the server's DUID, and a
   Client Identifier option with the client's DUID.  For each IA in the
   Decline message for which the server has no binding information, the
   server adds an IA option using the IAID from the Release message and
   includes a Status Code option with the value NoBinding in the IA
   option.  No other options are included in the IA option.
 
My guess is that the test is looking for the IA_Addr option inside the 
IA_NA options.  If that is the case, the appearance of the IA_Addr option 
is prohibited by the last statement in the excerpt above making the 
verification point invalid. 

If that is not the case, I have included the REPLY message that fails 
below.  Any ideas on why this is failing?

=== BEGIN ===

got DHCPv6 Reply Message
Reply Message
DHCPv6 Option   Values
Opt_DHCPv6_SID  DUID-LLT HardwareType = 1
DUID-LLT MAC = 00:04:ac:e4:b3:55
DUID-LLT TIME = 227055489
Identifier      Identifier = 108
Opt_DHCPv6_CID  DUID-LLT HardwareType = 1
DUID-LLT MAC = 00:00:00:00:a2:a2
DUID-LLT TIME = 300000
Opt_DHCPv6_StatusCode   StatusCode= 0 Success
Opt_DHCPv6_IA_NA        Option 1
Identifier= 100201
T1= 0
T2= 0
#StatusCode Option
StatusCode= 3 NoBinding
Option 2
Identifier= 100202
T1= 0
T2= 0
#StatusCode Option
StatusCode= 3 NoBinding

Checking Options...
Checking Opt_DHCPv6_SID Opt_DHCPv6_SID found
Checking Opt_DHCPv6_CID Opt_DHCPv6_CID found
Comparing Opt_DHCPv6_SID
Code matched.:2 == 2
Length matched.:14 == 14
DHCPv6_DUID_LLT_Ether matched.:Type HardwareType Time LinkLayerAddress == 
Type HardwareType Time LinkLayerAddress
Type matched.:1 == 1
HardwareType matched.:1 == 1
Time matched.:227055489 == 227055489
LinkLayerAddress matched.:00:04:ac:e4:b3:55 == 00:04:ac:e4:b3:55
Comparing Identifier
Comparing Opt_DHCPv6_CID
Code matched.:1 == 1
Length matched.:14 == 14
DHCPv6_DUID_LLT_Ether matched.:Type HardwareType Time LinkLayerAddress == 
Type HardwareType Time LinkLayerAddress
Type matched.:1 == 1
HardwareType matched.:1 == 1
Time matched.:300000 == 300000
LinkLayerAddress matched.:00:00:00:00:a2:a2 == 00:00:00:00:a2:a2
Checking Options...
Checking Opt_DHCPv6_IA_NA Opt_DHCPv6_IA_NA found
Checking Options...
Checking Opt_DHCPv6_IA_Address Opt_DHCPv6_IA_Address not found
NG: The Reply message do not include Success Status code!       <-----

Frame_Ether                     (length:229)
| Hdr_Ether                       (length:14)
| | DestinationAddress               = 00:00:00:00:a2:a2
| | SourceAddress                    = 00:04:ac:e4:b3:55
| | Type                             = 34525
| Packet_IPv6                     (length:215)
| | Hdr_IPv6                        (length:40)
| | | Version                          = 6
| | | TrafficClass                     = 0
| | | FlowLabel                        = 0
| | | PayloadLength                    = 175
| | | NextHeader                       = 17
| | | HopLimit                         = 30
| | | SourceAddress                    = fe80::204:acff:fee4:b355
| | | DestinationAddress               = fe80::200:ff:fe00:a2a2
| | Upp_UDP                         (length:175)
| | | Hdr_UDP                         (length:8)
| | | | SourcePort                       = 547
| | | | DestinationPort                  = 546
| | | | Length                           = 175
| | | | Checksum                         = 62722 calc(62722)
| | | Udp_DHCPv6_Reply                (length:167)
| | | | Type                             = 7
| | | | Identifier                       = 108
| | | | Opt_DHCPv6_StatusCode           (length:13)
| | | | | Code                             = 13
| | | | | Length                           = 9
| | | | | StatusCode                       = 0
| | | | | Message                          = 73756363 657373
| | | | Opt_DHCPv6_CID                  (length:18)
| | | | | Code                             = 1
| | | | | Length                           = 14
| | | | | DHCPv6_DUID_LLT_Ether           (length:14)
| | | | | | Type                             = 1
| | | | | | HardwareType                     = 1
| | | | | | Time                             = 300000
| | | | | | LinkLayerAddress                 = 00:00:00:00:a2:a2
| | | | Opt_DHCPv6_SID                  (length:18)
| | | | | Code                             = 2
| | | | | Length                           = 14
| | | | | DHCPv6_DUID_LLT_Ether           (length:14)
| | | | | | Type                             = 1
| | | | | | HardwareType                     = 1
| | | | | | Time                             = 227055489
| | | | | | LinkLayerAddress                 = 00:04:ac:e4:b3:55
| | | | Opt_DHCPv6_IA_NA                (length:57)
| | | | | Code                             = 3
| | | | | Length                           = 53
| | | | | Identifier                       = 100201
| | | | | Time1                            = 0
| | | | | Time2                            = 0
| | | | | Opt_DHCPv6_StatusCode           (length:41)
| | | | | | Code                             = 13
| | | | | | Length                           = 37
| | | | | | StatusCode                       = 3
| | | | | | Message                          = 
| | | | | |   436c6965 6e742072  65636f72 64202862  696e6469 6e672920 
756e6176 61696c61
| | | | | |   626c65
| | | | Opt_DHCPv6_IA_NA                (length:57)
| | | | | Code                             = 3
| | | | | Length                           = 53
| | | | | Identifier                       = 100202
| | | | | Time1                            = 0
| | | | | Time2                            = 0
| | | | | Opt_DHCPv6_StatusCode           (length:41)
| | | | | | Code                             = 13
| | | | | | Length                           = 37
| | | | | | StatusCode                       = 3
| | | | | | Message                          = 
| | | | | |   436c6965 6e742072  65636f72 64202862  696e6469 6e672920 
756e6176 61696c61
| | | | | |   626c65

=== END ===


Thanks,
Seth Jennings
sjennings@us.ibm.com
TCP/IP Development
(512) 838-4072