| Title | Part B : Advertise message transmission (w/ Interface-id Option) (Advanced) |
| CommandLine | ./R_RFC3315_20_RelayReplyAdvMsgWithInterfaceidOP.seq -pkt ./R_RFC3315_20_RelayReplyAdvMsgWithInterfaceidOP.def -log 15.html -ti Part B : Advertise message transmission (w/ Interface-id Option) (Advanced) |
| TestVersion | DHCPv6_Self_Test_P2_1_0_13 |
| ToolVersion | REL_3_0_15 |
| Start | 2008/10/07 12:11:49 |
| Tn | /usr/local/v6eval//etc//tn.def |
| Nu | /usr/local/v6eval//etc//nut.def |
| Pkt | ./R_RFC3315_20_RelayReplyAdvMsgWithInterfaceidOP.def |
| System | wide-dhcp |
| TargetName | Fedora7 2.6.21-1.3194.fc7 |
| HostName | target.tahi.org |
| Type | router |
| 12:11:49 | Start | ||||||||||||||||
|
==== NUT Initialization ==== vRemote("dhcp6r.rmt", "start","link0=eth0","link1=eth1","servermulticast","clientmulticast,"interfaceid") |
|||||||||||||||||
| 12:11:49 |
vRemote(dhcp6r.rmt) ``/usr/local/v6eval//bin/wide-dhcp//dhcp6r.rmt -t wide-dhcp -u root -p v6eval -d cuad0 -o 1 start link0=eth0 link1=eth1 servermulticast clientmulticast interfaceid''
Connected [root@localhost ~]# [root@localhost ~]# killall dhcp6relay dhcp6relay: どのプロセスもkillされませんでした [root@localhost ~]# echo $? 1 [root@localhost ~]# /usr/local/sbin/dhcp6relay -D -r eth0 eth1 /usr/local/sbin/dhcp6relay -D -r eth0 eth1 [root@localhost ~]# echo $? 0 [ro~ [EOT] | ||||||||||||||||
| 12:11:50 | Start Capturing Packets (Link0) | ||||||||||||||||
| 12:11:50 | Clear Captured Packets (Link0) | ||||||||||||||||
| 12:11:50 | Start Capturing Packets (Link1) | ||||||||||||||||
| 12:11:50 | Clear Captured Packets (Link1) | ||||||||||||||||
| 12:11:50 |
vSend(Link1,solicit_client1_to_alldhcp) Send DHCPv6 Solicit Message: CLIENT1 --> All DHCP Servers and Relay Agents |
||||||||||||||||
Solicit Message
|
|||||||||||||||||
| 12:11:50 | vRecv(Link0,relayforward_solicit_nut_to_server1 ns_nutrelay_to_client_local ns_nutrelay_to_server ns_nutrelay_to_client_global ns_nutrelay_to_relay ns_nut_to_any_global ns_nut_to_any_local) timeout:5 cntLimit:0 seektime:0 Receive DHCPv6 Relay-forward Message (Solicit): NUT --> All DHCP Servers |
||||||||||||||||
|
got DHCPv6 Relay Forward Message(Solicit) Relay-forward Message
Solicit Message in Relay Message Option
Begin check Opt_DHCPv6_IID. The option Opt_DHCPv6_IID has existed Checking Options... Checking Opt_DHCPv6_IID Opt_DHCPv6_IID found |
|||||||||||||||||
| 12:11:51 |
vSend(Link0,relay_advertise_server1_to_client1_1relay) Send DHCPv6 Relay-reply message (Advertise): SERVER1 --> NUT |
||||||||||||||||
Relay-reply Message
Advertise Message in Relay Message Option
|
|||||||||||||||||
| 12:11:51 | vRecv(Link1,dhcp6_advertise ns_nutrelay_to_client_local ns_nutrelay_to_server ns_nutrelay_to_client_global ns_nutrelay_to_relay ns_nut_to_any_global ns_nut_to_any_local) timeout:5 cntLimit:0 seektime:0 recv unexpect packet at 12:11:50 Receive DHCPv6 Advertise Message |
||||||||||||||||
|
got DHCPv6 Advertise Message Advertise Message
The original Msg type is Udp_DHCPv6_Advertise Relayed message is consitent with the orginal message! Checking the destination address is passed. The Message exchange is correct *** Target test finish *** DHCPv6 Relay agent stop |
|||||||||||||||||
| 12:11:51 |
vRemote(dhcp6r.rmt) ``/usr/local/v6eval//bin/wide-dhcp//dhcp6r.rmt -t wide-dhcp -u root -p v6eval -d cuad0 -o 1 stop ''
Connected [root@localhost ~]# [root@localhost ~]# killall dhcp6relay [root@localhost ~]# echo $? 0 [ro~ [EOT] | ||||||||||||||||
| 12:11:52 | Stop Capturing Packets (Link0) | ||||||||||||||||
|
Stop Link0 |
|||||||||||||||||
| 12:11:52 | Stop Capturing Packets (Link1) | ||||||||||||||||
|
Stop Link1 OK |
|||||||||||||||||
| 12:11:52 | End |
Frame_Ether (length:106) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:00:01:00:02 | | SourceAddress = 00:00:00:00:a2:a2 | | Type = 34525 | Packet_IPv6 (length:92) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 52 | | | NextHeader = 17 | | | HopLimit = 64 | | | SourceAddress = fe80::200:ff:fe00:a2a2 | | | DestinationAddress = ff02::1:2 | | Upp_UDP (length:52) | | | Hdr_UDP (length:8) | | | | SourcePort = 546 | | | | DestinationPort = 547 | | | | Length = 52 | | | | Checksum = 38637 calc(38637) | | | 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:152) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:00:01:00:03 | | SourceAddress = 00:03:47:6e:ab:44 | | Type = 34525 | Packet_IPv6 (length:138) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 98 | | | NextHeader = 17 | | | HopLimit = 32 | | | SourceAddress = 3ffe:501:ffff:100:203:47ff:fe6e:ab44 | | | DestinationAddress = ff05::1:3 | | Upp_UDP (length:98) | | | Hdr_UDP (length:8) | | | | SourcePort = 546 | | | | DestinationPort = 547 | | | | Length = 98 | | | | Checksum = 3079 calc(3079) | | | Udp_DHCPv6_RelayForward (length:90) | | | | Type = 12 | | | | HopCount = 0 | | | | LinkAddr = 3ffe:501:ffff:101:290:ccff:fe52:30a0 | | | | 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 | | | | Opt_DHCPv6_IID (length:8) | | | | | Code = 18 | | | | | Length = 4 | | | | | Identifier = 00000003 ===relayforward_solicit_nut_to_server1=================================
Frame_Ether (length:192) | Hdr_Ether (length:14) | | DestinationAddress = 00:03:47:6e:ab:44 | | SourceAddress = 00:00:00:00:a1:a1 | | Type = 34525 | Packet_IPv6 (length:178) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 138 | | | NextHeader = 17 | | | HopLimit = 64 | | | SourceAddress = fe80::200:ff:fe00:a1a1 | | | DestinationAddress = 3ffe:501:ffff:100:203:47ff:fe6e:ab44 | | Upp_UDP (length:138) | | | Hdr_UDP (length:8) | | | | SourcePort = 547 | | | | DestinationPort = 547 | | | | Length = 138 | | | | Checksum = 64658 calc(64658) | | | Udp_DHCPv6_RelayReply (length:130) | | | | Type = 13 | | | | HopCount = 0 | | | | LinkAddr = :: | | | | PeerAddr = fe80::200:ff:fe00:a2a2 | | | | Opt_DHCPv6_IID (length:8) | | | | | Code = 18 | | | | | Length = 4 | | | | | Identifier = 00000003 | | | | Opt_DHCPv6_RelayMessage (length:88) | | | | | Code = 9 | | | | | Length = 84 | | | | | Udp_DHCPv6_Advertise (length:84) | | | | | | Type = 2 | | | | | | Identifier = 103 | | | | | | 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 = 400000 | | | | | | | | LinkLayerAddress = 00:00:00:00:a1:a1 | | | | | | Opt_DHCPv6_IA_NA (length:44) | | | | | | | Code = 3 | | | | | | | Length = 40 | | | | | | | Identifier = 101010 | | | | | | | Time1 = 50 | | | | | | | Time2 = 80 | | | | | | | Opt_DHCPv6_IA_Address (length:28) | | | | | | | | Code = 5 | | | | | | | | Length = 24 | | | | | | | | Address = 3ffe:501:ffff:101::abcd | | | | | | | | PreferredLifetime = 100 | | | | | | | | ValidLifetime = 200
Frame_Ether (length:90) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:00:00:00:16 | | SourceAddress = 00:90:cc:52:30:a0 | | Type = 34525 | Packet_IPv6 (length:76) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 36 | | | NextHeader = 0 | | | HopLimit = 1 | | | SourceAddress = fe80::290:ccff:fe52:30a0 | | | DestinationAddress = ff02::16 | | Hdr_HopByHop (length:8) | | | NextHeader = 58 | | | HeaderExtLength = 0 | | | Opt_RouterAlert (length:4) | | | | OptionType = 5 | | | | OptDataLength = 2 | | | | Value = 0 | | | Opt_PadN (length:2) | | | | OptionType = 1 | | | | OptDataLength = 0 | | ICMPv6_MLDv2Report (length:28) | | | Type = 143 | | | Code = 0 | | | Checksum = 29061 calc(29061) | | | Reserved = 0 | | | NumOfMcastAddrRecords = 1 | | | MLDv2_AddrRecord (length:20) | | | | Type = 4 | | | | AuxDataLen = 0 | | | | NumOfSources = 0 | | | | MulticastAddress = ff02::1:2 | | | | AuxData = ===dhcp6_advertise================================= ng compare _HDR_IPV6_dhcp6_advertise.NextHeader received:0 = 17 ng meta Packet_IPv6.Upp_UDP != Packet_IPv6.Hdr_HopByHop ng count Frame_Ether.Packet_IPv6 != Frame_Ether.Packet_IPv6 ===ns_nutrelay_to_client_local================================= ng compare _HDR_IPV6_ns_nutrelay_to_client_local.NextHeader received:0 = 58 ng compare _HDR_IPV6_ns_nutrelay_to_client_local.HopLimit received:1 = 255 ng compare _HDR_IPV6_ns_nutrelay_to_client_local.DestinationAddress received:ff02::16 = fe80::200:ff:fe00:a2a2 ng meta Packet_IPv6.ICMPv6_NS != Packet_IPv6.Hdr_HopByHop ng count Frame_Ether.Packet_IPv6 != Frame_Ether.Packet_IPv6 ===ns_nutrelay_to_server================================= ng compare _HDR_IPV6_ns_nutrelay_to_server.NextHeader received:0 = 58 ng compare _HDR_IPV6_ns_nutrelay_to_server.HopLimit received:1 = 255 ng compare _HDR_IPV6_ns_nutrelay_to_server.SourceAddress received:fe80::290:ccff:fe52:30a0 = fe80::203:47ff:fe6e:ab44 ng compare _HDR_IPV6_ns_nutrelay_to_server.DestinationAddress received:ff02::16 = fe80::200:ff:fe00:a1a1 ng meta Packet_IPv6.ICMPv6_NS != Packet_IPv6.Hdr_HopByHop ng count Frame_Ether.Packet_IPv6 != Frame_Ether.Packet_IPv6 ===ns_nutrelay_to_client_global================================= ng compare _HDR_IPV6_ns_nutrelay_to_client_global.NextHeader received:0 = 58 ng compare _HDR_IPV6_ns_nutrelay_to_client_global.HopLimit received:1 = 255 ng compare _HDR_IPV6_ns_nutrelay_to_client_global.SourceAddress received:fe80::290:ccff:fe52:30a0 = 3ffe:501:ffff:101:290:ccff:fe52:30a0 ng compare _HDR_IPV6_ns_nutrelay_to_client_global.DestinationAddress received:ff02::16 = 3ffe:501:ffff:100:200:ff:fe00:a2a2 ng meta Packet_IPv6.ICMPv6_NS != Packet_IPv6.Hdr_HopByHop ng count Frame_Ether.Packet_IPv6 != Frame_Ether.Packet_IPv6 ===ns_nutrelay_to_relay================================= ng compare _HDR_IPV6_ns_nutrelay_to_relay.NextHeader received:0 = 58 ng compare _HDR_IPV6_ns_nutrelay_to_relay.HopLimit received:1 = 255 ng compare _HDR_IPV6_ns_nutrelay_to_relay.SourceAddress received:fe80::290:ccff:fe52:30a0 = 3ffe:501:ffff:101:290:ccff:fe52:30a0 ng meta Packet_IPv6.ICMPv6_NS != Packet_IPv6.Hdr_HopByHop ng count Frame_Ether.Packet_IPv6 != Frame_Ether.Packet_IPv6 ===ns_nut_to_any_global================================= ng compare _HDR_IPV6_ns_nut_to_any_global.NextHeader received:0 = 58 ng compare _HDR_IPV6_ns_nut_to_any_global.HopLimit received:1 = 255 ng compare _HDR_IPV6_ns_nut_to_any_global.SourceAddress received:fe80::290:ccff:fe52:30a0 = 3ffe:501:ffff:100:290:ccff:fe52:30a0 ng meta Packet_IPv6.ICMPv6_NS != Packet_IPv6.Hdr_HopByHop ng count Frame_Ether.Packet_IPv6 != Frame_Ether.Packet_IPv6 ===ns_nut_to_any_local================================= ng compare _HDR_IPV6_ns_nut_to_any_local.NextHeader received:0 = 58 ng compare _HDR_IPV6_ns_nut_to_any_local.HopLimit received:1 = 255 ng meta Packet_IPv6.ICMPv6_NS != Packet_IPv6.Hdr_HopByHop ng count Frame_Ether.Packet_IPv6 != Frame_Ether.Packet_IPv6
Frame_Ether (length:146) | Hdr_Ether (length:14) | | DestinationAddress = 00:00:00:00:a2:a2 | | SourceAddress = 00:90:cc:52:30:a0 | | Type = 34525 | Packet_IPv6 (length:132) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 92 | | | NextHeader = 17 | | | HopLimit = 64 | | | SourceAddress = fe80::290:ccff:fe52:30a0 | | | DestinationAddress = fe80::200:ff:fe00:a2a2 | | Upp_UDP (length:92) | | | Hdr_UDP (length:8) | | | | SourcePort = 547 | | | | DestinationPort = 546 | | | | Length = 92 | | | | Checksum = 59449 calc(59449) | | | Udp_DHCPv6_Advertise (length:84) | | | | Type = 2 | | | | Identifier = 103 | | | | 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 = 400000 | | | | | | LinkLayerAddress = 00:00:00:00:a1:a1 | | | | Opt_DHCPv6_IA_NA (length:44) | | | | | Code = 3 | | | | | Length = 40 | | | | | Identifier = 101010 | | | | | Time1 = 50 | | | | | Time2 = 80 | | | | | Opt_DHCPv6_IA_Address (length:28) | | | | | | Code = 5 | | | | | | Length = 24 | | | | | | Address = 3ffe:501:ffff:101::abcd | | | | | | PreferredLifetime = 100 | | | | | | ValidLifetime = 200 ===dhcp6_advertise=================================