| Title | Part C : Relay-Reply message transmission through the layered Relay agents |
| CommandLine | ./S_RFC3315_20.3_Relay-replyConstruction.seq -pkt ./S_RFC3315_20.3_Relay-replyConstruction.def -log 37.html -ti Part C : Relay-Reply message transmission through the layered Relay agents |
| TestVersion | DHCPv6_Self_Test_P2_1_0_13 |
| ToolVersion | REL_3_0_15 |
| Start | 2008/10/07 20:06:20 |
| Tn | /usr/local/v6eval//etc//tn.def |
| Nu | /usr/local/v6eval//etc//nut.def |
| Pkt | ./S_RFC3315_20.3_Relay-replyConstruction.def |
| System | wide-dhcp |
| TargetName | Fedora7 2.6.21-1.3194.fc7 |
| HostName | target.tahi.org |
| Type | host |
| 20:06:20 | Start | ||||||||
|
==== NUT Initialization ==== |
|||||||||
| 20:06:20 |
vSend(Link0,ra_server2_to_all_MO_1) Send RA(M O = 1) TR --> All |
||||||||
| 20:06:20 | vRecv(Link0,dadns_nutga) timeout:3 cntLimit:0 seektime:0 vRecv() return status=1 |
||||||||
| 20:06:23 | Wait 3 second | ||||||||
| vRemote("dhcp6s.rmt", "start","link0=eth0","startaddr=3ffe:501:ffff:102::10","endaddr=3ffe:501:ffff:102::11","valduid=00:01:00:01:00:04:93:e0:00:00:00:00:a2:a2") | |||||||||
| 20:06:26 |
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 startaddr=3ffe:501:ffff:102::10 endaddr=3ffe:501:ffff:102::11 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] | ||||||||
| 20:06:47 | Start Capturing Packets (Link0) | ||||||||
| 20:06:47 | Clear Captured Packets (Link0) | ||||||||
| 20:06:47 | Clear Captured Packets (Link0) | ||||||||
| 20:06:47 |
vSend(Link0,relayforward_solicit_client1_to_relay2_to_relay1_alldhcp) send relayforward_solicit_client1_to_relay2_to_relay1_alldhcp |
||||||||
Relay-forward Message
RelayForward Message in Relay Message Option
|
|||||||||
| 20:06:47 | 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 Receive NS NUT --> Relay1(link0) |
||||||||
| 20:06:47 |
vSend(Link0,na_relay1_0_to_nut_global) send na_relay1_0_to_nut_global |
||||||||
| 20:06:47 | 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
RelayReply Message in Relay Message Option
Received DHCPv6 Relay Reply Message HopCount matched.:1 == 1 LinkAddr matched.::: == :: PeerAddr matched.:3ffe:501:ffff:101:200:ff:fe00:a7a7 == 3ffe:501:ffff:101:200:ff:fe00:a7a7 HopCount matched.:0 == 0 LinkAddr matched.:3ffe:501:ffff:102:200:ff:fe00:a8a8 == 3ffe:501:ffff:102:200:ff:fe00:a8a8 PeerAddr matched.:fe80::200:ff:fe00:a2a2 == fe80::200:ff:fe00:a2a2 The Message exchange is correct |
|||||||||
| 20:06:48 | Clear Captured Packets (Link0) | ||||||||
| 20:06:48 | Stop Capturing Packets (Link0) | ||||||||
|
*** Target test finish *** DHCPv6 Server stop |
|||||||||
| 20:06:48 |
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 2177 [root@localhost ~]# [root@localhost ~]# sendMessagesSync: never got cat /var/run/dhcp6s.pid echo $? 0 [root@localhost ~]# killall dhcp6s [root@localhost ~]# echo $? 0 [ro~ [EOT] | ||||||||
| 20:06:53 | Stop Capturing Packets (Link0) | ||||||||
|
Stop Link0 OK |
|||||||||
| 20:06:53 | 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 = 16990 calc(16990) | | | CurHopLimit = 0 | | | MFlag = 1 | | | 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 = 0 | | | | RFlag = 0 | | | | Reserved1 = 0 | | | | ValidLifetime = 14400 | | | | PreferredLifetime = 7200 | | | | Reserved2 = 0 | | | | Prefix = 3ffe:501:ffff:100::
Frame_Ether (length:182) | Hdr_Ether (length:14) | | DestinationAddress = 00:03:47:6e:ab:44 | | SourceAddress = 00:00:00:00:a7:a7 | | Type = 34525 | Packet_IPv6 (length:168) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 128 | | | NextHeader = 17 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:200:ff:fe00:a4a4 | | | DestinationAddress = ff05::1:3 | | Upp_UDP (length:128) | | | Hdr_UDP (length:8) | | | | SourcePort = 547 | | | | DestinationPort = 547 | | | | Length = 128 | | | | Checksum = 46025 calc(46025) | | | Udp_DHCPv6_RelayForward (length:120) | | | | Type = 12 | | | | HopCount = 1 | | | | LinkAddr = :: | | | | PeerAddr = 3ffe:501:ffff:101:200:ff:fe00:a7a7 | | | | Opt_DHCPv6_RelayMessage (length:86) | | | | | Code = 9 | | | | | Length = 82 | | | | | Udp_DHCPv6_RelayForward (length:82) | | | | | | Type = 12 | | | | | | HopCount = 0 | | | | | | LinkAddr = 3ffe:501:ffff:102:200:ff:fe00:a8a8 | | | | | | PeerAddr = fe80::200:ff:fe00:a2a2 | | | | | | Opt_DHCPv6_RelayMessage (length:48) | | | | | | | Code = 9 | | | | | | | Length = 44 | | | | | | | Udp_DHCPv6_Solicit (length:44) | | | | | | | | Type = 1 | | | | | | | | Identifier = 100 | | | | | | | | 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_IA_NA (length:16) | | | | | | | | | Code = 3 | | | | | | | | | Length = 12 | | | | | | | | | Identifier = 101010 | | | | | | | | | Time1 = 50 | | | | | | | | | Time2 = 80 | | | | | | | | 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 = fe80::203:47ff:fe6e:ab44
| | | DestinationAddress = ff02::1:ff00:a4a4
| | ICMPv6_NS (length:32)
| | | Type = 135
| | | Code = 0
| | | Checksum = 1130 calc(1130)
| | | 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 _HDR_IPV6_ns_nutga_to_any_lla.SourceAddress received:fe80::203:47ff:fe6e:ab44 = 3ffe:501:ffff:100:203:47ff:fe6e:ab44
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 _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 _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 _HDR_IPV6_ns_nut_to_relay2_0_global_global.SourceAddress received:fe80::203:47ff:fe6e:ab44 = 3ffe:501:ffff:100:203:47ff:fe6e:ab44
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=================================
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 = fe80::203:47ff:fe6e:ab44 | | ICMPv6_NA (length:32) | | | Type = 136 | | | Code = 0 | | | Checksum = 10112 calc(10112) | | | 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:222) | Hdr_Ether (length:14) | | DestinationAddress = 00:00:00:00:a4:a4 | | SourceAddress = 00:03:47:6e:ab:44 | | Type = 34525 | Packet_IPv6 (length:208) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 168 | | | NextHeader = 17 | | | HopLimit = 64 | | | SourceAddress = fe80::203:47ff:fe6e:ab44 | | | DestinationAddress = 3ffe:501:ffff:100:200:ff:fe00:a4a4 | | Upp_UDP (length:168) | | | Hdr_UDP (length:8) | | | | SourcePort = 32768 | | | | DestinationPort = 547 | | | | Length = 168 | | | | Checksum = 36582 calc(36582) | | | Udp_DHCPv6_RelayReply (length:160) | | | | Type = 13 | | | | HopCount = 1 | | | | LinkAddr = :: | | | | PeerAddr = 3ffe:501:ffff:101:200:ff:fe00:a7a7 | | | | Opt_DHCPv6_RelayMessage (length:126) | | | | | Code = 9 | | | | | Length = 122 | | | | | Udp_DHCPv6_RelayReply (length:122) | | | | | | Type = 13 | | | | | | HopCount = 0 | | | | | | LinkAddr = 3ffe:501:ffff:102:200:ff:fe00:a8a8 | | | | | | PeerAddr = fe80::200:ff:fe00:a2a2 | | | | | | Opt_DHCPv6_RelayMessage (length:88) | | | | | | | Code = 9 | | | | | | | Length = 84 | | | | | | | Udp_DHCPv6_Advertise (length:84) | | | | | | | | Type = 2 | | | | | | | | Identifier = 100 | | | | | | | | 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_IA_NA (length:44) | | | | | | | | | Code = 3 | | | | | | | | | Length = 40 | | | | | | | | | Identifier = 101010 | | | | | | | | | Time1 = 5000 | | | | | | | | | Time2 = 8000 | | | | | | | | | Opt_DHCPv6_IA_Address (length:28) | | | | | | | | | | Code = 5 | | | | | | | | | | Length = 24 | | | | | | | | | | Address = 3ffe:501:ffff:102::10 | | | | | | | | | | PreferredLifetime = 10000 | | | | | | | | | | ValidLifetime = 20000 ===relay_reply_nut_relay=================================