Test Information

TitleRA set IsRouter flag
CommandLine./hostRecvRaRFlag.seq -pkt ./hostRecvRaRFlag.def -log 31.html -ti RA set IsRouter flag
TestVersionREL_2_1_1
ToolVersionREL_3_3_2
Start2011/10/24 01:00:15
Tn.//tn.def
Nu/usr/local/v6eval//etc//nut.def
Pkt./hostRecvRaRFlag.def
Systemfreebsd-i386
TargetNamefreebsd-head
HostNameipv6-conf
Typehost

Test Sequence Execution Log

01:00:16Start
01:00:16Start Capturing Packets (Link0)


*** w/o SLL ***

Termination
01:00:16 vSend(Link0,ra_x2allnode_clrrtr ra_tn2allnode_clrrtr)
Clear Router X from the Default Router list
Clear Router TN from the Default Router list


Initialization
New LLA of TN: 00:00:00:00:01:92
01:00:16 vSend(Link0,nd_echo_request)
Send echo-request
01:00:16 vRecv(Link0,nd_multicast_ns nd_dad_ns) timeout:4 cntLimit:1 seektime:1319443216.116921
Got multicast NS, then INCOMPLETE state

Target: INCOMPLETE state
01:00:16 vSend(Link0,nd_unicast_na_rSO_tll)
Send unicast NA(rSO) w/ TLL
01:00:16 vRecv(Link0,nd_multicast_ns nd_echo_reply) timeout:2 cntLimit:1 seektime:1319443216.161500
Got echo-reply, then REACHABLE state

Target: REACHABLE state
01:00:16 Wait 1 second
01:00:17Clear Captured Packets (Link0)
01:00:17 vSend(Link0,ra_x2allnode_sll)
Send RA (X ==>all-nodes) to be in STALE state
01:00:17 vSend(Link0,unicast_na_x2nut_RSO_tll)
Send NA (X ==> NUT) to be in REACHABLE state

Wait fro DAD NS
01:00:17 vRecv(Link0,) timeout:2 cntLimit:0 seektime:0
recv a packet at 01:00:18
vRecv() return status=1
01:00:19 vSend(Link0,offlink_echo_request_x2nut)
Forward off-link echo-request (X ==> NUT)
01:00:19 vRecv(Link0,offlink_echo_reply_nut2x) timeout:2 cntLimit:1 seektime:1319443219.276417
Got off-link echo-reply (NUT ==> X)


Test
01:00:19 vSend(Link0,ra_tn2allnode)
Send RA w/o SLL to set the IsRouter flag
01:00:19 Wait 10 second

The router lifetime of X was expired
01:00:29 vSend(Link0,offlink_echo_request_tn2nut)
Forward off-link echo-request (TN ==> NUT)
01:00:29 vRecv(Link0,offlink_echo_reply_nut2tn) timeout:2 cntLimit:1 seektime:1319443229.363105
Got off-link echo-reply (NUT ==> TN)

The IsRouter flag of TN is TRUE
OK

*** w/ SLL, same LLA as cached ***

Termination
01:00:29 vSend(Link0,ra_x2allnode_clrrtr ra_tn2allnode_clrrtr)
Clear Router X from the Default Router list
Clear Router TN from the Default Router list


Initialization
New LLA of TN: 00:00:00:00:01:93
01:00:29 vSend(Link0,nd_echo_request)
Send echo-request
01:00:29 vRecv(Link0,nd_multicast_ns nd_dad_ns) timeout:4 cntLimit:1 seektime:1319443229.433029
Got multicast NS, then INCOMPLETE state

Target: INCOMPLETE state
01:00:29 vSend(Link0,nd_unicast_na_rSO_tll)
Send unicast NA(rSO) w/ TLL
01:00:29 vRecv(Link0,nd_multicast_ns nd_echo_reply) timeout:2 cntLimit:1 seektime:1319443229.477733
Got echo-reply, then REACHABLE state

Target: REACHABLE state
01:00:29 Wait 1 second
01:00:30Clear Captured Packets (Link0)
01:00:30 vSend(Link0,ra_x2allnode_sll)
Send RA (X ==>all-nodes) to be in STALE state
01:00:30 vSend(Link0,unicast_na_x2nut_RSO_tll)
Send NA (X ==> NUT) to be in REACHABLE state

Wait fro DAD NS
01:00:30 vRecv(Link0,) timeout:2 cntLimit:0 seektime:0
vRecv() return status=1
01:00:32 vSend(Link0,offlink_echo_request_x2nut)
Forward off-link echo-request (X ==> NUT)
01:00:32 vRecv(Link0,offlink_echo_reply_nut2x) timeout:2 cntLimit:1 seektime:1319443232.591797
Got off-link echo-reply (NUT ==> X)


Test
01:00:32 vSend(Link0,ra_tn2allnode_sll)
Send RA w/ SLL to set the IsRouter flag
01:00:32 Wait 10 second

The router lifetime of X was expired
01:00:42 vSend(Link0,offlink_echo_request_tn2nut)
Forward off-link echo-request (TN ==> NUT)
01:00:42 vRecv(Link0,offlink_echo_reply_nut2tn) timeout:2 cntLimit:1 seektime:1319443242.679048
Got off-link echo-reply (NUT ==> TN)

The IsRouter flag of TN is TRUE
OK

*** RA w/ SLL, different LLA than cached ***

Termination
01:00:42 vSend(Link0,ra_x2allnode_clrrtr ra_tn2allnode_clrrtr)
Clear Router X from the Default Router list
Clear Router TN from the Default Router list


Initialization
New LLA of TN: 00:00:00:00:01:94
01:00:42 vSend(Link0,nd_echo_request_from_z)
Send echo-request
01:00:42 vRecv(Link0,nd_multicast_ns_to_z nd_dad_ns) timeout:4 cntLimit:1 seektime:1319443242.749474
Got multicast NS, then INCOMPLETE state

Target: INCOMPLETE state
01:00:42 vSend(Link0,nd_unicast_na_rSO_tll_from_z)
Send unicast NA(rSO) w/ TLL(but diff. LLA)
01:00:42 vRecv(Link0,nd_multicast_ns_to_z nd_echo_reply_to_z) timeout:2 cntLimit:1 seektime:1319443242.794540
Got echo-reply, then REACHABLE state

Target: REACHABLE state
01:00:42 Wait 1 second
01:00:43Clear Captured Packets (Link0)
01:00:43 vSend(Link0,ra_x2allnode_sll)
Send RA (X ==>all-nodes) to be in STALE state
01:00:43 vSend(Link0,unicast_na_x2nut_RSO_tll)
Send NA (X ==> NUT) to be in REACHABLE state

Wait fro DAD NS
01:00:43 vRecv(Link0,) timeout:2 cntLimit:0 seektime:0
vRecv() return status=1
01:00:45 vSend(Link0,offlink_echo_request_x2nut)
Forward off-link echo-request (X ==> NUT)
01:00:45 vRecv(Link0,offlink_echo_reply_nut2x) timeout:2 cntLimit:1 seektime:1319443245.909192
Got off-link echo-reply (NUT ==> X)


Test
01:00:45 vSend(Link0,ra_tn2allnode_sll)
Send RA w/ SLL to set the IsRouter flag
01:00:45 Wait 10 second

The router lifetime of X was expired
01:00:55 vSend(Link0,offlink_echo_request_tn2nut)
Forward off-link echo-request (TN ==> NUT)
01:00:56 vRecv(Link0,offlink_echo_reply_nut2tn) timeout:2 cntLimit:1 seektime:1319443255.997199
Got off-link echo-reply (NUT ==> TN)

The IsRouter flag of TN is TRUE
Wait for unicast NS if any
01:00:56 vRecv(Link0,) timeout:10 cntLimit:0 seektime:0
recv a packet at 01:01:00
recv a packet at 01:01:01
recv a packet at 01:01:02
vRecv() return status=1

OK

Termination
01:01:06 vSend(Link0,ra_x2allnode_clrrtr ra_tn2allnode_clrrtr)
Clear Router X from the Default Router list
Clear Router TN from the Default Router list


*** Test Summary: Does RA set IsRouter flag ? ***
P/FPTNEXPRESULTJDG

w/o SLLexp:updatedresult:updatedPASS

w/ SLL, same LLA as cachedexp:updatedresult:updatedPASS

RA w/ SLL, different LLA than cachedexp:updatedresult:updatedPASS
*** EOT ***
01:01:06End

Packet Reverse Log