| Title | Creation and Transmission of Relay-reply Messages include Advertise Message |
| CommandLine | ./S_RFC3315_17.2.2_Creation-TransmissionOfAdvertiseMsgIfRelayReply.seq -pkt ./S_RFC3315_17.2.2_Creation-TransmissionOfAdvertiseMsgIfRelayReply.def -log 63.html -ti Creation and Transmission of Relay-reply Messages include Advertise Message |
| TestVersion | DHCPv6_1_0 |
| ToolVersion | REL_3_0_8 |
| Start | 2006/03/30 09:38:41 |
| Tn | /usr/local/v6eval//etc//tn.def |
| Nu | /usr/local/v6eval//etc//nut.def |
| Pkt | ./S_RFC3315_17.2.2_Creation-TransmissionOfAdvertiseMsgIfRelayReply.def |
| System | freebsd-i386 |
| TargetName | FreeBSD 5.4-RELEASE-p7 |
| HostName | NS1.example.com |
| Type | host |
| 09:38:42 | Start | ||||||||||||
|
==== NUT Initialization ==== vRemote("dhcp6s.rmt", "start","link0=bfe0","startaddr=3ffe:501:ffff:101::10","endaddr=3ffe:501:ffff:101::11") |
|||||||||||||
| 09:38:42 |
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 startaddr=3ffe:501:ffff:101::10 endaddr=3ffe:501:ffff:101::11''
eval $main::rOpt_start='1'
eval $main::rOpt_link0='bfe0'
eval $main::rOpt_startaddr='3ffe:501:ffff:101::10'
eval $main::rOpt_endaddr='3ffe:501:ffff:101::11'
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
#;
#;
#;
#;
#;
#;
interface bfe0 {
#;
#;
};
host TN{
duid 00:01:00:01:00:04:93:e0:00:00:00:00:a2:a2;
#;
address 3ffe:501:ffff:101::10 10000 20000;
#;
};
#
#;
#;
#;
#;
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.)
_rCommand: Try to get command prompt ( sec.)
NS1# _rCommand: Do ``killall dhcp6s'' command
killall dhcp6ssendMessagesSync: 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:38:54 | Start Capturing Packets (Link0) | ||||||||||||
| 09:38:54 | Clear Captured Packets (Link0) | ||||||||||||
|
==== Creation and Transmission of Relay Reply Messages #1 ==== |
|||||||||||||
| 09:38:54 |
vSend(Link0,relayforward_solicit_client1_to_alldhcp) Send DHCPv6 Reley Forward Message(Solicit): RELAY1 --> NUT |
||||||||||||
Relay-forward Message
Solicit Message in Relay Message Option
|
|||||||||||||
| 09:38:55 | 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:38:55 |
vSend(Link0,na_relay1_0_to_nut_global_global) send na_relay1_0_to_nut_global_global |
||||||||||||
| 09:38:56 | 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 relay_reply_nut_relay |
||||||||||||
Relay-reply Message
Advertise Message in Relay Message Option
Received DHCPv6 Relay Reply Message Checking Options... Checking Opt_DHCPv6_IID Opt_DHCPv6_IID not found NG: The expected Interface-id option can not be found. DHCPv6 Server stop |
|||||||||||||
| 09:38:56 |
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 dhcp6ssendMessagesSync: 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:38:57 | Stop Capturing Packets (Link0) | ||||||||||||
|
Stop Link0 |
|||||||||||||
| 09:38:57 | End |
Frame_Ether (length:130) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:00:01:00:03 | | SourceAddress = 00:00:00:00:a4:a4 | | Type = 34525 | Packet_IPv6 (length:116) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 76 | | | NextHeader = 17 | | | HopLimit = 32 | | | SourceAddress = 3ffe:501:ffff:100:200:ff:fe00:a4a4 | | | DestinationAddress = ff05::1:3 | | Upp_UDP (length:76) | | | Hdr_UDP (length:8) | | | | SourcePort = 547 | | | | DestinationPort = 547 | | | | Length = 76 | | | | Checksum = 15198 calc(15198) | | | Udp_DHCPv6_RelayForward (length:68) | | | | Type = 12 | | | | HopCount = 0 | | | | LinkAddr = 3ffe:501:ffff:101:200:ff:fe00:a5a5 | | | | PeerAddr = fe80::200:ff:fe00:a2a2 | | | | Opt_DHCPv6_RelayMessage (length:34) | | | | | Code = 9 | | | | | Length = 30 | | | | | Udp_DHCPv6_Solicit (length:30) | | | | | | 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_IID (length:8) | | | | | | | Code = 18 | | | | | | | Length = 4 | | | | | | | Identifier = 01010101
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:140) | Hdr_Ether (length:14) | | DestinationAddress = 00:00:00:00:a4:a4 | | SourceAddress = 00:11:09:b0:ea:b8 | | Type = 34525 | Packet_IPv6 (length:126) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 86 | | | NextHeader = 17 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100::abcd | | | DestinationAddress = 3ffe:501:ffff:100:200:ff:fe00:a4a4 | | Upp_UDP (length:86) | | | Hdr_UDP (length:8) | | | | SourcePort = 49522 | | | | DestinationPort = 547 | | | | Length = 86 | | | | Checksum = 16646 calc(16646) | | | Udp_DHCPv6_RelayReply (length:78) | | | | Type = 13 | | | | HopCount = 0 | | | | LinkAddr = 3ffe:501:ffff:101:200:ff:fe00:a5a5 | | | | PeerAddr = fe80::200:ff:fe00:a2a2 | | | | Opt_DHCPv6_RelayMessage (length:44) | | | | | Code = 9 | | | | | Length = 40 | | | | | Udp_DHCPv6_Advertise (length:40) | | | | | | 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 = 194660377 | | | | | | | | LinkLayerAddress = 00:11:09:b0:ea:b8 ===relay_reply_nut_relay=================================