| Title | Part A : Relay-Reply message transmission |
| CommandLine | ./S_RFC3315_17.2.2_Creation-TransmissionOfRelayReply.seq -pkt ./S_RFC3315_17.2.2_Creation-TransmissionOfRelayReply.def -log 35.html -ti Part A : Relay-Reply message transmission |
| TestVersion | DHCPv6_Self_Test_P2_1_0_13 |
| ToolVersion | REL_3_0_15 |
| Start | 2008/10/07 20:05:11 |
| Tn | /usr/local/v6eval//etc//tn.def |
| Nu | /usr/local/v6eval//etc//nut.def |
| Pkt | ./S_RFC3315_17.2.2_Creation-TransmissionOfRelayReply.def |
| System | wide-dhcp |
| TargetName | Fedora7 2.6.21-1.3194.fc7 |
| HostName | target.tahi.org |
| Type | host |
| 20:05:11 | Start | ||||||||||||||
|
==== NUT Initialization ==== |
|||||||||||||||
| 20:05:11 |
vSend(Link0,ra_server2_to_all_MO_1) Send RA(M O = 1) TR --> All |
||||||||||||||
| 20:05:11 | vRecv(Link0,dadns_nutga) timeout:3 cntLimit:0 seektime:0 vRecv() return status=1 |
||||||||||||||
| 20:05:14 | Wait 3 second | ||||||||||||||
| vRemote("dhcp6s.rmt", "start","link0=eth0","startaddr=3ffe:501:ffff:101::10","endaddr=3ffe:501:ffff:101::11") | |||||||||||||||
| 20:05:17 |
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:101::10 endaddr=3ffe:501:ffff:101::11''
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 [root@localhost ~]# ~ [EOT] | ||||||||||||||
| 20:05:40 | Start Capturing Packets (Link0) | ||||||||||||||
| 20:05:40 | Clear Captured Packets (Link0) | ||||||||||||||
| 20:05:40 | Clear Captured Packets (Link0) | ||||||||||||||
|
==== Creation and Transmission of Relay Reply Messages #1 ==== |
|||||||||||||||
| 20:05:40 |
vSend(Link0,relayforward_solicit_client1_to_alldhcp) Send DHCPv6 Reley-forward Message (Solicit): RELAY1 --> All DHCP Servers |
||||||||||||||
Relay-forward Message
Solicit Message in Relay Message Option
|
|||||||||||||||
| 20:05:40 | 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:05:40 |
vSend(Link0,na_relay1_0_to_nut_global) send na_relay1_0_to_nut_global |
||||||||||||||
| 20:05:41 | 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
Advertise Message in Relay Message Option
Received DHCPv6 Relay Reply Message HopCount matched.:0 == 0 LinkAddr matched.:3ffe:501:ffff:101:200:ff:fe00:a5a5 == 3ffe:501:ffff:101:200:ff:fe00:a5a5 PeerAddr matched.:fe80::200:ff:fe00:a2a2 == fe80::200:ff:fe00:a2a2 Checking Options... Checking Opt_DHCPv6_RelayMessage Opt_DHCPv6_RelayMessage found Relay Message option Code = 9 Relay Message option Length = 84 Relay Message option DHCP-relqy-message = Type Identifier Opt_DHCPv6_CID Opt_DHCPv6_SID Opt_DHCPv6_IA_NA CID = Code Length DHCPv6_DUID_LLT_Ether SID = Code Length DHCPv6_DUID_LLT_Ether IA_NA = Code Length Identifier Time1 Time2 Opt_DHCPv6_IA_Address The Message exchangement is correct *** Target test finish *** DHCPv6 Server stop |
|||||||||||||||
| 20:05:41 |
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 2161 [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:05:47 | Stop Capturing Packets (Link0) | ||||||||||||||
|
Stop Link0 OK |
|||||||||||||||
| 20:05:47 | 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:144) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:00:01:00:03 | | SourceAddress = 00:00:00:00:a4:a4 | | Type = 34525 | Packet_IPv6 (length:130) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 90 | | | NextHeader = 17 | | | HopLimit = 32 | | | SourceAddress = 3ffe:501:ffff:100:200:ff:fe00:a4a4 | | | DestinationAddress = ff05::1:3 | | Upp_UDP (length:90) | | | Hdr_UDP (length:8) | | | | SourcePort = 547 | | | | DestinationPort = 547 | | | | Length = 90 | | | | Checksum = 45597 calc(45597) | | | Udp_DHCPv6_RelayForward (length:82) | | | | Type = 12 | | | | HopCount = 0 | | | | LinkAddr = 3ffe:501:ffff:101:200:ff:fe00:a5a5 | | | | 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:184) | Hdr_Ether (length:14) | | DestinationAddress = 00:00:00:00:a4:a4 | | SourceAddress = 00:03:47:6e:ab:44 | | Type = 34525 | Packet_IPv6 (length:170) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 130 | | | NextHeader = 17 | | | HopLimit = 64 | | | SourceAddress = fe80::203:47ff:fe6e:ab44 | | | DestinationAddress = 3ffe:501:ffff:100:200:ff:fe00:a4a4 | | Upp_UDP (length:130) | | | Hdr_UDP (length:8) | | | | SourcePort = 32768 | | | | DestinationPort = 547 | | | | Length = 130 | | | | Checksum = 36451 calc(36451) | | | Udp_DHCPv6_RelayReply (length:122) | | | | Type = 13 | | | | HopCount = 0 | | | | LinkAddr = 3ffe:501:ffff:101:200:ff:fe00:a5a5 | | | | 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:101::10 | | | | | | | | PreferredLifetime = 10000 | | | | | | | | ValidLifetime = 20000 ===relay_reply_nut_relay=================================