| Title | Relay Message Option Format |
| CommandLine | ./S_RFC3736_5.2_SLDHCPRelaySvr.seq -pkt ./S_RFC3736_5.2_SLDHCPRelaySvr.def -log 17.html -ti Relay Message Option Format |
| TestVersion | DHCPv6_Self_Test_P2_1_0_13 |
| ToolVersion | REL_3_0_15 |
| Start | 2008/10/08 17:47:06 |
| Tn | /usr/local/v6eval//etc//tn.def |
| Nu | /usr/local/v6eval//etc//nut.def |
| Pkt | ./S_RFC3736_5.2_SLDHCPRelaySvr.def |
| System | wide-dhcp |
| TargetName | Fedora7 2.6.21-1.3194.fc7 |
| HostName | target.tahi.org |
| Type | host |
| 17:47:06 | Start | ||||||||||||||
|
==== NUT Initialization ==== |
|||||||||||||||
| 17:47:06 |
vSend(Link0,ra_server2_to_all_addr_assign) Send RA(O =1) TR --> All |
||||||||||||||
| 17:47:07 | vRecv(Link0,dadns_nutga) timeout:3 cntLimit:0 seektime:0 vRecv() return status=1 |
||||||||||||||
| 17:47:10 | Wait 3 second | ||||||||||||||
| vRemote("dhcp6s.rmt", "start","link0=eth0","stateless","dns=3ffe:501:ffff:100:200:ff:fe00:3f3e","valduid=00:01:00:01:00:04:93:e0:00:00:00:00:a2:a2") | |||||||||||||||
| 17:47:13 |
vRemote(dhcp6s.rmt) ``/usr/local/v6eval//bin/wide-dhcp//dhcp6s.rmt -t wide-dhcp -u root -p v6eval -d cuad0 -o 1 start link0=eth0 stateless dns=3ffe:501:ffff:100:200:ff:fe00:3f3e valduid=00:01:00:01:00:04:93:e0:00:00:00:00:a2:a2''
Connected [root@localhost ~]# [root@localhost ~]# ~[set] echocheck [root@localhost ~]# [root@localhost ~]# ~[put] wide-dhcp.dhcp6s.conf /tmp/dhcp6s.conf root@localhost ~]# [root@localhost ~]# [root@localhost ~]# ~[set] echocheck [root@localhost ~]# [root@localhost ~]# ~[put] wide-dhcp.dhcp6ctl.conf /tmp/dhcp6ctlkey root@localhost ~]# [root@localhost ~]# [root@localhost ~]# cat /var/run/dhcp6s.pid cat: /var/run/dhcp6s.pid: そのようなファイルやディレクトリはありません [root@localhost ~]# [root@localhost ~]# sendMessagesSync: never got cat /var/run/dhcp6s.pid echo $? 1 [root@localhost ~]# /usr/local/sbin/dhcp6s -D -c /tmp/dhcp6s.conf -k /tmp/dhcp6c tlkey eth0 [root@localhost ~]# sendMessagesSync: never got /usr/local/sbin/dhcp6s -D -c /tmp/dhcp6s.conf -k /tmp/dhcp6ctlkey eth0 echo $? 0 [ro~ [EOT] | ||||||||||||||
| 17:47:34 | Start Capturing Packets (Link0) | ||||||||||||||
| 17:47:34 | Clear Captured Packets (Link0) | ||||||||||||||
| 17:47:34 | Clear Captured Packets (Link0) | ||||||||||||||
|
==== Creation and Transmission of Relay Reply Messages #1 ==== |
|||||||||||||||
| 17:47:34 |
vSend(Link0,relayforward_infomationrequest_client1_to_alldhcp_send) send relayforward_infomationrequest_client1_to_alldhcp_send |
||||||||||||||
Relay-forward Message
InformationRequest Message in Relay Message Option
|
|||||||||||||||
| 17:47:35 | vRecv(Link0,relay_reply_nut_relay ns_nutga_to_any_lla ns_nut_to_relay1_0 ns_nutlla_to_any_lla ns_nut_to_relay2_0_global_global ns_nut_to_relay1_0_global ns_nut_to_relay2_0 ns_nut_to_relay2_0_global ns_nutlla_to_server1_ga ns_nut_to_relay1_0_global_global ns_nutga_to_any ns_nut_to_any_local ns_nut_to_any_global) timeout:5 cntLimit:0 seektime:0 recv ns_nut_to_relay1_0_global_global |
||||||||||||||
| 17:47:35 |
vSend(Link0,na_relay1_0_to_nut_global_global) send na_relay1_0_to_nut_global_global |
||||||||||||||
| 17:47:35 | vRecv(Link0,relay_reply_nut_relay ns_nutga_to_any_lla ns_nut_to_relay1_0 ns_nutlla_to_any_lla ns_nut_to_relay2_0_global_global ns_nut_to_relay1_0_global ns_nut_to_relay2_0 ns_nut_to_relay2_0_global ns_nutlla_to_server1_ga ns_nut_to_relay1_0_global_global ns_nutga_to_any ns_nut_to_any_local ns_nut_to_any_global) timeout:5 cntLimit:0 seektime:0 recv relay_reply_nut_relay |
||||||||||||||
Relay-reply Message
Reply Message in Relay Message Option
Received DHCPv6 Relay Reply Message Checking Options... Checking Opt_DHCPv6_RelayMessage Opt_DHCPv6_RelayMessage found Relay Message option Code = 9 Relay Message option Length = 60 Relay Message option DHCP-relqy-message = Type Identifier Opt_DHCPv6_CID Opt_DHCPv6_SID Opt_DHCPv6_DNS_Servers The Message exchange is correct |
|||||||||||||||
| 17:47:35 | Clear Captured Packets (Link0) | ||||||||||||||
| 17:47:35 | Stop Capturing Packets (Link0) | ||||||||||||||
|
*** Target test finish *** DHCPv6 Server stop |
|||||||||||||||
| 17:47:35 |
vRemote(dhcp6s.rmt) ``/usr/local/v6eval//bin/wide-dhcp//dhcp6s.rmt -t wide-dhcp -u root -p v6eval -d cuad0 -o 1 stop ''
Connected [root@localhost ~]# [root@localhost ~]# cat /var/run/dhcp6s.pid 2059 [root@localhost ~]# [root@localhost ~]# sendMessagesSync: never got cat /var/run/dhcp6s.pid echo $? 0 [root@localhost ~]# killall dhcp6s [root@localhost ~]# echo $? 0 [ro~ [EOT] | ||||||||||||||
| 17:47:41 | Stop Capturing Packets (Link0) | ||||||||||||||
|
Stop Link0 OK |
|||||||||||||||
| 17:47:41 | End |
Frame_Ether (length:110) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:00:00:00:01 | | SourceAddress = 00:00:00:00:a6:a6 | | Type = 34525 | Packet_IPv6 (length:96) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 56 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = fe80::200:ff:fe00:a6a6 | | | DestinationAddress = ff02::1 | | ICMPv6_RA (length:56) | | | Type = 134 | | | Code = 0 | | | Checksum = 17054 calc(17054) | | | CurHopLimit = 0 | | | MFlag = 0 | | | OFlag = 1 | | | HFlag = 0 | | | Preference = 0 | | | Reserved = 0 | | | LifeTime = 3000 | | | ReachableTime = 0 | | | RetransTimer = 0 | | | Opt_ICMPv6_SLL (length:8) | | | | Type = 1 | | | | Length = 1 | | | | LinkLayerAddress = 00:00:00:00:a6:a6 | | | Opt_ICMPv6_Prefix (length:32) | | | | Type = 3 | | | | Length = 4 | | | | PrefixLength = 64 | | | | LFlag = 1 | | | | AFlag = 1 | | | | RFlag = 0 | | | | Reserved1 = 0 | | | | ValidLifetime = 14400 | | | | PreferredLifetime = 7200 | | | | Reserved2 = 0 | | | | Prefix = 3ffe:501:ffff:100::
Frame_Ether (length:134) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:00:01:00:03 | | SourceAddress = 00:00:00:00:a4:a4 | | Type = 34525 | Packet_IPv6 (length:120) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 80 | | | NextHeader = 17 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:200:ff:fe00:a4a4 | | | DestinationAddress = ff05::1:3 | | Upp_UDP (length:80) | | | Hdr_UDP (length:8) | | | | SourcePort = 547 | | | | DestinationPort = 547 | | | | Length = 80 | | | | Checksum = 58927 calc(58927) | | | Udp_DHCPv6_RelayForward (length:72) | | | | Type = 12 | | | | HopCount = 0 | | | | LinkAddr = 3ffe:501:ffff:100:203:47ff:fe6e:ab44 | | | | PeerAddr = fe80::200:ff:fe00:a2a2 | | | | Opt_DHCPv6_RelayMessage (length:38) | | | | | Code = 9 | | | | | Length = 34 | | | | | Udp_DHCPv6_InformationRequest (length:34) | | | | | | Type = 11 | | | | | | Identifier = 102 | | | | | | 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_OptionRequest (length:6) | | | | | | | Code = 6 | | | | | | | Length = 2 | | | | | | | OptionCode = 23 | | | | | | Opt_DHCPv6_ElapsedTime (length:6) | | | | | | | Code = 8 | | | | | | | Length = 2 | | | | | | | Time = 0
Frame_Ether (length:86)
| Hdr_Ether (length:14)
| | DestinationAddress = 33:33:ff:00:a4:a4
| | SourceAddress = 00:03:47:6e:ab:44
| | Type = 34525
| Packet_IPv6 (length:72)
| | Hdr_IPv6 (length:40)
| | | Version = 6
| | | TrafficClass = 0
| | | FlowLabel = 0
| | | PayloadLength = 32
| | | NextHeader = 58
| | | HopLimit = 255
| | | SourceAddress = 3ffe:501:ffff:100:203:47ff:fe6e:ab44
| | | DestinationAddress = ff02::1:ff00:a4a4
| | ICMPv6_NS (length:32)
| | | Type = 135
| | | Code = 0
| | | Checksum = 48363 calc(48363)
| | | Reserved = 0
| | | TargetAddress = 3ffe:501:ffff:100:200:ff:fe00:a4a4
| | | Opt_ICMPv6_SLL (length:8)
| | | | Type = 1
| | | | Length = 1
| | | | LinkLayerAddress = 00:03:47:6e:ab:44
===relay_reply_nut_relay=================================
ng compare _HDR_IPV6_relay_reply_nut_relay.NextHeader received:58 = 17
ng compare _HDR_IPV6_relay_reply_nut_relay.DestinationAddress received:ff02::1:ff00:a4a4 = oneof(v6("fe80::200:ff:fe00:a4a4"),v6("3ffe:501:ffff:100:200:ff:fe00:a4a4"))
ng meta Packet_IPv6.Upp_UDP != Packet_IPv6.ICMPv6_NS
===ns_nutga_to_any_lla=================================
ng compare _ICMPV6_ns_nutga_to_any_lla.TargetAddress received:3ffe:501:ffff:100:200:ff:fe00:a4a4 = fe80::200:ff:fe00:a1a1
===ns_nut_to_relay1_0=================================
ng compare _HDR_IPV6_ns_nut_to_relay1_0.SourceAddress received:3ffe:501:ffff:100:203:47ff:fe6e:ab44 = fe80::203:47ff:fe6e:ab44
ng compare _ICMPV6_ns_nut_to_relay1_0.TargetAddress received:3ffe:501:ffff:100:200:ff:fe00:a4a4 = fe80::200:ff:fe00:a4a4
===ns_nutlla_to_any_lla=================================
ng compare _HDR_IPV6_ns_nutlla_to_any_lla.SourceAddress received:3ffe:501:ffff:100:203:47ff:fe6e:ab44 = fe80::203:47ff:fe6e:ab44
ng compare _ICMPV6_ns_nutlla_to_any_lla.TargetAddress received:3ffe:501:ffff:100:200:ff:fe00:a4a4 = fe80::200:ff:fe00:a1a1
===ns_nut_to_relay2_0_global_global=================================
ng compare _ICMPV6_ns_nut_to_relay2_0_global_global.TargetAddress received:3ffe:501:ffff:100:200:ff:fe00:a4a4 = 3ffe:501:ffff:100:200:ff:fe00:a7a7
===ns_nut_to_relay1_0_global=================================
ng compare _HDR_IPV6_ns_nut_to_relay1_0_global.SourceAddress received:3ffe:501:ffff:100:203:47ff:fe6e:ab44 = fe80::203:47ff:fe6e:ab44
===ns_nut_to_relay2_0=================================
ng compare _HDR_IPV6_ns_nut_to_relay2_0.SourceAddress received:3ffe:501:ffff:100:203:47ff:fe6e:ab44 = fe80::203:47ff:fe6e:ab44
ng compare _ICMPV6_ns_nut_to_relay2_0.TargetAddress received:3ffe:501:ffff:100:200:ff:fe00:a4a4 = fe80::200:ff:fe00:a7a7
===ns_nut_to_relay2_0_global=================================
ng compare _HDR_IPV6_ns_nut_to_relay2_0_global.SourceAddress received:3ffe:501:ffff:100:203:47ff:fe6e:ab44 = fe80::203:47ff:fe6e:ab44
ng compare _ICMPV6_ns_nut_to_relay2_0_global.TargetAddress received:3ffe:501:ffff:100:200:ff:fe00:a4a4 = 3ffe:501:ffff:100:200:ff:fe00:a7a7
===ns_nutlla_to_server1_ga=================================
ng compare _HETHER_nut_to_server1.DestinationAddress received:33:33:ff:00:a4:a4 = 00:00:00:00:a1:a1
ng compare _HDR_IPV6_ns_nutlla_to_server1_ga.SourceAddress received:3ffe:501:ffff:100:203:47ff:fe6e:ab44 = fe80::203:47ff:fe6e:ab44
ng compare _HDR_IPV6_ns_nutlla_to_server1_ga.DestinationAddress received:ff02::1:ff00:a4a4 = 3ffe:501:ffff:100:200:ff:fe00:a1a1
ng compare _ICMPV6_ns_nutlla_to_server1_ga.TargetAddress received:3ffe:501:ffff:100:200:ff:fe00:a4a4 = 3ffe:501:ffff:100:200:ff:fe00:a1a1
===ns_nut_to_relay1_0_global_global=================================
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 00:03:47:6e:ab:44 | | SourceAddress = 00:00:00:00:a4:a4 | | Type = 34525 | Packet_IPv6 (length:72) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 32 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = 3ffe:501:ffff:100:200:ff:fe00:a4a4 | | | DestinationAddress = 3ffe:501:ffff:100:203:47ff:fe6e:ab44 | | ICMPv6_NA (length:32) | | | Type = 136 | | | Code = 0 | | | Checksum = 57345 calc(57345) | | | RFlag = 1 | | | SFlag = 1 | | | OFlag = 1 | | | Reserved = 0 | | | TargetAddress = 3ffe:501:ffff:100:200:ff:fe00:a4a4 | | | Opt_ICMPv6_TLL (length:8) | | | | Type = 2 | | | | Length = 1 | | | | LinkLayerAddress = 00:00:00:00:a4:a4
Frame_Ether (length:160) | Hdr_Ether (length:14) | | DestinationAddress = 00:00:00:00:a4:a4 | | SourceAddress = 00:03:47:6e:ab:44 | | Type = 34525 | Packet_IPv6 (length:146) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 106 | | | NextHeader = 17 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:203:47ff:fe6e:ab44 | | | DestinationAddress = 3ffe:501:ffff:100:200:ff:fe00:a4a4 | | Upp_UDP (length:106) | | | Hdr_UDP (length:8) | | | | SourcePort = 32768 | | | | DestinationPort = 547 | | | | Length = 106 | | | | Checksum = 59291 calc(59291) | | | Udp_DHCPv6_RelayReply (length:98) | | | | Type = 13 | | | | HopCount = 0 | | | | LinkAddr = 3ffe:501:ffff:100:203:47ff:fe6e:ab44 | | | | PeerAddr = fe80::200:ff:fe00:a2a2 | | | | Opt_DHCPv6_RelayMessage (length:64) | | | | | Code = 9 | | | | | Length = 60 | | | | | Udp_DHCPv6_Reply (length:60) | | | | | | Type = 7 | | | | | | Identifier = 102 | | | | | | 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 = 253280417 | | | | | | | | LinkLayerAddress = 00:03:47:6e:ab:44 | | | | | | Opt_DHCPv6_DNS_Servers (length:20) | | | | | | | Code = 23 | | | | | | | Length = 16 | | | | | | | Address = 3ffe:501:ffff:100:200:ff:fe00:3f3e ===relay_reply_nut_relay=================================