Test Infomation

TitleRA set IsRouter flag
CommandLine./hostRecvRaRFlag.seq -pkt ./hostRecvRaRFlag.def -log 31.html -ti RA set IsRouter flag
TestVersionREL_1_1
ToolVersionREL_1_1
Start2000/07/31 13:57:35
Tn.//tn.def
Nu/usr/local/v6eval//etc//nut.def
Pkt./hostRecvRaRFlag.def
Systemkame-freebsd
TargetNameFreeBSD-3.4 Release + KAME-stable-20000704
HostNametarget1.toba.tahi.org
Typehost

Test Sequence Execution Log

13:57:35Start
13:57:35Start Capturing Packets (Link0)


*** w/o SLL ***

Termination
13:57:35 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
13:57:35 vSend(Link0,nd_echo_request)
Send echo-request
13:57:35 vRecv(Link0,nd_multicast_ns nd_dad_ns) timeout:4 cntLimit:1 seektime:965019455.644960
Got multicast NS, then INCOMPLETE state

Target: INCOMPLETE state
13:57:35 vSend(Link0,nd_unicast_na_rSO_tll)
Send unicast NA(rSO) w/ TLL
13:57:35 vRecv(Link0,nd_multicast_ns nd_echo_reply) timeout:2 cntLimit:1 seektime:965019455.965682
Got echo-reply, then REACHABLE state

Target: REACHABLE state
13:57:36 Wait 1 second
13:57:37Clear Captured Packets (Link0)
13:57:37 vSend(Link0,ra_x2allnode_sll)
Send RA (X ==>all-nodes) to be in STALE state
13:57:37 vSend(Link0,unicast_na_x2nut_RSO_tll)
Send NA (X ==> NUT) to be in REACHABLE state

Wait fro DAD NS
13:57:37 vRecv(Link0,) timeout:2 cntLimit:0 seektime:0
recv unexpect packet at 13:57:37
vRecv() return status=1
13:57:39 vSend(Link0,offlink_echo_request_x2nut)
Forward off-link echo-request (X ==> NUT)
13:57:39 vRecv(Link0,offlink_echo_reply_nut2x) timeout:2 cntLimit:1 seektime:965019459.376933
Got off-link echo-reply (NUT ==> X)


Test
13:57:39 vSend(Link0,ra_tn2allnode)
Send RA w/o SLL to set the IsRouter flag
13:57:39 Wait 10 second

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

The IsRouter flag of TN is TURE
OK

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

Termination
13:57:49 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
13:57:49 vSend(Link0,nd_echo_request)
Send echo-request
13:57:49 vRecv(Link0,nd_multicast_ns nd_dad_ns) timeout:4 cntLimit:1 seektime:965019469.890949
Got multicast NS, then INCOMPLETE state

Target: INCOMPLETE state
13:57:50 vSend(Link0,nd_unicast_na_rSO_tll)
Send unicast NA(rSO) w/ TLL
13:57:50 vRecv(Link0,nd_multicast_ns nd_echo_reply) timeout:2 cntLimit:1 seektime:965019470.960082
Got echo-reply, then REACHABLE state

Target: REACHABLE state
13:57:51 Wait 1 second
13:57:52Clear Captured Packets (Link0)
13:57:52 vSend(Link0,ra_x2allnode_sll)
Send RA (X ==>all-nodes) to be in STALE state
13:57:52 vSend(Link0,unicast_na_x2nut_RSO_tll)
Send NA (X ==> NUT) to be in REACHABLE state

Wait fro DAD NS
13:57:52 vRecv(Link0,) timeout:2 cntLimit:0 seektime:0
vRecv() return status=1
13:57:54 vSend(Link0,offlink_echo_request_x2nut)
Forward off-link echo-request (X ==> NUT)
13:57:54 vRecv(Link0,offlink_echo_reply_nut2x) timeout:2 cntLimit:1 seektime:965019474.353860
Got off-link echo-reply (NUT ==> X)


Test
13:57:54 vSend(Link0,ra_tn2allnode_sll)
Send RA w/ SLL to set the IsRouter flag
13:57:54 Wait 10 second

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

The IsRouter flag of TN is TURE
OK

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

Termination
13:58:04 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
13:58:04 vSend(Link0,nd_echo_request_from_z)
Send echo-request
13:58:04 vRecv(Link0,nd_multicast_ns_to_z nd_dad_ns) timeout:4 cntLimit:1 seektime:965019484.873717
Got multicast NS, then INCOMPLETE state

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

Target: REACHABLE state
13:58:06 Wait 1 second
13:58:07Clear Captured Packets (Link0)
13:58:07 vSend(Link0,ra_x2allnode_sll)
Send RA (X ==>all-nodes) to be in STALE state
13:58:07 vSend(Link0,unicast_na_x2nut_RSO_tll)
Send NA (X ==> NUT) to be in REACHABLE state

Wait fro DAD NS
13:58:07 vRecv(Link0,) timeout:2 cntLimit:0 seektime:0
vRecv() return status=1
13:58:09 vSend(Link0,offlink_echo_request_x2nut)
Forward off-link echo-request (X ==> NUT)
13:58:09 vRecv(Link0,offlink_echo_reply_nut2x) timeout:2 cntLimit:1 seektime:965019489.364306
Got off-link echo-reply (NUT ==> X)


Test
13:58:09 vSend(Link0,ra_tn2allnode_sll)
Send RA w/ SLL to set the IsRouter flag
13:58:09 Wait 10 second

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

The IsRouter flag of TN is TURE
Wait for unicast NS if any
13:58:19 vRecv(Link0,) timeout:10 cntLimit:0 seektime:0
recv unexpect packet at 13:58:24
recv unexpect packet at 13:58:25
recv unexpect packet at 13:58:26
vRecv() return status=1

OK

Termination
13:58: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


*** 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 ***
13:58:29End

Packet Reverse Log