| Title | Interface-Id Option |
| CommandLine | ./S_RFC3315_22.18_InterfaceIDOP.seq -pkt ./S_RFC3315_22.18_InterfaceIDOP.def -log 110.html -ti Interface-Id Option |
| TestVersion | DHCPv6_1_0 |
| ToolVersion | REL_3_0_8 |
| Start | 2006/03/30 09:54:33 |
| Tn | /usr/local/v6eval//etc//tn.def |
| Nu | /usr/local/v6eval//etc//nut.def |
| Pkt | ./S_RFC3315_22.18_InterfaceIDOP.def |
| System | freebsd-i386 |
| TargetName | FreeBSD 5.4-RELEASE-p7 |
| HostName | NS1.example.com |
| Type | host |
| 09:54: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:54: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
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:54:45 | Start Capturing Packets (Link0) | ||||||||||||||||
| 09:54:45 | Clear Captured Packets (Link0) | ||||||||||||||||
|
==== Creation and Transmission of Relay Reply Messages #1 ==== |
|||||||||||||||||
| 09:54:45 |
vSend(Link0,relayforward_solicit_client1_to_alldhcp_interfaceid) send relayforward_solicit_client1_to_alldhcp_interfaceid |
||||||||||||||||
Relay-forward Message
Solicit Message in Relay Message Option
|
|||||||||||||||||
| 09:54: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 relay_reply_nut_relay |
||||||||||||||||
Relay-reply Message
Advertise Message in Relay Message Option
Received DHCPv6 Relay Reply Message Comparing Opt_DHCPv6_IID Code matched.:18 == 18 Length matched.:4 == 4 Identifier matched.:01010101 == 01010101 The Format of Interface ID is correct *** Target test finish *** DHCPv6 Server stop |
|||||||||||||||||
| 09:54:46 |
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:54:47 | Stop Capturing Packets (Link0) | ||||||||||||||||
|
Stop Link0 OK |
|||||||||||||||||
| 09:54:47 | End |
Frame_Ether (length:146) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:00:01:00:03 | | SourceAddress = 00:00:00:00:a4:a4 | | Type = 34525 | Packet_IPv6 (length:132) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 92 | | | NextHeader = 17 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:200:ff:fe00:a4a4 | | | DestinationAddress = ff05::1:3 | | Upp_UDP (length:92) | | | Hdr_UDP (length:8) | | | | SourcePort = 547 | | | | DestinationPort = 547 | | | | Length = 92 | | | | Checksum = 36203 calc(36203) | | | Udp_DHCPv6_RelayForward (length:84) | | | | 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 | | | | Opt_DHCPv6_IID (length:8) | | | | | Code = 18 | | | | | Length = 4 | | | | | Identifier = 01010101
Frame_Ether (length:192) | Hdr_Ether (length:14) | | DestinationAddress = 00:00:00:00:a4:a4 | | SourceAddress = 00:11:09:b0:ea:b8 | | Type = 34525 | Packet_IPv6 (length:178) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 138 | | | NextHeader = 17 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100::abcd | | | DestinationAddress = 3ffe:501:ffff:100:200:ff:fe00:a4a4 | | Upp_UDP (length:138) | | | Hdr_UDP (length:8) | | | | SourcePort = 49566 | | | | DestinationPort = 547 | | | | Length = 138 | | | | Checksum = 50505 calc(50505) | | | Udp_DHCPv6_RelayReply (length:130) | | | | 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 | | | | Opt_DHCPv6_IID (length:8) | | | | | Code = 18 | | | | | Length = 4 | | | | | Identifier = 01010101 ===relay_reply_nut_relay=================================