| Title | Server/Relay agent (Relay-reply) Message Format |
| CommandLine | ./S_RFC3315_7_Relay-replyMsgFormat.seq -pkt ./S_RFC3315_7_Relay-replyMsgFormat.def -log 4.html -ti Server/Relay agent (Relay-reply) Message Format |
| TestVersion | DHCPv6_1_0 |
| ToolVersion | REL_3_0_8 |
| Start | 2006/03/30 09:17:32 |
| Tn | /usr/local/v6eval//etc//tn.def |
| Nu | /usr/local/v6eval//etc//nut.def |
| Pkt | ./S_RFC3315_7_Relay-replyMsgFormat.def |
| System | freebsd-i386 |
| TargetName | FreeBSD 5.4-RELEASE-p7 |
| HostName | NS1.example.com |
| Type | host |
| 09:17:33 | Start | ||||||||||||||
|
==== NUT Initialization ==== vRemote("dhcp6s.rmt", "start","link0=bfe0","startaddr=3ffe:501:ffff:101::10","endaddr=3ffe:501:ffff:101::11","valduid=00:01:00:01:00:04:93:e0:00:00:00:00:a2:a2") |
|||||||||||||||
| 09:17:33 |
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 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_startaddr='3ffe:501:ffff:101::10'
eval $main::rOpt_endaddr='3ffe:501:ffff:101::11'
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
#;
#;
#;
#;
#;
#;
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.)
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
sendMessagesSync: got echo back of echo $status
1
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
sendMessagesSync: got echo back of echo $status
0
rCommand: exit status: 0
prompt_user: ``login: '', prompt_password: ``Password:'', prompt_command: ``(\$|#) ''
rLogout: skip by not specifing ``-l''
~
[EOT]
| ||||||||||||||
| 09:17:45 | Start Capturing Packets (Link0) | ||||||||||||||
| 09:17:45 | Clear Captured Packets (Link0) | ||||||||||||||
| 09:17:45 |
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:17:46 | 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:17:46 |
vSend(Link0,na_relay1_0_to_nut_global_global) send na_relay1_0_to_nut_global_global |
||||||||||||||
| 09:17:47 | 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 The Format of Relay-reply Message is correct *** Target test finish *** DHCPv6 Server stop |
|||||||||||||||
| 09:17:47 |
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 sendMessagesSync: got echo back of echo $status 0 rCommand: exit status: 0 prompt_user: ``login: '', prompt_password: ``Password:'', prompt_command: ``(\$|#) '' rLogout: skip by not specifing ``-l'' ~ [EOT] | ||||||||||||||
| 09:17:48 | Stop Capturing Packets (Link0) | ||||||||||||||
|
Stop Link0 OK |
|||||||||||||||
| 09:17:48 | End |
Frame_Ether (length:138) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:00:01:00:03 | | SourceAddress = 00:00:00:00:a4:a4 | | Type = 34525 | Packet_IPv6 (length:124) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 84 | | | NextHeader = 17 | | | HopLimit = 32 | | | SourceAddress = 3ffe:501:ffff:100:200:ff:fe00:a4a4 | | | DestinationAddress = ff05::1:3 | | Upp_UDP (length:84) | | | Hdr_UDP (length:8) | | | | SourcePort = 547 | | | | DestinationPort = 547 | | | | Length = 84 | | | | Checksum = 36755 calc(36755) | | | Udp_DHCPv6_RelayForward (length:76) | | | | Type = 12 | | | | HopCount = 0 | | | | LinkAddr = 3ffe:501:ffff:101:200:ff:fe00:a5a5 | | | | PeerAddr = fe80::200:ff:fe00:a2a2 | | | | Opt_DHCPv6_RelayMessage (length:42) | | | | | Code = 9 | | | | | Length = 38 | | | | | Udp_DHCPv6_Solicit (length:38) | | | | | | 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 = 4000 | | | | | | | Time2 = 5000
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:184) | Hdr_Ether (length:14) | | DestinationAddress = 00:00:00:00:a4:a4 | | SourceAddress = 00:11:09:b0:ea:b8 | | Type = 34525 | Packet_IPv6 (length:170) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 130 | | | NextHeader = 17 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100::abcd | | | DestinationAddress = 3ffe:501:ffff:100:200:ff:fe00:a4a4 | | Upp_UDP (length:130) | | | Hdr_UDP (length:8) | | | | SourcePort = 49478 | | | | DestinationPort = 547 | | | | Length = 130 | | | | Checksum = 51145 calc(51145) | | | 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 = 194660377 | | | | | | | | LinkLayerAddress = 00:11:09:b0:ea:b8 | | | | | | 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=================================