Date: Mon, 26 Dec 2005 06:42:38 +0000 (GMT) From: amit agarwal <amit_agarr@yahoo.co.in> Subject: [dhcptest:00055] Re: Can'tDecodeRelayReplyMsg To: dhcptest@tahi.org Message-Id: <20051226064238.54834.qmail@web8702.mail.in.yahoo.com> In-Reply-To: <200512221049.jBMAniSL089731@bahamas.64translator.com> X-Mail-Count: 00055Hello Mr. haoda , we are testing the script ./S_RFC3736_5.2_SLDHCPInterID.seq in this we are getting the error Message : got expected DHCPv6 Relay Reply Message Not a HASH reference at DHCPv6_common.pm line 2751. -> no test sequence what may be the error ? Regards and Thanks Amit haoda <haoda@64translator.com> wrote: Hi Mr. Amit, I think the content of the Relay option is invalid. The length of it is only 38. It does not include the following options after SID option. And please also check the data from offset 0x007c.(from "ddba") it is a invalid option number. 0002 000e ................ 0x0070: 0001 0001 0004 93e0 0050 da91 ddba 0007 .........P...... 0x0080: 0001 0000 0300 0c00 018a 9200 0000 1000 ................ 0x0090: 0000 2e00 0b00 1c03 0100 0300 0000 0000 ................ 0x00a0: 0000 01c6 237b 3269 983c 6473 4833 6651 ....#{2i. 0x00b0: dcb0 74 Ethereal looks can't decode it properly. And I attached the decoded result file of this packet. Please refer to it. Regard yours, Haoda No. Time Source Destination Protocol Info 25 16:23:00.023471 fe80::250:daff:fe91:ddba ff02::1:2 DHCPv6 Relay-reply Frame 25 (193 bytes on wire, 193 bytes captured) Arrival Time: Dec 22, 2005 16:23:00.023471000 Time delta from previous packet: 0.002372000 seconds Time since reference or first frame: 1.715747000 seconds Frame Number: 25 Packet Length: 193 bytes Capture Length: 193 bytes Protocols in frame: eth:ipv6:udp:dhcpv6 Ethernet II, Src: 00:50:da:91:dd:ba, Dst: 33:33:00:01:00:02 Destination: 33:33:00:01:00:02 (IPv6-Neighbor-Discovery_00:01:00:02) Source: 00:50:da:91:dd:ba (3com_91:dd:ba) Type: IPv6 (0x86dd) Internet Protocol Version 6 Version: 6 Traffic class: 0x00 Flowlabel: 0x00000 Payload length: 139 Next header: UDP (0x11) Hop limit: 1 Source address: fe80::250:daff:fe91:ddba Destination address: ff02::1:2 User Datagram Protocol, Src Port: 32771 (32771), Dst Port: 547 (547) Source port: 32771 (32771) Destination port: 547 (547) Length: 139 Checksum: 0x8c5f (correct) DHCPv6 Message type: Relay-reply (13) Hop count: 0 Link-address: fe80::200:ff:fe00:a5a5 Peer-address: fe80::200:ff:fe00:a2a2 Relay Message option type: 9 option length: 38 DHCPv6 Message type: Advertise (2) Transaction-ID: 0x00000064 Client Identifier option type: 1 option length: 14 DUID type: link-layer address plus time (1) Hardware type: 1 Time: 300000 Link-layer address DHCP option 56762 option type: 56762 option length: 7 0000 33 33 00 01 00 02 00 50 da 91 dd ba 86 dd 60 00 33.....P......`. 0010 00 00 00 8b 11 01 fe 80 00 00 00 00 00 00 02 50 ...............P 0020 da ff fe 91 dd ba ff 02 00 00 00 00 00 00 00 00 ................ 0030 00 00 00 01 00 02 80 03 02 23 00 8b 8c 5f 0d 00 .........#..._.. 0040 fe 80 00 00 00 00 00 00 02 00 00 ff fe 00 a5 a5 ................ 0050 fe 80 00 00 00 00 00 00 02 00 00 ff fe 00 a2 a2 ................ 0060 00 09 00 26 02 00 00 64 00 01 00 0e 00 01 00 01 ...&...d........ 0070 00 04 93 e0 00 00 00 00 a2 a2 00 02 00 0e 00 01 ................ 0080 00 01 00 04 93 e0 00 50 da 91 dd ba 00 07 00 01 .......P........ 0090 00 00 03 00 0c 00 01 8a 92 00 00 00 10 00 00 00 ................ 00a0 2e 00 0b 00 1c 03 01 00 03 00 00 00 00 00 00 00 ................ 00b0 01 c6 23 7b 32 69 98 3c 64 73 48 33 66 51 dc b0 ..#{2i.00c0 74 t Send instant messages to your online friends http://in.messenger.yahoo.com55_2.html (attatchment)(tag is disabled)