[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 03492) problem regarding router test case in Tunneling. please check it!




Hi to all,
I am a new member to this list.
I am working on IPv6 Implementation for Montavista Linux ( MVL-3.1, RTOS by Samsung).  

I am sending you all my problem. pls check it.

While Conformance testing for IPv6-Over-IPv4 Tunnel , I am facing problem. I am using BSD as Tester node and MVL as NUT and configured as router.

While testing for 12th test case ( Fragment.seq ) Tester Node sends a packet of 1280 and expecting a reply from Node under Test wtih a packet length of 1300 with DF either SET or NOT SET. From the packet data it is clear that NUT is sending a packet with 1300 length and DF bit is SET. But, the script says that it has got a packet wtih a packet length of 1300 with DF bit NOT SET and depending upon that it sets:

IPv4-PMTU = OFF;

but It should set it as: IPv4-PMTU = ON;

Next it send a packet with 1400 after setting sit MTU = 1400,  it gets a reply with a packet length 1420 with DF SET which is correct according to RFC-2893  (Page no -11, Topic 3.2 : Tunnel MTU and Fragmentation  ).But, script says that it's not the correct reply and says that test failed.

I feel is that there is some problem with the script. Please let me know where is the actual problem . If any Modified script is available please let me Know.

Thanks and Regards,
Pramendra Singh


Attachment: Test Log.



Here is the packet details:

1. ( this is what TN sends to NUT )
vSend(Link0,v6_echo_request_LINK0_tn2nut_OFFLINK_1280)
TN --ICMPv4 Echo Request (size 1280)-->NUT(tunnel)


2. (This is what is expected by NUT)
vRecv(Link1,v6overv4_echo_request_LINK1_nut2tn_1300 v6overv4_echo_request_LINK1_nut2tn_1300_DF) timeout:2 cntLimit:0 seektime:0

3. recv v6overv4_echo_request_LINK1_nut2tn_1300  
(this is what script says it has received from NUT as reply but it is clear from packet data that is has got :
(recv v6overv4_echo_request_LINK1_nut2tn_1300_DF). Packet data is at the end of Mail.)



4.(This is what script decides but it should decide as NUt uses IPv4 path MTU and should set IPv4-PMTU = ON; but it sets IPv4-PMTU = OFF;)
NUT use the MTU of the link layer (under IPv4)  

5. (This is what script sends next)
vSend(Link0,v6_echo_request_LINK0_tn2nut_OFFLINK_1401)
send v6_echo_request_LINK0_tn2nut_OFFLINK_1401

6. (This is what script receives next)
vRecv(Link0,icmp6_TooBigMesg_LINK0_nut2tn_1400) timeout:2 cntLimit:0 seektime:0
recv icmp6_TooBigMesg_LINK0_nut2tn_1400
TN can receive Echo Reply from NUT

7. (This is what script sends next)
vSend(Link0,v6_echo_request_LINK0_tn2nut_OFFLINK_1400)
send v6_echo_request_LINK0_tn2nut_OFFLINK_1400

8. (This is what script receives next. acoording to RFC it is correct but script says somthing else)
vRecv(Link1,v6overv4_echo_request_LINK1_nut2tn_1420_DF v6overv4_echo_request_LINK1_nut2tn_1420) timeout:2 cntLimit:0 seektime:0
recv v6overv4_echo_request_LINK1_nut2tn_1420_DF
TN can not receive Echo Reply from NUT

Result: FAIL;

______________________________________________________________________

Attachment: Tunnel.zip
Description: Zip archive