Index: [Article Count Order] [Thread]

Date: Tue, 27 Dec 2005 20:28:39 +0900
From: "haoda" <haoda@64translator.com>
Subject: [dhcptest:00073] Re: Can'tDecodeRelayReplyMsg
To: <dhcptest@tahi.org>
Cc: <haoda@64translator.com>
Message-Id: <200512271128.jBRBSiJ9042304@bahamas.64translator.com>
In-Reply-To: <20051227103327.89282.qmail@web8707.mail.in.yahoo.com>
X-Mail-Count: 00073

 HI Mr. Amit,

>I have some doubt in the Test Case of the Relay agent 
> ./ R_RFC3736_5.1_SLDHCPRelayforward.seq 
>./R_RFC3736_5.2_SLDHCPRelayClt.seq	
I think the 2 items looks do not pass.
Because  in the test log of 
"./R_RFC3736_5.1_SLDHCPRelayforward.seq ",
the linkaddress is not local interface in the relay agent.

And in RFC, p59,line 3273,
"
   If the relay agent received the message to be relayed from a client,
   the relay agent places a global or site-scoped address with a prefix
   assigned to the link on which the client should be assigned an
   address in the link-address field.  This address will be used by the
   server to determine the link from which the client should be assigned
   an address and other configuration information. 
"

But the address "fe80::200:ff:fe00:a2a2" is a client's address, it
is not a relay agent's address.
More detail info please refers to p61, line 3370.
"
   For example, if client C sent a message that was relayed by relay
   agent A to relay agent B and then to the server, the server would
   send the following Relay-Reply message to relay agent B:

   msg-type:       RELAY-REPLY
   hop-count:      1
   link-address:   0
   peer-address:   A
   Relay Message option, containing:
     msg-type:     RELAY-REPLY
     hop-count:    0
     link-address: address from link to which C is attached
     peer-address: C
     Relay Message option: <response from server>
"
Please notice, the link-address is not C.

and in "R_RFC3736_5.2_SLDHCPRelayClt.seq",	 
I think it is same as the previous item.

>I think there is a problem in the script ,because in script 
> ./R_RFC3315_7_Relay-forwardMsgFormat.seq code  is working fine and got passed
Actually, I think it also is not properly.
But this test script only check the format of Relay-forward Message and don't
check the content. And it has a right format so the test is passed.


By the way, I want to confirm the test result of the items that
have been fixed. Would you like to supply me the passed log files?
They are,

S_RFC3633_12.2_ClientInitPDLifetime0.seq
S_RFC3633_12.2_ClientInitPDNoBinding.seq
S_RFC3315_22.18_InterfaceIDOP.seq
S_RFC3315_20.3_Relay-replyThSameRelayAgent.seq
S_RFC3736_5.2_SLDHCPInterID.seq

Thanks.

Sincerely yours,
Haoda