| Title | Format of Relay-reply messages |
| CommandLine | ./S_RFC3736_5.1_SLDHCPRelayreply.seq -pkt ./S_RFC3736_5.1_SLDHCPRelayreply.def -log 134.html -ti Format of Relay-reply messages |
| TestVersion | DHCPv6_1_0 |
| ToolVersion | REL_3_0_8 |
| Start | 2006/03/30 09:58:17 |
| Tn | /usr/local/v6eval//etc//tn.def |
| Nu | /usr/local/v6eval//etc//nut.def |
| Pkt | ./S_RFC3736_5.1_SLDHCPRelayreply.def |
| System | freebsd-i386 |
| TargetName | FreeBSD 5.4-RELEASE-p7 |
| HostName | NS1.example.com |
| Type | host |
| 09:58:18 | Start | ||||||||||||||||
|
==== NUT Initialization ==== vRemote("dhcp6s.rmt", "start","link0=bfe0","stateless","dns=3ffe::10","valduid=00:01:00:01:00:04:93:e0:00:00:00:00:a2:a2") |
|||||||||||||||||
| 09:58:18 |
vRemote(dhcp6s.rmt) ``/usr/local/v6eval//bin/freebsd-i386//dhcp6s.rmt -t freebsd-i386 -u root -p v6eval -d cuaa0 -o 1 start link0=bfe0 stateless dns=3ffe::10 valduid=00:01:00:01:00:04:93:e0:00:00:00:00:a2:a2''
eval $main::rOpt_start='1'
eval $main::rOpt_link0='bfe0'
eval $main::rOpt_stateless='1'
eval $main::rOpt_dns='3ffe::10'
eval $main::rOpt_valduid='00:01:00:01:00:04:93:e0:00:00:00:00:a2:a2'
Connected
prompt_user: ``login: '', prompt_password: ``Password:'', prompt_command: ``(\$|#) ''
rLogin: Wait for login prompt (0.2 sec)
rLogin: Never got prompt; try again
rLogin: Wait for login prompt (5 sec)
NS1# rLogin: Got command prompt
rLogin: Got command prompt
Make dhcp6s.conf
option domain-name-servers 3ffe::10;
#;
#;
#;
#;
#;
interface bfe0 {
#;
#;
};
host TN{
duid 00:01:00:01:00:04:93:e0:00:00:00:00:a2:a2;
#;
#;
#;
};
#
#;
#;
#;
#;
Put local:freebsd-i386.dhcp6s.conf to remote:/tmp/dhcp6s.conf
NS1# ~[set] echocheck
NS1# rPutfile: Starting copying
NS1# ~[put] freebsd-i386.dhcp6s.conf /tmp/dhcp6s.conf
DNS1#
NS1# rPutfile: Copying completed
Put local:freebsd-i386.dhcp6ctl.conf to remote:/tmp/dhcp6ctlkey
NS1# ~[set] echocheck
NS1# rPutfile: Starting copying
NS1# ~[put] freebsd-i386.dhcp6ctl.conf /tmp/dhcp6ctlkey
DNS1#
NS1# rPutfile: Copying completed
_rCommand: Try to get command prompt (0.2 sec.)
NS1# _rCommand: Do ``killall dhcp6s'' command
killall dhcp6s
sendMessagesSync: got echo back of killall dhcp6s
rCommand: Try to get command prompt (0.2 sec)
No matching processes were found
NS1# rCommand: CmdOutput=``
No matching processes were found
NS1''
echo $status
1
sendMessagesSync: got echo back of echo $status
rCommand: exit status: 1
Start dhcp6s
_rCommand: Try to get command prompt (0.2 sec.)
NS1# _rCommand: Do ``/usr/local/sbin/dhcp6s -D -c /tmp/dhcp6s.conf -k /tmp/dhcp6ctlkey bfe0'' command
/usr/local/sbin/dhcp6s -D -c /tmp/dhcp6s.conf -k /tmp/dhcp6ctlkey bfe0
sendMessagesSync: got echo back of /usr/local/sbin/dhcp6s -D -c /tmp/dhcp6s.conf -k /tmp/dhcp6ctlkey bfe0
rCommand: Try to get command prompt (0.2 sec)
NS1# rCommand: CmdOutput=``
NS1''
echo $status
0
sendMessagesSync: got echo back of echo $status
rCommand: exit status: 0
prompt_user: ``login: '', prompt_password: ``Password:'', prompt_command: ``(\$|#) ''
rLogout: skip by not specifing ``-l''
~
[EOT]
| ||||||||||||||||
| 09:58:30 | Start Capturing Packets (Link0) | ||||||||||||||||
| 09:58:30 | Clear Captured Packets (Link0) | ||||||||||||||||
|
==== Creation and Transmission of Relay Reply Messages #1 ==== |
|||||||||||||||||
| 09:58:31 |
vSend(Link0,relayforward_infomationrequest_client1_to_alldhcp_send) send relayforward_infomationrequest_client1_to_alldhcp_send |
||||||||||||||||
Relay-forward Message
InformationRequest Message in Relay Message Option
|
|||||||||||||||||
| 09:58:31 | vRecv(Link0,relay_reply_nut_relay ns_nut_to_relay2_0 ns_nut_to_relay1_0 ns_nut_to_relay2_0_global_global ns_nut_to_relay1_0_global_global ns_nutga_to_any ns_nut_to_relay1_0_global ns_nut_to_any_global ns_nut_to_any_local) timeout:5 cntLimit:0 seektime:0 recv ns_nut_to_relay1_0_global_global |
||||||||||||||||
| 09:58:32 |
vSend(Link0,na_relay1_0_to_nut_global_global) send na_relay1_0_to_nut_global_global |
||||||||||||||||
| 09:58:32 | vRecv(Link0,relay_reply_nut_relay ns_nut_to_relay2_0 ns_nut_to_relay1_0 ns_nut_to_relay2_0_global_global ns_nut_to_relay1_0_global_global ns_nutga_to_any ns_nut_to_relay1_0_global ns_nut_to_any_global ns_nut_to_any_local) timeout:5 cntLimit:0 seektime:0 recv unexpect packet at 09:58:32 recv relay_reply_nut_relay |
||||||||||||||||
Relay-reply Message
Reply Message in Relay Message Option
Received DHCPv6 Relay Reply Message The Format of Relay-reply Message is correct *** Target test finish *** DHCPv6 Server stop |
|||||||||||||||||
| 09:58:32 |
vRemote(dhcp6s.rmt) ``/usr/local/v6eval//bin/freebsd-i386//dhcp6s.rmt -t freebsd-i386 -u root -p v6eval -d cuaa0 -o 1 stop ''
eval $main::rOpt_stop='1' Connected prompt_user: ``login: '', prompt_password: ``Password:'', prompt_command: ``(\$|#) '' rLogin: Wait for login prompt (0.2 sec) rLogin: Never got prompt; try again rLogin: Wait for login prompt (5 sec) NS1# rLogin: Got command prompt rLogin: Got command prompt _rCommand: Try to get command prompt (0.2 sec.) _rCommand: Try to get command prompt ( sec.) NS1# _rCommand: Do ``killall dhcp6s'' command killall dhcp6s sendMessagesSync: got echo back of killall dhcp6s rCommand: Try to get command prompt (0.2 sec) NS1# rCommand: CmdOutput=`` NS1'' echo $status 0 sendMessagesSync: got echo back of echo $status rCommand: exit status: 0 prompt_user: ``login: '', prompt_password: ``Password:'', prompt_command: ``(\$|#) '' rLogout: skip by not specifing ``-l'' ~ [EOT] | ||||||||||||||||
| 09:58:33 | Stop Capturing Packets (Link0) | ||||||||||||||||
|
Stop Link0 OK |
|||||||||||||||||
| 09:58:33 | End |
Frame_Ether (length:136) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:00:01:00:03 | | SourceAddress = 00:11:09:b0:ea:b8 | | Type = 34525 | Packet_IPv6 (length:122) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 82 | | | NextHeader = 17 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:200:ff:fe00:a4a4 | | | DestinationAddress = ff05::1:3 | | Upp_UDP (length:82) | | | Hdr_UDP (length:8) | | | | SourcePort = 547 | | | | DestinationPort = 547 | | | | Length = 82 | | | | Checksum = 12595 calc(12595) | | | Udp_DHCPv6_RelayForward (length:74) | | | | Type = 12 | | | | HopCount = 0 | | | | LinkAddr = 3ffe:501:ffff:101:200:ff:fe00:a5a5 | | | | PeerAddr = fe80::200:ff:fe00:a2a2 | | | | Opt_DHCPv6_IID (length:8) | | | | | Code = 18 | | | | | Length = 4 | | | | | Identifier = 01010101 | | | | Opt_DHCPv6_RelayMessage (length:32) | | | | | Code = 9 | | | | | Length = 28 | | | | | Udp_DHCPv6_InformationRequest (length:28) | | | | | | 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
Frame_Ether (length:86)
| Hdr_Ether (length:14)
| | DestinationAddress = 33:33:ff:00:a4:a4
| | SourceAddress = 00:11:09:b0:ea:b8
| | 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::abcd
| | | DestinationAddress = ff02::1:ff00:a4a4
| | ICMPv6_NS (length:32)
| | | Type = 135
| | | Code = 0
| | | Checksum = 784 calc(784)
| | | Reserved = 0
| | | TargetAddress = 3ffe:501:ffff:100:200:ff:fe00:a4a4
| | | Opt_ICMPv6_SLL (length:8)
| | | | Type = 1
| | | | Length = 1
| | | | LinkLayerAddress = 00:11:09:b0:ea:b8
===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_nut_to_relay2_0=================================
ng compare _HDR_IPV6_ns_nut_to_relay2_0.SourceAddress received:3ffe:501:ffff:100::abcd = fe80::211:9ff:feb0:eab8
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_relay1_0=================================
ng compare _HDR_IPV6_ns_nut_to_relay1_0.SourceAddress received:3ffe:501:ffff:100::abcd = fe80::211:9ff:feb0:eab8
ng compare _ICMPV6_ns_nut_to_relay1_0.TargetAddress received:3ffe:501:ffff:100:200:ff:fe00:a4a4 = fe80::200:ff:fe00:a4a4
===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:101:200:ff:fe00:a7a7
===ns_nut_to_relay1_0_global_global=================================
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 00:11:09:b0:ea:b8 | | 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::abcd | | ICMPv6_NA (length:32) | | | Type = 136 | | | Code = 0 | | | Checksum = 10218 calc(10218) | | | 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:86)
| Hdr_Ether (length:14)
| | DestinationAddress = 33:33:00:01:00:02
| | SourceAddress = 00:11:09:b0:ea:b8
| | Type = 34525
| Packet_IPv6 (length:72)
| | Hdr_IPv6 (length:40)
| | | Version = 6
| | | TrafficClass = 0
| | | FlowLabel = 0
| | | PayloadLength = 32
| | | NextHeader = 0
| | | HopLimit = 1
| | | SourceAddress = fe80::211:9ff:feb0:eab8
| | | DestinationAddress = ff02::1:2
| | Hdr_HopByHop (length:8)
| | | NextHeader = 58
| | | HeaderExtLength = 0
| | | Opt_PadN (length:2)
| | | | OptionType = 1
| | | | OptDataLength = 0
| | | Opt_RouterAlert (length:4)
| | | | OptionType = 5
| | | | OptDataLength = 2
| | | | Value = 0
| | ICMPv6_MLDReport (length:24)
| | | Type = 131
| | | Code = 0
| | | Checksum = 35494 calc(35494)
| | | MaxResponseDelay = 0
| | | Reserved = 0
| | | MulticastAddress = ff02::1:2
===relay_reply_nut_relay=================================
ng compare _HDR_IPV6_relay_reply_nut_relay.NextHeader received:0 = 17
ng compare _HDR_IPV6_relay_reply_nut_relay.DestinationAddress received:ff02::1:2 = oneof(v6("fe80::200:ff:fe00:a4a4"),v6("3ffe:501:ffff:100:200:ff:fe00:a4a4"))
ng meta Packet_IPv6.Upp_UDP != Packet_IPv6.Hdr_HopByHop
ng count Frame_Ether.Packet_IPv6 != Frame_Ether.Packet_IPv6
===ns_nut_to_relay2_0=================================
ng compare _HDR_IPV6_ns_nut_to_relay2_0.NextHeader received:0 = 58
ng compare _HDR_IPV6_ns_nut_to_relay2_0.HopLimit received:1 = 255
ng meta Packet_IPv6.ICMPv6_NS != Packet_IPv6.Hdr_HopByHop
ng count Frame_Ether.Packet_IPv6 != Frame_Ether.Packet_IPv6
===ns_nut_to_relay1_0=================================
ng compare _HDR_IPV6_ns_nut_to_relay1_0.NextHeader received:0 = 58
ng compare _HDR_IPV6_ns_nut_to_relay1_0.HopLimit received:1 = 255
ng meta Packet_IPv6.ICMPv6_NS != Packet_IPv6.Hdr_HopByHop
ng count Frame_Ether.Packet_IPv6 != Frame_Ether.Packet_IPv6
===ns_nut_to_relay2_0_global_global=================================
ng compare _HDR_IPV6_ns_nut_to_relay2_0_global_global.NextHeader received:0 = 58
ng compare _HDR_IPV6_ns_nut_to_relay2_0_global_global.HopLimit received:1 = 255
ng compare _HDR_IPV6_ns_nut_to_relay2_0_global_global.SourceAddress received:fe80::211:9ff:feb0:eab8 = 3ffe:501:ffff:100::abcd
ng meta Packet_IPv6.ICMPv6_NS != Packet_IPv6.Hdr_HopByHop
ng count Frame_Ether.Packet_IPv6 != Frame_Ether.Packet_IPv6
===ns_nut_to_relay1_0_global_global=================================
ng compare _HDR_IPV6_ns_nut_to_relay1_0_global_global.NextHeader received:0 = 58
ng compare _HDR_IPV6_ns_nut_to_relay1_0_global_global.HopLimit received:1 = 255
ng compare _HDR_IPV6_ns_nut_to_relay1_0_global_global.SourceAddress received:fe80::211:9ff:feb0:eab8 = 3ffe:501:ffff:100::abcd
ng meta Packet_IPv6.ICMPv6_NS != Packet_IPv6.Hdr_HopByHop
ng count Frame_Ether.Packet_IPv6 != Frame_Ether.Packet_IPv6
===ns_nutga_to_any=================================
ng compare _HDR_IPV6_ns_nutga_to_any.NextHeader received:0 = 58
ng compare _HDR_IPV6_ns_nutga_to_any.HopLimit received:1 = 255
ng compare _HDR_IPV6_ns_nutga_to_any.SourceAddress received:fe80::211:9ff:feb0:eab8 = 3ffe:501:ffff:100::abcd
ng meta Packet_IPv6.ICMPv6_NS != Packet_IPv6.Hdr_HopByHop
ng count Frame_Ether.Packet_IPv6 != Frame_Ether.Packet_IPv6
===ns_nut_to_relay1_0_global=================================
ng compare _HDR_IPV6_ns_nut_to_relay1_0_global.NextHeader received:0 = 58
ng compare _HDR_IPV6_ns_nut_to_relay1_0_global.HopLimit received:1 = 255
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::211:9ff:feb0:eab8 = 3ffe:501:ffff:100::abcd
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:168) | Hdr_Ether (length:14) | | DestinationAddress = 00:00:00:00:a4:a4 | | SourceAddress = 00:11:09:b0:ea:b8 | | Type = 34525 | Packet_IPv6 (length:154) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 114 | | | NextHeader = 17 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100::abcd | | | DestinationAddress = 3ffe:501:ffff:100:200:ff:fe00:a4a4 | | Upp_UDP (length:114) | | | Hdr_UDP (length:8) | | | | SourcePort = 49573 | | | | DestinationPort = 547 | | | | Length = 114 | | | | Checksum = 63799 calc(63799) | | | Udp_DHCPv6_RelayReply (length:106) | | | | Type = 13 | | | | HopCount = 0 | | | | LinkAddr = 3ffe:501:ffff:101:200:ff:fe00:a5a5 | | | | 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 = 194660377 | | | | | | | | LinkLayerAddress = 00:11:09:b0:ea:b8 | | | | | | Opt_DHCPv6_DNS_Servers (length:20) | | | | | | | Code = 23 | | | | | | | Length = 16 | | | | | | | Address = 3ffe::10 | | | | Opt_DHCPv6_IID (length:8) | | | | | Code = 18 | | | | | Length = 4 | | | | | Identifier = 01010101 ===relay_reply_nut_relay=================================